From ab336f28323f9389ecf372b43fdc04a2807e343b Mon Sep 17 00:00:00 2001 From: Florian Bernd Date: Wed, 16 Oct 2024 14:23:35 +0200 Subject: [PATCH] Improve serializer --- ...ic.Clients.Elasticsearch.Serverless.csproj | 4 +- .../AsyncSearch/AsyncSearchStatusRequest.g.cs | 1 + .../AsyncSearch/DeleteAsyncSearchRequest.g.cs | 1 + .../AsyncSearch/GetAsyncSearchRequest.g.cs | 1 + .../AsyncSearch/SubmitAsyncSearchRequest.g.cs | 1 + .../_Generated/Api/BulkRequest.g.cs | 1 + .../_Generated/Api/ClearScrollRequest.g.cs | 1 + .../Api/ClosePointInTimeRequest.g.cs | 1 + .../Api/Cluster/AllocationExplainRequest.g.cs | 1 + .../Api/Cluster/ClusterInfoRequest.g.cs | 1 + .../Api/Cluster/ClusterStatsRequest.g.cs | 1 + .../DeleteComponentTemplateRequest.g.cs | 1 + .../ExistsComponentTemplateRequest.g.cs | 1 + .../Cluster/GetClusterSettingsRequest.g.cs | 1 + .../Cluster/GetComponentTemplateRequest.g.cs | 1 + .../_Generated/Api/Cluster/HealthRequest.g.cs | 1 + .../Api/Cluster/PendingTasksRequest.g.cs | 1 + .../Cluster/PutComponentTemplateRequest.g.cs | 1 + .../_Generated/Api/CountRequest.g.cs | 1 + .../_Generated/Api/CreateRequest.g.cs | 5 +- .../_Generated/Api/DeleteByQueryRequest.g.cs | 1 + .../Api/DeleteByQueryRethrottleRequest.g.cs | 1 + .../_Generated/Api/DeleteRequest.g.cs | 1 + .../_Generated/Api/DeleteScriptRequest.g.cs | 1 + .../Api/Enrich/DeletePolicyRequest.g.cs | 1 + .../Api/Enrich/EnrichStatsRequest.g.cs | 1 + .../Api/Enrich/ExecutePolicyRequest.g.cs | 1 + .../Api/Enrich/GetPolicyRequest.g.cs | 1 + .../Api/Enrich/PutPolicyRequest.g.cs | 1 + .../_Generated/Api/Eql/EqlDeleteRequest.g.cs | 1 + .../_Generated/Api/Eql/EqlGetRequest.g.cs | 1 + .../_Generated/Api/Eql/EqlSearchRequest.g.cs | 1 + .../Api/Eql/GetEqlStatusRequest.g.cs | 1 + .../_Generated/Api/Esql/EsqlQueryRequest.g.cs | 1 + .../_Generated/Api/ExistsRequest.g.cs | 1 + .../_Generated/Api/ExistsSourceRequest.g.cs | 1 + .../_Generated/Api/ExplainRequest.g.cs | 1 + .../_Generated/Api/FieldCapsRequest.g.cs | 1 + .../_Generated/Api/GetRequest.g.cs | 1 + .../_Generated/Api/GetScriptRequest.g.cs | 1 + .../_Generated/Api/GetSourceRequest.g.cs | 1 + .../_Generated/Api/Graph/ExploreRequest.g.cs | 1 + .../_Generated/Api/HealthReportRequest.g.cs | 1 + .../IndexManagement/AnalyzeIndexRequest.g.cs | 1 + .../IndexManagement/ClearCacheRequest.g.cs | 1 + .../IndexManagement/CloseIndexRequest.g.cs | 1 + .../CreateDataStreamRequest.g.cs | 1 + .../IndexManagement/CreateIndexRequest.g.cs | 1 + .../DataStreamsStatsRequest.g.cs | 1 + .../IndexManagement/DeleteAliasRequest.g.cs | 1 + .../DeleteDataLifecycleRequest.g.cs | 1 + .../DeleteDataStreamRequest.g.cs | 1 + .../IndexManagement/DeleteIndexRequest.g.cs | 1 + .../DeleteIndexTemplateRequest.g.cs | 1 + .../IndexManagement/ExistsAliasRequest.g.cs | 1 + .../ExistsIndexTemplateRequest.g.cs | 1 + .../Api/IndexManagement/ExistsRequest.g.cs | 1 + .../ExplainDataLifecycleRequest.g.cs | 1 + .../Api/IndexManagement/FlushRequest.g.cs | 1 + .../IndexManagement/ForcemergeRequest.g.cs | 1 + .../Api/IndexManagement/GetAliasRequest.g.cs | 1 + .../GetDataLifecycleRequest.g.cs | 1 + .../IndexManagement/GetDataStreamRequest.g.cs | 1 + .../Api/IndexManagement/GetIndexRequest.g.cs | 1 + .../GetIndexTemplateRequest.g.cs | 1 + .../GetIndicesSettingsRequest.g.cs | 1 + .../IndexManagement/GetMappingRequest.g.cs | 1 + .../IndexManagement/IndicesStatsRequest.g.cs | 1 + .../MigrateToDataStreamRequest.g.cs | 1 + .../ModifyDataStreamRequest.g.cs | 1 + .../Api/IndexManagement/OpenIndexRequest.g.cs | 1 + .../Api/IndexManagement/PutAliasRequest.g.cs | 1 + .../PutDataLifecycleRequest.g.cs | 1 + .../PutIndexTemplateRequest.g.cs | 1 + .../PutIndicesSettingsRequest.g.cs | 1 + .../IndexManagement/PutMappingRequest.g.cs | 1 + .../Api/IndexManagement/RecoveryRequest.g.cs | 1 + .../Api/IndexManagement/RefreshRequest.g.cs | 1 + .../IndexManagement/ResolveIndexRequest.g.cs | 1 + .../Api/IndexManagement/RolloverRequest.g.cs | 1 + .../Api/IndexManagement/SegmentsRequest.g.cs | 1 + .../SimulateIndexTemplateRequest.g.cs | 1 + .../SimulateTemplateRequest.g.cs | 1 + .../IndexManagement/UpdateAliasesRequest.g.cs | 1 + .../IndexManagement/ValidateQueryRequest.g.cs | 1 + .../_Generated/Api/IndexRequest.g.cs | 5 +- .../_Generated/Api/InfoRequest.g.cs | 1 + .../Ingest/DeleteGeoipDatabaseRequest.g.cs | 1 + .../Api/Ingest/DeletePipelineRequest.g.cs | 1 + .../Api/Ingest/GeoIpStatsRequest.g.cs | 1 + .../Api/Ingest/GetGeoipDatabaseRequest.g.cs | 1 + .../Api/Ingest/GetPipelineRequest.g.cs | 1 + .../Api/Ingest/ProcessorGrokRequest.g.cs | 1 + .../Api/Ingest/PutGeoipDatabaseRequest.g.cs | 1 + .../Api/Ingest/PutPipelineRequest.g.cs | 1 + .../Api/Ingest/SimulateRequest.g.cs | 1 + .../LicenseManagement/GetLicenseRequest.g.cs | 1 + ...earTrainedModelDeploymentCacheRequest.g.cs | 1 + .../Api/MachineLearning/CloseJobRequest.g.cs | 1 + .../DeleteCalendarEventRequest.g.cs | 1 + .../DeleteCalendarJobRequest.g.cs | 1 + .../DeleteCalendarRequest.g.cs | 1 + .../DeleteDataFrameAnalyticsRequest.g.cs | 1 + .../DeleteDatafeedRequest.g.cs | 1 + .../DeleteExpiredDataRequest.g.cs | 1 + .../MachineLearning/DeleteFilterRequest.g.cs | 1 + .../DeleteForecastRequest.g.cs | 1 + .../Api/MachineLearning/DeleteJobRequest.g.cs | 1 + .../DeleteModelSnapshotRequest.g.cs | 1 + .../DeleteTrainedModelAliasRequest.g.cs | 1 + .../DeleteTrainedModelRequest.g.cs | 1 + .../EstimateModelMemoryRequest.g.cs | 1 + .../EvaluateDataFrameRequest.g.cs | 1 + .../ExplainDataFrameAnalyticsRequest.g.cs | 1 + .../Api/MachineLearning/FlushJobRequest.g.cs | 1 + .../Api/MachineLearning/ForecastRequest.g.cs | 1 + .../MachineLearning/GetBucketsRequest.g.cs | 1 + .../GetCalendarEventsRequest.g.cs | 1 + .../MachineLearning/GetCalendarsRequest.g.cs | 1 + .../MachineLearning/GetCategoriesRequest.g.cs | 1 + .../GetDataFrameAnalyticsRequest.g.cs | 1 + .../GetDataFrameAnalyticsStatsRequest.g.cs | 1 + .../GetDatafeedStatsRequest.g.cs | 1 + .../MachineLearning/GetDatafeedsRequest.g.cs | 1 + .../MachineLearning/GetFiltersRequest.g.cs | 1 + .../GetInfluencersRequest.g.cs | 1 + .../MachineLearning/GetJobStatsRequest.g.cs | 1 + .../Api/MachineLearning/GetJobsRequest.g.cs | 1 + .../GetMemoryStatsRequest.g.cs | 1 + .../GetModelSnapshotUpgradeStatsRequest.g.cs | 1 + .../GetModelSnapshotsRequest.g.cs | 1 + .../GetOverallBucketsRequest.g.cs | 1 + .../MachineLearning/GetRecordsRequest.g.cs | 1 + .../GetTrainedModelsRequest.g.cs | 1 + .../GetTrainedModelsStatsRequest.g.cs | 1 + .../InferTrainedModelRequest.g.cs | 1 + .../Api/MachineLearning/MlInfoRequest.g.cs | 1 + .../Api/MachineLearning/OpenJobRequest.g.cs | 1 + .../PostCalendarEventsRequest.g.cs | 1 + .../PreviewDataFrameAnalyticsRequest.g.cs | 1 + .../PutCalendarJobRequest.g.cs | 1 + .../MachineLearning/PutCalendarRequest.g.cs | 1 + .../PutDataFrameAnalyticsRequest.g.cs | 1 + .../MachineLearning/PutDatafeedRequest.g.cs | 1 + .../Api/MachineLearning/PutFilterRequest.g.cs | 1 + .../Api/MachineLearning/PutJobRequest.g.cs | 1 + .../PutTrainedModelAliasRequest.g.cs | 1 + .../PutTrainedModelDefinitionPartRequest.g.cs | 1 + .../PutTrainedModelRequest.g.cs | 1 + .../PutTrainedModelVocabularyRequest.g.cs | 1 + .../Api/MachineLearning/ResetJobRequest.g.cs | 1 + .../RevertModelSnapshotRequest.g.cs | 1 + .../SetUpgradeModeRequest.g.cs | 1 + .../StartDataFrameAnalyticsRequest.g.cs | 1 + .../MachineLearning/StartDatafeedRequest.g.cs | 1 + .../StartTrainedModelDeploymentRequest.g.cs | 1 + .../StopDataFrameAnalyticsRequest.g.cs | 1 + .../MachineLearning/StopDatafeedRequest.g.cs | 1 + .../StopTrainedModelDeploymentRequest.g.cs | 1 + .../UpdateDataFrameAnalyticsRequest.g.cs | 1 + .../UpdateDatafeedRequest.g.cs | 1 + .../MachineLearning/UpdateFilterRequest.g.cs | 1 + .../Api/MachineLearning/UpdateJobRequest.g.cs | 1 + .../UpdateModelSnapshotRequest.g.cs | 1 + .../UpgradeJobSnapshotRequest.g.cs | 1 + .../ValidateDetectorRequest.g.cs | 1 + .../Api/MachineLearning/ValidateRequest.g.cs | 1 + .../_Generated/Api/MultiGetRequest.g.cs | 1 + .../_Generated/Api/MultiSearchRequest.g.cs | 1 + .../Api/MultiSearchTemplateRequest.g.cs | 1 + .../Api/MultiTermVectorsRequest.g.cs | 1 + .../Api/Nodes/HotThreadsRequest.g.cs | 1 + .../Api/Nodes/NodesInfoRequest.g.cs | 1 + .../Api/Nodes/NodesStatsRequest.g.cs | 1 + .../Api/Nodes/NodesUsageRequest.g.cs | 1 + .../Api/OpenPointInTimeRequest.g.cs | 1 + .../_Generated/Api/PingRequest.g.cs | 1 + .../_Generated/Api/PutScriptRequest.g.cs | 1 + .../Api/QueryRules/DeleteRuleRequest.g.cs | 1 + .../Api/QueryRules/DeleteRulesetRequest.g.cs | 1 + .../Api/QueryRules/GetRuleRequest.g.cs | 1 + .../Api/QueryRules/GetRulesetRequest.g.cs | 1 + .../Api/QueryRules/ListRulesetsRequest.g.cs | 1 + .../Api/QueryRules/PutRuleRequest.g.cs | 1 + .../Api/QueryRules/PutRulesetRequest.g.cs | 1 + .../_Generated/Api/RankEvalRequest.g.cs | 1 + .../_Generated/Api/ReindexRequest.g.cs | 1 + .../Api/ReindexRethrottleRequest.g.cs | 1 + .../Api/RenderSearchTemplateRequest.g.cs | 1 + .../_Generated/Api/ScrollRequest.g.cs | 1 + .../_Generated/Api/SearchMvtRequest.g.cs | 1 + .../_Generated/Api/SearchRequest.g.cs | 1 + .../_Generated/Api/SearchTemplateRequest.g.cs | 1 + .../Security/ActivateUserProfileRequest.g.cs | 1 + .../Api/Security/AuthenticateRequest.g.cs | 1 + .../Api/Security/BulkDeleteRoleRequest.g.cs | 1 + .../Api/Security/BulkPutRoleRequest.g.cs | 1 + .../Api/Security/ClearApiKeyCacheRequest.g.cs | 1 + .../ClearCachedPrivilegesRequest.g.cs | 1 + .../Security/ClearCachedRealmsRequest.g.cs | 1 + .../Api/Security/ClearCachedRolesRequest.g.cs | 1 + .../ClearCachedServiceTokensRequest.g.cs | 1 + .../Api/Security/CreateApiKeyRequest.g.cs | 1 + .../Security/CreateServiceTokenRequest.g.cs | 1 + .../Api/Security/DeletePrivilegesRequest.g.cs | 1 + .../Security/DeleteRoleMappingRequest.g.cs | 1 + .../Api/Security/DeleteRoleRequest.g.cs | 1 + .../Security/DeleteServiceTokenRequest.g.cs | 1 + .../Security/DisableUserProfileRequest.g.cs | 1 + .../Security/EnableUserProfileRequest.g.cs | 1 + .../Api/Security/GetApiKeyRequest.g.cs | 1 + .../Security/GetBuiltinPrivilegesRequest.g.cs | 1 + .../Api/Security/GetPrivilegesRequest.g.cs | 1 + .../Api/Security/GetRoleMappingRequest.g.cs | 1 + .../Api/Security/GetRoleRequest.g.cs | 1 + .../Security/GetServiceAccountsRequest.g.cs | 1 + .../GetServiceCredentialsRequest.g.cs | 1 + .../Api/Security/GetTokenRequest.g.cs | 1 + .../Security/GetUserPrivilegesRequest.g.cs | 1 + .../Api/Security/GetUserProfileRequest.g.cs | 1 + .../Api/Security/GrantApiKeyRequest.g.cs | 1 + .../Api/Security/HasPrivilegesRequest.g.cs | 1 + .../HasPrivilegesUserProfileRequest.g.cs | 1 + .../Api/Security/InvalidateApiKeyRequest.g.cs | 1 + .../Api/Security/InvalidateTokenRequest.g.cs | 1 + .../Api/Security/PutPrivilegesRequest.g.cs | 1 + .../Api/Security/PutRoleMappingRequest.g.cs | 1 + .../Api/Security/PutRoleRequest.g.cs | 1 + .../Api/Security/QueryApiKeysRequest.g.cs | 1 + .../Api/Security/QueryRoleRequest.g.cs | 1 + .../Api/Security/QueryUserRequest.g.cs | 1 + .../Api/Security/SamlAuthenticateRequest.g.cs | 1 + .../Security/SamlCompleteLogoutRequest.g.cs | 1 + .../Api/Security/SamlInvalidateRequest.g.cs | 1 + .../Api/Security/SamlLogoutRequest.g.cs | 1 + .../SamlPrepareAuthenticationRequest.g.cs | 1 + .../SamlServiceProviderMetadataRequest.g.cs | 1 + .../Security/SuggestUserProfilesRequest.g.cs | 1 + .../Api/Security/UpdateApiKeyRequest.g.cs | 1 + .../UpdateUserProfileDataRequest.g.cs | 1 + .../Snapshot/CleanupRepositoryRequest.g.cs | 1 + .../Api/Snapshot/CloneSnapshotRequest.g.cs | 1 + .../Api/Snapshot/CreateRepositoryRequest.g.cs | 1 + .../Api/Snapshot/CreateSnapshotRequest.g.cs | 1 + .../Api/Snapshot/DeleteRepositoryRequest.g.cs | 1 + .../Api/Snapshot/DeleteSnapshotRequest.g.cs | 1 + .../Api/Snapshot/GetRepositoryRequest.g.cs | 1 + .../Api/Snapshot/GetSnapshotRequest.g.cs | 1 + .../Api/Snapshot/RestoreRequest.g.cs | 1 + .../Api/Snapshot/SnapshotStatusRequest.g.cs | 1 + .../Api/Snapshot/VerifyRepositoryRequest.g.cs | 1 + .../DeleteLifecycleRequest.g.cs | 1 + .../ExecuteLifecycleRequest.g.cs | 1 + .../ExecuteRetentionRequest.g.cs | 1 + .../GetLifecycleRequest.g.cs | 1 + .../GetSlmStatusRequest.g.cs | 1 + .../GetStatsRequest.g.cs | 1 + .../PutLifecycleRequest.g.cs | 1 + .../StartSlmRequest.g.cs | 1 + .../StopSlmRequest.g.cs | 1 + .../Api/Sql/ClearCursorRequest.g.cs | 1 + .../Api/Sql/DeleteAsyncRequest.g.cs | 1 + .../_Generated/Api/Sql/GetAsyncRequest.g.cs | 1 + .../Api/Sql/GetAsyncStatusRequest.g.cs | 1 + .../_Generated/Api/Sql/QueryRequest.g.cs | 1 + .../_Generated/Api/Sql/TranslateRequest.g.cs | 1 + .../Api/Synonyms/DeleteSynonymRequest.g.cs | 1 + .../Synonyms/DeleteSynonymRuleRequest.g.cs | 1 + .../Api/Synonyms/GetSynonymRequest.g.cs | 1 + .../Api/Synonyms/GetSynonymRuleRequest.g.cs | 1 + .../Api/Synonyms/GetSynonymsSetsRequest.g.cs | 1 + .../Api/Synonyms/PutSynonymRequest.g.cs | 1 + .../Api/Synonyms/PutSynonymRuleRequest.g.cs | 1 + .../_Generated/Api/TermVectorsRequest.g.cs | 3 +- .../_Generated/Api/TermsEnumRequest.g.cs | 1 + .../TextStructure/TestGrokPatternRequest.g.cs | 1 + .../DeleteTransformRequest.g.cs | 1 + .../GetTransformRequest.g.cs | 1 + .../GetTransformStatsRequest.g.cs | 1 + .../PreviewTransformRequest.g.cs | 1 + .../PutTransformRequest.g.cs | 1 + .../ResetTransformRequest.g.cs | 1 + .../ScheduleNowTransformRequest.g.cs | 1 + .../StartTransformRequest.g.cs | 1 + .../StopTransformRequest.g.cs | 1 + .../UpdateTransformRequest.g.cs | 1 + .../UpgradeTransformsRequest.g.cs | 1 + .../_Generated/Api/UpdateByQueryRequest.g.cs | 1 + .../Api/UpdateByQueryRethrottleRequest.g.cs | 1 + .../_Generated/Api/UpdateRequest.g.cs | 5 +- .../Api/Xpack/XpackInfoRequest.g.cs | 1 + .../Api/Xpack/XpackUsageRequest.g.cs | 1 + .../Elastic.Clients.Elasticsearch.csproj | 2 +- .../AsyncSearch/AsyncSearchStatusRequest.g.cs | 1 + .../AsyncSearch/DeleteAsyncSearchRequest.g.cs | 1 + .../AsyncSearch/GetAsyncSearchRequest.g.cs | 1 + .../AsyncSearch/SubmitAsyncSearchRequest.g.cs | 1 + .../_Generated/Api/BulkRequest.g.cs | 1 + .../_Generated/Api/ClearScrollRequest.g.cs | 1 + .../Api/ClosePointInTimeRequest.g.cs | 1 + .../Api/Cluster/AllocationExplainRequest.g.cs | 1 + .../Api/Cluster/ClusterInfoRequest.g.cs | 1 + .../Api/Cluster/ClusterStatsRequest.g.cs | 1 + .../DeleteComponentTemplateRequest.g.cs | 1 + .../DeleteVotingConfigExclusionsRequest.g.cs | 1 + .../ExistsComponentTemplateRequest.g.cs | 1 + .../Cluster/GetClusterSettingsRequest.g.cs | 1 + .../Cluster/GetComponentTemplateRequest.g.cs | 1 + .../_Generated/Api/Cluster/HealthRequest.g.cs | 1 + .../Api/Cluster/PendingTasksRequest.g.cs | 1 + .../PostVotingConfigExclusionsRequest.g.cs | 1 + .../Cluster/PutComponentTemplateRequest.g.cs | 1 + .../_Generated/Api/CountRequest.g.cs | 1 + .../_Generated/Api/CreateRequest.g.cs | 5 +- .../CcrStatsRequest.g.cs | 1 + .../DeleteAutoFollowPatternRequest.g.cs | 1 + .../FollowInfoRequest.g.cs | 1 + .../FollowRequest.g.cs | 1 + .../FollowStatsRequest.g.cs | 1 + .../ForgetFollowerRequest.g.cs | 1 + .../GetAutoFollowPatternRequest.g.cs | 1 + .../PauseAutoFollowPatternRequest.g.cs | 1 + .../PauseFollowRequest.g.cs | 1 + .../PutAutoFollowPatternRequest.g.cs | 1 + .../ResumeAutoFollowPatternRequest.g.cs | 1 + .../ResumeFollowRequest.g.cs | 1 + .../UnfollowRequest.g.cs | 1 + .../ListDanglingIndicesRequest.g.cs | 1 + .../_Generated/Api/DeleteByQueryRequest.g.cs | 1 + .../Api/DeleteByQueryRethrottleRequest.g.cs | 1 + .../_Generated/Api/DeleteRequest.g.cs | 1 + .../_Generated/Api/DeleteScriptRequest.g.cs | 1 + .../Api/Enrich/DeletePolicyRequest.g.cs | 1 + .../Api/Enrich/EnrichStatsRequest.g.cs | 1 + .../Api/Enrich/ExecutePolicyRequest.g.cs | 1 + .../Api/Enrich/GetPolicyRequest.g.cs | 1 + .../Api/Enrich/PutPolicyRequest.g.cs | 1 + .../_Generated/Api/Eql/EqlDeleteRequest.g.cs | 1 + .../_Generated/Api/Eql/EqlGetRequest.g.cs | 1 + .../_Generated/Api/Eql/EqlSearchRequest.g.cs | 1 + .../Api/Eql/GetEqlStatusRequest.g.cs | 1 + .../_Generated/Api/Esql/EsqlQueryRequest.g.cs | 1 + .../_Generated/Api/ExistsRequest.g.cs | 1 + .../_Generated/Api/ExistsSourceRequest.g.cs | 1 + .../_Generated/Api/ExplainRequest.g.cs | 1 + .../Api/Features/GetFeaturesRequest.g.cs | 1 + .../Api/Features/ResetFeaturesRequest.g.cs | 1 + .../_Generated/Api/FieldCapsRequest.g.cs | 1 + .../_Generated/Api/GetRequest.g.cs | 1 + .../Api/GetScriptContextRequest.g.cs | 1 + .../Api/GetScriptLanguagesRequest.g.cs | 1 + .../_Generated/Api/GetScriptRequest.g.cs | 1 + .../_Generated/Api/GetSourceRequest.g.cs | 1 + .../_Generated/Api/Graph/ExploreRequest.g.cs | 1 + .../_Generated/Api/HealthReportRequest.g.cs | 1 + .../DeleteLifecycleRequest.g.cs | 1 + .../GetIlmStatusRequest.g.cs | 1 + .../GetLifecycleRequest.g.cs | 1 + .../MigrateToDataTiersRequest.g.cs | 1 + .../MoveToStepRequest.g.cs | 1 + .../PutLifecycleRequest.g.cs | 1 + .../RemovePolicyRequest.g.cs | 1 + .../RetryRequest.g.cs | 1 + .../StartIlmRequest.g.cs | 1 + .../StopIlmRequest.g.cs | 1 + .../IndexManagement/AnalyzeIndexRequest.g.cs | 1 + .../IndexManagement/ClearCacheRequest.g.cs | 1 + .../IndexManagement/CloneIndexRequest.g.cs | 1 + .../IndexManagement/CloseIndexRequest.g.cs | 1 + .../CreateDataStreamRequest.g.cs | 1 + .../IndexManagement/CreateIndexRequest.g.cs | 1 + .../DataStreamsStatsRequest.g.cs | 1 + .../IndexManagement/DeleteAliasRequest.g.cs | 1 + .../DeleteDataLifecycleRequest.g.cs | 1 + .../DeleteDataStreamRequest.g.cs | 1 + .../IndexManagement/DeleteIndexRequest.g.cs | 1 + .../DeleteIndexTemplateRequest.g.cs | 1 + .../DeleteTemplateRequest.g.cs | 1 + .../Api/IndexManagement/DiskUsageRequest.g.cs | 1 + .../IndexManagement/DownsampleRequest.g.cs | 1 + .../IndexManagement/ExistsAliasRequest.g.cs | 1 + .../ExistsIndexTemplateRequest.g.cs | 1 + .../Api/IndexManagement/ExistsRequest.g.cs | 1 + .../ExistsTemplateRequest.g.cs | 1 + .../ExplainDataLifecycleRequest.g.cs | 1 + .../FieldUsageStatsRequest.g.cs | 1 + .../Api/IndexManagement/FlushRequest.g.cs | 1 + .../IndexManagement/ForcemergeRequest.g.cs | 1 + .../Api/IndexManagement/GetAliasRequest.g.cs | 1 + .../GetDataLifecycleRequest.g.cs | 1 + .../IndexManagement/GetDataStreamRequest.g.cs | 1 + .../GetFieldMappingRequest.g.cs | 1 + .../Api/IndexManagement/GetIndexRequest.g.cs | 1 + .../GetIndexTemplateRequest.g.cs | 1 + .../GetIndicesSettingsRequest.g.cs | 1 + .../IndexManagement/GetMappingRequest.g.cs | 1 + .../IndexManagement/GetTemplateRequest.g.cs | 1 + .../IndexManagement/IndicesStatsRequest.g.cs | 1 + .../MigrateToDataStreamRequest.g.cs | 1 + .../ModifyDataStreamRequest.g.cs | 1 + .../Api/IndexManagement/OpenIndexRequest.g.cs | 1 + .../PromoteDataStreamRequest.g.cs | 1 + .../Api/IndexManagement/PutAliasRequest.g.cs | 1 + .../PutDataLifecycleRequest.g.cs | 1 + .../PutIndexTemplateRequest.g.cs | 1 + .../PutIndicesSettingsRequest.g.cs | 1 + .../IndexManagement/PutMappingRequest.g.cs | 1 + .../IndexManagement/PutTemplateRequest.g.cs | 1 + .../Api/IndexManagement/RecoveryRequest.g.cs | 1 + .../Api/IndexManagement/RefreshRequest.g.cs | 1 + .../ReloadSearchAnalyzersRequest.g.cs | 1 + .../ResolveClusterRequest.g.cs | 1 + .../IndexManagement/ResolveIndexRequest.g.cs | 1 + .../Api/IndexManagement/RolloverRequest.g.cs | 1 + .../Api/IndexManagement/SegmentsRequest.g.cs | 1 + .../IndexManagement/ShardStoresRequest.g.cs | 1 + .../IndexManagement/ShrinkIndexRequest.g.cs | 1 + .../SimulateIndexTemplateRequest.g.cs | 1 + .../SimulateTemplateRequest.g.cs | 1 + .../IndexManagement/SplitIndexRequest.g.cs | 1 + .../IndexManagement/UpdateAliasesRequest.g.cs | 1 + .../IndexManagement/ValidateQueryRequest.g.cs | 1 + .../_Generated/Api/IndexRequest.g.cs | 5 +- .../Api/Inference/DeleteInferenceRequest.g.cs | 1 + .../Api/Inference/GetInferenceRequest.g.cs | 1 + .../Api/Inference/InferenceRequest.g.cs | 1 + .../Api/Inference/PutInferenceRequest.g.cs | 1 + .../_Generated/Api/InfoRequest.g.cs | 1 + .../Ingest/DeleteGeoipDatabaseRequest.g.cs | 1 + .../Api/Ingest/DeletePipelineRequest.g.cs | 1 + .../Api/Ingest/GeoIpStatsRequest.g.cs | 1 + .../Api/Ingest/GetGeoipDatabaseRequest.g.cs | 1 + .../Api/Ingest/GetPipelineRequest.g.cs | 1 + .../Api/Ingest/ProcessorGrokRequest.g.cs | 1 + .../Api/Ingest/PutGeoipDatabaseRequest.g.cs | 1 + .../Api/Ingest/PutPipelineRequest.g.cs | 1 + .../Api/Ingest/SimulateRequest.g.cs | 1 + .../DeleteLicenseRequest.g.cs | 1 + .../GetBasicStatusRequest.g.cs | 1 + .../LicenseManagement/GetLicenseRequest.g.cs | 1 + .../GetTrialStatusRequest.g.cs | 1 + .../Api/LicenseManagement/PostRequest.g.cs | 1 + .../PostStartBasicRequest.g.cs | 1 + .../PostStartTrialRequest.g.cs | 1 + ...earTrainedModelDeploymentCacheRequest.g.cs | 1 + .../Api/MachineLearning/CloseJobRequest.g.cs | 1 + .../DeleteCalendarEventRequest.g.cs | 1 + .../DeleteCalendarJobRequest.g.cs | 1 + .../DeleteCalendarRequest.g.cs | 1 + .../DeleteDataFrameAnalyticsRequest.g.cs | 1 + .../DeleteDatafeedRequest.g.cs | 1 + .../DeleteExpiredDataRequest.g.cs | 1 + .../MachineLearning/DeleteFilterRequest.g.cs | 1 + .../DeleteForecastRequest.g.cs | 1 + .../Api/MachineLearning/DeleteJobRequest.g.cs | 1 + .../DeleteModelSnapshotRequest.g.cs | 1 + .../DeleteTrainedModelAliasRequest.g.cs | 1 + .../DeleteTrainedModelRequest.g.cs | 1 + .../EstimateModelMemoryRequest.g.cs | 1 + .../EvaluateDataFrameRequest.g.cs | 1 + .../ExplainDataFrameAnalyticsRequest.g.cs | 1 + .../Api/MachineLearning/FlushJobRequest.g.cs | 1 + .../Api/MachineLearning/ForecastRequest.g.cs | 1 + .../MachineLearning/GetBucketsRequest.g.cs | 1 + .../GetCalendarEventsRequest.g.cs | 1 + .../MachineLearning/GetCalendarsRequest.g.cs | 1 + .../MachineLearning/GetCategoriesRequest.g.cs | 1 + .../GetDataFrameAnalyticsRequest.g.cs | 1 + .../GetDataFrameAnalyticsStatsRequest.g.cs | 1 + .../GetDatafeedStatsRequest.g.cs | 1 + .../MachineLearning/GetDatafeedsRequest.g.cs | 1 + .../MachineLearning/GetFiltersRequest.g.cs | 1 + .../GetInfluencersRequest.g.cs | 1 + .../MachineLearning/GetJobStatsRequest.g.cs | 1 + .../Api/MachineLearning/GetJobsRequest.g.cs | 1 + .../GetMemoryStatsRequest.g.cs | 1 + .../GetModelSnapshotUpgradeStatsRequest.g.cs | 1 + .../GetModelSnapshotsRequest.g.cs | 1 + .../GetOverallBucketsRequest.g.cs | 1 + .../MachineLearning/GetRecordsRequest.g.cs | 1 + .../GetTrainedModelsRequest.g.cs | 1 + .../GetTrainedModelsStatsRequest.g.cs | 1 + .../InferTrainedModelRequest.g.cs | 1 + .../Api/MachineLearning/MlInfoRequest.g.cs | 1 + .../Api/MachineLearning/OpenJobRequest.g.cs | 1 + .../PostCalendarEventsRequest.g.cs | 1 + .../PreviewDataFrameAnalyticsRequest.g.cs | 1 + .../PutCalendarJobRequest.g.cs | 1 + .../MachineLearning/PutCalendarRequest.g.cs | 1 + .../PutDataFrameAnalyticsRequest.g.cs | 1 + .../MachineLearning/PutDatafeedRequest.g.cs | 1 + .../Api/MachineLearning/PutFilterRequest.g.cs | 1 + .../Api/MachineLearning/PutJobRequest.g.cs | 1 + .../PutTrainedModelAliasRequest.g.cs | 1 + .../PutTrainedModelDefinitionPartRequest.g.cs | 1 + .../PutTrainedModelRequest.g.cs | 1 + .../PutTrainedModelVocabularyRequest.g.cs | 1 + .../Api/MachineLearning/ResetJobRequest.g.cs | 1 + .../RevertModelSnapshotRequest.g.cs | 1 + .../SetUpgradeModeRequest.g.cs | 1 + .../StartDataFrameAnalyticsRequest.g.cs | 1 + .../MachineLearning/StartDatafeedRequest.g.cs | 1 + .../StartTrainedModelDeploymentRequest.g.cs | 1 + .../StopDataFrameAnalyticsRequest.g.cs | 1 + .../MachineLearning/StopDatafeedRequest.g.cs | 1 + .../StopTrainedModelDeploymentRequest.g.cs | 1 + .../UpdateDataFrameAnalyticsRequest.g.cs | 1 + .../UpdateDatafeedRequest.g.cs | 1 + .../MachineLearning/UpdateFilterRequest.g.cs | 1 + .../Api/MachineLearning/UpdateJobRequest.g.cs | 1 + .../UpdateModelSnapshotRequest.g.cs | 1 + .../UpdateTrainedModelDeploymentRequest.g.cs | 1 + .../UpgradeJobSnapshotRequest.g.cs | 1 + .../ValidateDetectorRequest.g.cs | 1 + .../Api/MachineLearning/ValidateRequest.g.cs | 1 + .../_Generated/Api/MultiGetRequest.g.cs | 1 + .../_Generated/Api/MultiSearchRequest.g.cs | 1 + .../Api/MultiSearchTemplateRequest.g.cs | 1 + .../Api/MultiTermVectorsRequest.g.cs | 1 + ...earRepositoriesMeteringArchiveRequest.g.cs | 1 + .../GetRepositoriesMeteringInfoRequest.g.cs | 1 + .../Api/Nodes/HotThreadsRequest.g.cs | 1 + .../Api/Nodes/NodesInfoRequest.g.cs | 1 + .../Api/Nodes/NodesStatsRequest.g.cs | 1 + .../Api/Nodes/NodesUsageRequest.g.cs | 1 + .../Nodes/ReloadSecureSettingsRequest.g.cs | 1 + .../Api/OpenPointInTimeRequest.g.cs | 1 + .../_Generated/Api/PingRequest.g.cs | 1 + .../_Generated/Api/PutScriptRequest.g.cs | 1 + .../Api/QueryRules/DeleteRuleRequest.g.cs | 1 + .../Api/QueryRules/DeleteRulesetRequest.g.cs | 1 + .../Api/QueryRules/GetRuleRequest.g.cs | 1 + .../Api/QueryRules/GetRulesetRequest.g.cs | 1 + .../Api/QueryRules/ListRulesetsRequest.g.cs | 1 + .../Api/QueryRules/PutRuleRequest.g.cs | 1 + .../Api/QueryRules/PutRulesetRequest.g.cs | 1 + .../_Generated/Api/RankEvalRequest.g.cs | 1 + .../_Generated/Api/ReindexRequest.g.cs | 1 + .../Api/ReindexRethrottleRequest.g.cs | 1 + .../Api/RenderSearchTemplateRequest.g.cs | 1 + .../Api/Rollup/DeleteJobRequest.g.cs | 1 + .../_Generated/Api/Rollup/GetJobsRequest.g.cs | 1 + .../Api/Rollup/GetRollupCapsRequest.g.cs | 1 + .../Api/Rollup/GetRollupIndexCapsRequest.g.cs | 1 + .../_Generated/Api/Rollup/PutJobRequest.g.cs | 1 + .../Api/Rollup/RollupSearchRequest.g.cs | 1 + .../Api/Rollup/StartJobRequest.g.cs | 1 + .../_Generated/Api/Rollup/StopJobRequest.g.cs | 1 + .../Api/ScriptsPainlessExecuteRequest.g.cs | 1 + .../_Generated/Api/ScrollRequest.g.cs | 1 + .../DeleteBehavioralAnalyticsRequest.g.cs | 1 + .../DeleteSearchApplicationRequest.g.cs | 1 + .../GetBehavioralAnalyticsRequest.g.cs | 1 + .../GetSearchApplicationRequest.g.cs | 1 + .../Api/SearchApplication/ListRequest.g.cs | 1 + .../PutBehavioralAnalyticsRequest.g.cs | 1 + .../PutSearchApplicationRequest.g.cs | 1 + .../SearchApplicationSearchRequest.g.cs | 1 + .../_Generated/Api/SearchMvtRequest.g.cs | 1 + .../_Generated/Api/SearchRequest.g.cs | 1 + .../_Generated/Api/SearchShardsRequest.g.cs | 1 + .../_Generated/Api/SearchTemplateRequest.g.cs | 1 + .../CacheStatsRequest.g.cs | 1 + .../ClearCacheRequest.g.cs | 1 + .../Api/SearchableSnapshots/MountRequest.g.cs | 1 + .../SearchableSnapshotsStatsRequest.g.cs | 1 + .../Security/ActivateUserProfileRequest.g.cs | 1 + .../Api/Security/AuthenticateRequest.g.cs | 1 + .../Api/Security/BulkDeleteRoleRequest.g.cs | 1 + .../Api/Security/BulkPutRoleRequest.g.cs | 1 + .../Api/Security/ChangePasswordRequest.g.cs | 1 + .../Api/Security/ClearApiKeyCacheRequest.g.cs | 1 + .../ClearCachedPrivilegesRequest.g.cs | 1 + .../Security/ClearCachedRealmsRequest.g.cs | 1 + .../Api/Security/ClearCachedRolesRequest.g.cs | 1 + .../ClearCachedServiceTokensRequest.g.cs | 1 + .../Api/Security/CreateApiKeyRequest.g.cs | 1 + .../Security/CreateServiceTokenRequest.g.cs | 1 + .../Api/Security/DeletePrivilegesRequest.g.cs | 1 + .../Security/DeleteRoleMappingRequest.g.cs | 1 + .../Api/Security/DeleteRoleRequest.g.cs | 1 + .../Security/DeleteServiceTokenRequest.g.cs | 1 + .../Api/Security/DeleteUserRequest.g.cs | 1 + .../Security/DisableUserProfileRequest.g.cs | 1 + .../Api/Security/DisableUserRequest.g.cs | 1 + .../Security/EnableUserProfileRequest.g.cs | 1 + .../Api/Security/EnableUserRequest.g.cs | 1 + .../Api/Security/EnrollKibanaRequest.g.cs | 1 + .../Api/Security/EnrollNodeRequest.g.cs | 1 + .../Api/Security/GetApiKeyRequest.g.cs | 1 + .../Security/GetBuiltinPrivilegesRequest.g.cs | 1 + .../Api/Security/GetPrivilegesRequest.g.cs | 1 + .../Api/Security/GetRoleMappingRequest.g.cs | 1 + .../Api/Security/GetRoleRequest.g.cs | 1 + .../Security/GetServiceAccountsRequest.g.cs | 1 + .../GetServiceCredentialsRequest.g.cs | 1 + .../Api/Security/GetTokenRequest.g.cs | 1 + .../Security/GetUserPrivilegesRequest.g.cs | 1 + .../Api/Security/GetUserProfileRequest.g.cs | 1 + .../Api/Security/GetUserRequest.g.cs | 1 + .../Api/Security/GrantApiKeyRequest.g.cs | 1 + .../Api/Security/HasPrivilegesRequest.g.cs | 1 + .../HasPrivilegesUserProfileRequest.g.cs | 1 + .../Api/Security/InvalidateApiKeyRequest.g.cs | 1 + .../Api/Security/InvalidateTokenRequest.g.cs | 1 + .../Api/Security/PutPrivilegesRequest.g.cs | 1 + .../Api/Security/PutRoleMappingRequest.g.cs | 1 + .../Api/Security/PutRoleRequest.g.cs | 1 + .../Api/Security/PutUserRequest.g.cs | 1 + .../Api/Security/QueryApiKeysRequest.g.cs | 1 + .../Api/Security/QueryRoleRequest.g.cs | 1 + .../Api/Security/QueryUserRequest.g.cs | 1 + .../Api/Security/SamlAuthenticateRequest.g.cs | 1 + .../Security/SamlCompleteLogoutRequest.g.cs | 1 + .../Api/Security/SamlInvalidateRequest.g.cs | 1 + .../Api/Security/SamlLogoutRequest.g.cs | 1 + .../SamlPrepareAuthenticationRequest.g.cs | 1 + .../SamlServiceProviderMetadataRequest.g.cs | 1 + .../Security/SuggestUserProfilesRequest.g.cs | 1 + .../Api/Security/UpdateApiKeyRequest.g.cs | 1 + .../UpdateUserProfileDataRequest.g.cs | 1 + .../Snapshot/CleanupRepositoryRequest.g.cs | 1 + .../Api/Snapshot/CloneSnapshotRequest.g.cs | 1 + .../Api/Snapshot/CreateRepositoryRequest.g.cs | 1 + .../Api/Snapshot/CreateSnapshotRequest.g.cs | 1 + .../Api/Snapshot/DeleteRepositoryRequest.g.cs | 1 + .../Api/Snapshot/DeleteSnapshotRequest.g.cs | 1 + .../Api/Snapshot/GetRepositoryRequest.g.cs | 1 + .../Api/Snapshot/GetSnapshotRequest.g.cs | 1 + .../Api/Snapshot/RestoreRequest.g.cs | 1 + .../Api/Snapshot/SnapshotStatusRequest.g.cs | 1 + .../Api/Snapshot/VerifyRepositoryRequest.g.cs | 1 + .../DeleteLifecycleRequest.g.cs | 1 + .../ExecuteLifecycleRequest.g.cs | 1 + .../ExecuteRetentionRequest.g.cs | 1 + .../GetLifecycleRequest.g.cs | 1 + .../GetSlmStatusRequest.g.cs | 1 + .../GetStatsRequest.g.cs | 1 + .../PutLifecycleRequest.g.cs | 1 + .../StartSlmRequest.g.cs | 1 + .../StopSlmRequest.g.cs | 1 + .../Api/Sql/ClearCursorRequest.g.cs | 1 + .../Api/Sql/DeleteAsyncRequest.g.cs | 1 + .../_Generated/Api/Sql/GetAsyncRequest.g.cs | 1 + .../Api/Sql/GetAsyncStatusRequest.g.cs | 1 + .../_Generated/Api/Sql/QueryRequest.g.cs | 1 + .../_Generated/Api/Sql/TranslateRequest.g.cs | 1 + .../Api/Synonyms/DeleteSynonymRequest.g.cs | 1 + .../Synonyms/DeleteSynonymRuleRequest.g.cs | 1 + .../Api/Synonyms/GetSynonymRequest.g.cs | 1 + .../Api/Synonyms/GetSynonymRuleRequest.g.cs | 1 + .../Api/Synonyms/GetSynonymsSetsRequest.g.cs | 1 + .../Api/Synonyms/PutSynonymRequest.g.cs | 1 + .../Api/Synonyms/PutSynonymRuleRequest.g.cs | 1 + .../_Generated/Api/Tasks/CancelRequest.g.cs | 1 + .../_Generated/Api/Tasks/GetTasksRequest.g.cs | 1 + .../_Generated/Api/Tasks/ListRequest.g.cs | 1 + .../_Generated/Api/TermVectorsRequest.g.cs | 3 +- .../_Generated/Api/TermsEnumRequest.g.cs | 1 + .../TextStructure/TestGrokPatternRequest.g.cs | 1 + .../DeleteTransformRequest.g.cs | 1 + .../GetTransformRequest.g.cs | 1 + .../GetTransformStatsRequest.g.cs | 1 + .../PreviewTransformRequest.g.cs | 1 + .../PutTransformRequest.g.cs | 1 + .../ResetTransformRequest.g.cs | 1 + .../ScheduleNowTransformRequest.g.cs | 1 + .../StartTransformRequest.g.cs | 1 + .../StopTransformRequest.g.cs | 1 + .../UpdateTransformRequest.g.cs | 1 + .../UpgradeTransformsRequest.g.cs | 1 + .../_Generated/Api/UpdateByQueryRequest.g.cs | 1 + .../Api/UpdateByQueryRethrottleRequest.g.cs | 1 + .../_Generated/Api/UpdateRequest.g.cs | 5 +- .../Api/Xpack/XpackInfoRequest.g.cs | 1 + .../Api/Xpack/XpackUsageRequest.g.cs | 1 + .../ElasticsearchClientSettings.cs | 33 ++-- .../_Shared/Core/Fields/FieldValue.cs | 25 ++- .../DefaultRequestResponseSerializer.cs | 104 +++++++---- .../Serialization/DefaultSourceSerializer.cs | 120 ++++++------- .../Serialization/SerializerExtensions.cs | 27 --- .../_Shared/Serialization/SourceConverter.cs | 6 +- .../Serialization/SourceSerialization.cs | 127 -------------- .../Serialization/SystemTextJsonSerializer.cs | 164 ------------------ .../Types/Core/Bulk/BulkCreateOperation.cs | 4 +- .../Bulk/BulkCreateOperationDescriptor.cs | 13 +- .../Types/Core/Bulk/BulkDeleteOperation.cs | 4 +- .../Bulk/BulkDeleteOperationDescriptor.cs | 9 +- .../Types/Core/Bulk/BulkIndexOperation.cs | 4 +- .../Core/Bulk/BulkIndexOperationDescriptor.cs | 11 +- .../_Shared/Types/Core/Bulk/BulkUpdateBody.cs | 5 +- .../Types/Core/Bulk/BulkUpdateOperation.cs | 1 + .../Bulk/BulkUpdateOperationDescriptor.cs | 5 +- .../Types/Core/Bulk/PartialBulkUpdateBody.cs | 3 +- .../Types/Core/Bulk/ScriptedBulkUpdateBody.cs | 3 +- .../Types/Core/MSearch/SearchRequestItem.cs | 23 +-- .../SearchTemplateRequestItem.cs | 23 +-- src/Playground/Person.cs | 2 + src/Playground/Playground.csproj | 2 +- tests/Tests/Tests.csproj | 4 +- 700 files changed, 912 insertions(+), 518 deletions(-) delete mode 100644 src/Elastic.Clients.Elasticsearch/_Shared/Serialization/SerializerExtensions.cs delete mode 100644 src/Elastic.Clients.Elasticsearch/_Shared/Serialization/SourceSerialization.cs delete mode 100644 src/Elastic.Clients.Elasticsearch/_Shared/Serialization/SystemTextJsonSerializer.cs diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/Elastic.Clients.Elasticsearch.Serverless.csproj b/src/Elastic.Clients.Elasticsearch.Serverless/Elastic.Clients.Elasticsearch.Serverless.csproj index e2e4cdf3d98..4e00bb4e38c 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/Elastic.Clients.Elasticsearch.Serverless.csproj +++ b/src/Elastic.Clients.Elasticsearch.Serverless/Elastic.Clients.Elasticsearch.Serverless.csproj @@ -21,7 +21,7 @@ annotations - + @@ -37,7 +37,7 @@ - + \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/AsyncSearch/AsyncSearchStatusRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/AsyncSearch/AsyncSearchStatusRequest.g.cs index 06fbaa3a2ea..c87bdfffbbe 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/AsyncSearch/AsyncSearchStatusRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/AsyncSearch/AsyncSearchStatusRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/AsyncSearch/DeleteAsyncSearchRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/AsyncSearch/DeleteAsyncSearchRequest.g.cs index 4b524cfa19b..5f52d5657f5 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/AsyncSearch/DeleteAsyncSearchRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/AsyncSearch/DeleteAsyncSearchRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/AsyncSearch/GetAsyncSearchRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/AsyncSearch/GetAsyncSearchRequest.g.cs index 6952b0ab921..eb6996e3141 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/AsyncSearch/GetAsyncSearchRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/AsyncSearch/GetAsyncSearchRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/AsyncSearch/SubmitAsyncSearchRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/AsyncSearch/SubmitAsyncSearchRequest.g.cs index 3619775104c..201bd4cacd2 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/AsyncSearch/SubmitAsyncSearchRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/AsyncSearch/SubmitAsyncSearchRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/BulkRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/BulkRequest.g.cs index 65263841972..889eec89881 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/BulkRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/BulkRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ClearScrollRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ClearScrollRequest.g.cs index 7fcb74ce47c..5ef6d921fee 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ClearScrollRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ClearScrollRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ClosePointInTimeRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ClosePointInTimeRequest.g.cs index b8a16c05cd3..fce101f4962 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ClosePointInTimeRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ClosePointInTimeRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Cluster/AllocationExplainRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Cluster/AllocationExplainRequest.g.cs index 47b3e3d5d75..7dbc3bec9aa 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Cluster/AllocationExplainRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Cluster/AllocationExplainRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Cluster/ClusterInfoRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Cluster/ClusterInfoRequest.g.cs index 170fa7a9c24..31f8239a78c 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Cluster/ClusterInfoRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Cluster/ClusterInfoRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Cluster/ClusterStatsRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Cluster/ClusterStatsRequest.g.cs index 90fdb724cdb..13e796ad368 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Cluster/ClusterStatsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Cluster/ClusterStatsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Cluster/DeleteComponentTemplateRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Cluster/DeleteComponentTemplateRequest.g.cs index d4196ab4fe1..b1deddeacbe 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Cluster/DeleteComponentTemplateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Cluster/DeleteComponentTemplateRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Cluster/ExistsComponentTemplateRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Cluster/ExistsComponentTemplateRequest.g.cs index 56298476081..93382cdfb0d 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Cluster/ExistsComponentTemplateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Cluster/ExistsComponentTemplateRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Cluster/GetClusterSettingsRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Cluster/GetClusterSettingsRequest.g.cs index 90cc00b8be0..f1fea9585c1 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Cluster/GetClusterSettingsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Cluster/GetClusterSettingsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Cluster/GetComponentTemplateRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Cluster/GetComponentTemplateRequest.g.cs index 952edd6d748..fc9c79d5584 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Cluster/GetComponentTemplateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Cluster/GetComponentTemplateRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Cluster/HealthRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Cluster/HealthRequest.g.cs index c1acf1cbf5a..147223cde7a 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Cluster/HealthRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Cluster/HealthRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Cluster/PendingTasksRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Cluster/PendingTasksRequest.g.cs index 82887bf785b..1e2e00c2840 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Cluster/PendingTasksRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Cluster/PendingTasksRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Cluster/PutComponentTemplateRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Cluster/PutComponentTemplateRequest.g.cs index ef662199d23..010a9dead81 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Cluster/PutComponentTemplateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Cluster/PutComponentTemplateRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/CountRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/CountRequest.g.cs index 75b17d65999..2fb04c094d4 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/CountRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/CountRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/CreateRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/CreateRequest.g.cs index 5b089946b08..effdf74767f 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/CreateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/CreateRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; @@ -172,7 +173,7 @@ public CreateRequest(Elastic.Clients.Elasticsearch.Serverless.IndexName index, E void ISelfSerializable.Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) { - SourceSerialization.Serialize(Document, writer, settings.SourceSerializer); + settings.SourceSerializer.Serialize(Document, writer); } } @@ -238,6 +239,6 @@ public CreateRequestDescriptor Document(TDocument document) protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) { - SourceSerialization.Serialize(DocumentValue, writer, settings.SourceSerializer); + settings.SourceSerializer.Serialize(DocumentValue, writer); } } \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/DeleteByQueryRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/DeleteByQueryRequest.g.cs index debf47d9556..3d339e7542c 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/DeleteByQueryRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/DeleteByQueryRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/DeleteByQueryRethrottleRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/DeleteByQueryRethrottleRequest.g.cs index cfa4ef28582..e56fc10d40d 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/DeleteByQueryRethrottleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/DeleteByQueryRethrottleRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/DeleteRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/DeleteRequest.g.cs index cb8667dabf2..2aad452164c 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/DeleteRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/DeleteRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/DeleteScriptRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/DeleteScriptRequest.g.cs index 111b0c8bda6..3f00760dcc2 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/DeleteScriptRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/DeleteScriptRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Enrich/DeletePolicyRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Enrich/DeletePolicyRequest.g.cs index 208da72b44b..6ea6f518ad4 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Enrich/DeletePolicyRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Enrich/DeletePolicyRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Enrich/EnrichStatsRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Enrich/EnrichStatsRequest.g.cs index 28a5d38229d..1941f7b01c8 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Enrich/EnrichStatsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Enrich/EnrichStatsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Enrich/ExecutePolicyRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Enrich/ExecutePolicyRequest.g.cs index 341956997e7..bfcd84f9629 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Enrich/ExecutePolicyRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Enrich/ExecutePolicyRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Enrich/GetPolicyRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Enrich/GetPolicyRequest.g.cs index 8bdf06568c5..18a6f0883de 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Enrich/GetPolicyRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Enrich/GetPolicyRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Enrich/PutPolicyRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Enrich/PutPolicyRequest.g.cs index 52d73b69b22..2b519e863af 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Enrich/PutPolicyRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Enrich/PutPolicyRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Eql/EqlDeleteRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Eql/EqlDeleteRequest.g.cs index f908eea90e5..26bafe47bd1 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Eql/EqlDeleteRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Eql/EqlDeleteRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Eql/EqlGetRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Eql/EqlGetRequest.g.cs index 0bbd65326c0..c9192b2f318 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Eql/EqlGetRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Eql/EqlGetRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Eql/EqlSearchRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Eql/EqlSearchRequest.g.cs index 086ac9ef3c4..f01dfc28fc2 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Eql/EqlSearchRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Eql/EqlSearchRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Eql/GetEqlStatusRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Eql/GetEqlStatusRequest.g.cs index d88d22c56bb..4c8761fbd1c 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Eql/GetEqlStatusRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Eql/GetEqlStatusRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Esql/EsqlQueryRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Esql/EsqlQueryRequest.g.cs index 3a9c22fbcf8..0d7346ea8b4 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Esql/EsqlQueryRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Esql/EsqlQueryRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ExistsRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ExistsRequest.g.cs index e24bcb41a50..49b0e900db4 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ExistsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ExistsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ExistsSourceRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ExistsSourceRequest.g.cs index 19dbbc8c024..2f40a52f211 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ExistsSourceRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ExistsSourceRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ExplainRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ExplainRequest.g.cs index 28d5e4b07a8..b372cd2365c 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ExplainRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ExplainRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/FieldCapsRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/FieldCapsRequest.g.cs index 293d92123dd..da4e00b2404 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/FieldCapsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/FieldCapsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/GetRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/GetRequest.g.cs index e63379bc27d..ab515ef772d 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/GetRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/GetRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/GetScriptRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/GetScriptRequest.g.cs index 1895448bcf2..9550ee70937 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/GetScriptRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/GetScriptRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/GetSourceRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/GetSourceRequest.g.cs index 28f508e3429..a7cf0ccf4a0 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/GetSourceRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/GetSourceRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Graph/ExploreRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Graph/ExploreRequest.g.cs index 919bd54cfd5..98a5e46eb17 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Graph/ExploreRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Graph/ExploreRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/HealthReportRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/HealthReportRequest.g.cs index a50ae8b7405..95f49997489 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/HealthReportRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/HealthReportRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/AnalyzeIndexRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/AnalyzeIndexRequest.g.cs index e340047680c..19c041d5f48 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/AnalyzeIndexRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/AnalyzeIndexRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ClearCacheRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ClearCacheRequest.g.cs index f5c44eb2b8d..b775af01f88 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ClearCacheRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ClearCacheRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/CloseIndexRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/CloseIndexRequest.g.cs index b2b1457b415..fea6ec149ae 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/CloseIndexRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/CloseIndexRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/CreateDataStreamRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/CreateDataStreamRequest.g.cs index 5183e7d899e..b9173b90ce0 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/CreateDataStreamRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/CreateDataStreamRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/CreateIndexRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/CreateIndexRequest.g.cs index 3cb5cfa008b..746e53173e0 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/CreateIndexRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/CreateIndexRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/DataStreamsStatsRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/DataStreamsStatsRequest.g.cs index 23ca7d0e743..71d611237d2 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/DataStreamsStatsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/DataStreamsStatsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/DeleteAliasRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/DeleteAliasRequest.g.cs index 79e974c5971..7e96e2d1523 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/DeleteAliasRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/DeleteAliasRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/DeleteDataLifecycleRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/DeleteDataLifecycleRequest.g.cs index 5c7353df9c6..d51c20ece9f 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/DeleteDataLifecycleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/DeleteDataLifecycleRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/DeleteDataStreamRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/DeleteDataStreamRequest.g.cs index e178b78aa84..bf4d32f7578 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/DeleteDataStreamRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/DeleteDataStreamRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/DeleteIndexRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/DeleteIndexRequest.g.cs index 3e2f89fd832..b9999ccd09b 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/DeleteIndexRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/DeleteIndexRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/DeleteIndexTemplateRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/DeleteIndexTemplateRequest.g.cs index 32f44bf2b47..41a810306d5 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/DeleteIndexTemplateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/DeleteIndexTemplateRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ExistsAliasRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ExistsAliasRequest.g.cs index a622fae0b98..9f27881dc8f 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ExistsAliasRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ExistsAliasRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ExistsIndexTemplateRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ExistsIndexTemplateRequest.g.cs index d7979515bbc..661999ee9f7 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ExistsIndexTemplateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ExistsIndexTemplateRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ExistsRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ExistsRequest.g.cs index ff4cda826be..0236d6f8fb4 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ExistsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ExistsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ExplainDataLifecycleRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ExplainDataLifecycleRequest.g.cs index 9c6b9667348..e0b93bd6566 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ExplainDataLifecycleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ExplainDataLifecycleRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/FlushRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/FlushRequest.g.cs index aa4e5d9d7da..14a44b06337 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/FlushRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/FlushRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ForcemergeRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ForcemergeRequest.g.cs index 64f8ea4330c..4a1a1515bfa 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ForcemergeRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ForcemergeRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/GetAliasRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/GetAliasRequest.g.cs index e9b58304329..53820d6bb2a 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/GetAliasRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/GetAliasRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/GetDataLifecycleRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/GetDataLifecycleRequest.g.cs index c16e10b2327..d01d9a3cf0f 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/GetDataLifecycleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/GetDataLifecycleRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/GetDataStreamRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/GetDataStreamRequest.g.cs index 88efd35baf2..0875d040842 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/GetDataStreamRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/GetDataStreamRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/GetIndexRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/GetIndexRequest.g.cs index 42c8a75f74d..b75468eb210 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/GetIndexRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/GetIndexRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/GetIndexTemplateRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/GetIndexTemplateRequest.g.cs index 134c2334a9a..e75aa237879 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/GetIndexTemplateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/GetIndexTemplateRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/GetIndicesSettingsRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/GetIndicesSettingsRequest.g.cs index e1453114ad2..0c47c6f8d5a 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/GetIndicesSettingsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/GetIndicesSettingsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/GetMappingRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/GetMappingRequest.g.cs index 11da64b673d..966e283780e 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/GetMappingRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/GetMappingRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/IndicesStatsRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/IndicesStatsRequest.g.cs index 9ad8458a9a6..accee52904d 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/IndicesStatsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/IndicesStatsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/MigrateToDataStreamRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/MigrateToDataStreamRequest.g.cs index c492fe65fb7..9bdaa0a0cfc 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/MigrateToDataStreamRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/MigrateToDataStreamRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ModifyDataStreamRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ModifyDataStreamRequest.g.cs index 1145204f2c7..13a2456efc9 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ModifyDataStreamRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ModifyDataStreamRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/OpenIndexRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/OpenIndexRequest.g.cs index ac21682f415..2c0a31fa6b1 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/OpenIndexRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/OpenIndexRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/PutAliasRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/PutAliasRequest.g.cs index 36431fcb415..9a41aa815c3 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/PutAliasRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/PutAliasRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/PutDataLifecycleRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/PutDataLifecycleRequest.g.cs index 439d6377046..3c979b58a57 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/PutDataLifecycleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/PutDataLifecycleRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/PutIndexTemplateRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/PutIndexTemplateRequest.g.cs index 0bb21806f9b..5ff90d349b1 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/PutIndexTemplateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/PutIndexTemplateRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/PutIndicesSettingsRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/PutIndicesSettingsRequest.g.cs index 658feafaeb0..ea49bfef5ac 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/PutIndicesSettingsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/PutIndicesSettingsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/PutMappingRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/PutMappingRequest.g.cs index e59d8c3dddc..64cd0a8f573 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/PutMappingRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/PutMappingRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/RecoveryRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/RecoveryRequest.g.cs index 40b9b4b55d0..e1995519ba4 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/RecoveryRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/RecoveryRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/RefreshRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/RefreshRequest.g.cs index 3bdb87f8baf..d8b77384e22 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/RefreshRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/RefreshRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ResolveIndexRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ResolveIndexRequest.g.cs index 35ff26b1dce..93fefd387c2 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ResolveIndexRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ResolveIndexRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/RolloverRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/RolloverRequest.g.cs index 0121d53bc30..8fb0a81cfd2 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/RolloverRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/RolloverRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/SegmentsRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/SegmentsRequest.g.cs index 2f68f3a4ec4..0960e65ef67 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/SegmentsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/SegmentsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/SimulateIndexTemplateRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/SimulateIndexTemplateRequest.g.cs index 7e77705f613..b5ec5a933a7 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/SimulateIndexTemplateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/SimulateIndexTemplateRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/SimulateTemplateRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/SimulateTemplateRequest.g.cs index d2221056b69..0eda30d559e 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/SimulateTemplateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/SimulateTemplateRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/UpdateAliasesRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/UpdateAliasesRequest.g.cs index 5a97ea06129..eb681f76ea7 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/UpdateAliasesRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/UpdateAliasesRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ValidateQueryRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ValidateQueryRequest.g.cs index fab104b5d0b..74dcc20cc2e 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ValidateQueryRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ValidateQueryRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexRequest.g.cs index b4a45e8a2a4..de8f1f2caf9 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; @@ -246,7 +247,7 @@ public IndexRequest(Elastic.Clients.Elasticsearch.Serverless.IndexName index) : void ISelfSerializable.Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) { - SourceSerialization.Serialize(Document, writer, settings.SourceSerializer); + settings.SourceSerializer.Serialize(Document, writer); } } @@ -316,6 +317,6 @@ public IndexRequestDescriptor Document(TDocument document) protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) { - SourceSerialization.Serialize(DocumentValue, writer, settings.SourceSerializer); + settings.SourceSerializer.Serialize(DocumentValue, writer); } } \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/InfoRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/InfoRequest.g.cs index 5f2c5c58308..7b25a03ae4e 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/InfoRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/InfoRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Ingest/DeleteGeoipDatabaseRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Ingest/DeleteGeoipDatabaseRequest.g.cs index 3832abe96c9..4f5534ed14b 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Ingest/DeleteGeoipDatabaseRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Ingest/DeleteGeoipDatabaseRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Ingest/DeletePipelineRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Ingest/DeletePipelineRequest.g.cs index ce25577c563..8f5ab4ef007 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Ingest/DeletePipelineRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Ingest/DeletePipelineRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Ingest/GeoIpStatsRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Ingest/GeoIpStatsRequest.g.cs index 5c504e1a06a..e8c2ad23910 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Ingest/GeoIpStatsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Ingest/GeoIpStatsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Ingest/GetGeoipDatabaseRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Ingest/GetGeoipDatabaseRequest.g.cs index 9357f9a91aa..fad567b53e1 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Ingest/GetGeoipDatabaseRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Ingest/GetGeoipDatabaseRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Ingest/GetPipelineRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Ingest/GetPipelineRequest.g.cs index 1eaa9de7745..6c0946d0c25 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Ingest/GetPipelineRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Ingest/GetPipelineRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Ingest/ProcessorGrokRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Ingest/ProcessorGrokRequest.g.cs index 40ea0fdd310..d215d173bb3 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Ingest/ProcessorGrokRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Ingest/ProcessorGrokRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Ingest/PutGeoipDatabaseRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Ingest/PutGeoipDatabaseRequest.g.cs index a3301b745e5..786cdeb77e0 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Ingest/PutGeoipDatabaseRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Ingest/PutGeoipDatabaseRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Ingest/PutPipelineRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Ingest/PutPipelineRequest.g.cs index f4019717ca4..fd417ebf29c 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Ingest/PutPipelineRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Ingest/PutPipelineRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Ingest/SimulateRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Ingest/SimulateRequest.g.cs index 836ce519196..7d516a05062 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Ingest/SimulateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Ingest/SimulateRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/LicenseManagement/GetLicenseRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/LicenseManagement/GetLicenseRequest.g.cs index 8b2735c6601..772b0aac731 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/LicenseManagement/GetLicenseRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/LicenseManagement/GetLicenseRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/ClearTrainedModelDeploymentCacheRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/ClearTrainedModelDeploymentCacheRequest.g.cs index db0df6d163d..b70da8b4f0b 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/ClearTrainedModelDeploymentCacheRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/ClearTrainedModelDeploymentCacheRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/CloseJobRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/CloseJobRequest.g.cs index 9f2c6d30fc3..58d90c398c7 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/CloseJobRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/CloseJobRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteCalendarEventRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteCalendarEventRequest.g.cs index 8c19f7e7fa3..a9193fe4006 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteCalendarEventRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteCalendarEventRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteCalendarJobRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteCalendarJobRequest.g.cs index 54ca856ea5f..5926fd2b73c 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteCalendarJobRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteCalendarJobRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteCalendarRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteCalendarRequest.g.cs index ce43b27a948..b77793deb14 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteCalendarRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteCalendarRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteDataFrameAnalyticsRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteDataFrameAnalyticsRequest.g.cs index 610d57b513c..7be7cfbcf04 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteDataFrameAnalyticsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteDataFrameAnalyticsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteDatafeedRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteDatafeedRequest.g.cs index 14213fd405f..00d0678ceed 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteDatafeedRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteDatafeedRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteExpiredDataRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteExpiredDataRequest.g.cs index 8fc811170f4..4731b95db3b 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteExpiredDataRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteExpiredDataRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteFilterRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteFilterRequest.g.cs index 7bf228c64b8..c7d73bbee0f 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteFilterRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteFilterRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteForecastRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteForecastRequest.g.cs index 3316c5ce8aa..65e2a4bcba5 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteForecastRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteForecastRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteJobRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteJobRequest.g.cs index d80fc5507b8..b3ae38ccd95 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteJobRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteJobRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteModelSnapshotRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteModelSnapshotRequest.g.cs index b9668f74c3f..f7f45614a18 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteModelSnapshotRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteModelSnapshotRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteTrainedModelAliasRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteTrainedModelAliasRequest.g.cs index 129416bc867..8a2bb6f0332 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteTrainedModelAliasRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteTrainedModelAliasRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteTrainedModelRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteTrainedModelRequest.g.cs index 2f389266385..a67f6f1a816 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteTrainedModelRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteTrainedModelRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/EstimateModelMemoryRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/EstimateModelMemoryRequest.g.cs index 61cd20f930b..31aba530006 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/EstimateModelMemoryRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/EstimateModelMemoryRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/EvaluateDataFrameRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/EvaluateDataFrameRequest.g.cs index 31bba7175d0..5e75e055fc7 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/EvaluateDataFrameRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/EvaluateDataFrameRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/ExplainDataFrameAnalyticsRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/ExplainDataFrameAnalyticsRequest.g.cs index d3ba88414e2..bcba58a723b 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/ExplainDataFrameAnalyticsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/ExplainDataFrameAnalyticsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/FlushJobRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/FlushJobRequest.g.cs index 3c31c77effa..9be14763bfa 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/FlushJobRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/FlushJobRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/ForecastRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/ForecastRequest.g.cs index 0d568f3f451..d7ab688c996 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/ForecastRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/ForecastRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetBucketsRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetBucketsRequest.g.cs index 2728612b64e..000c92a69a4 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetBucketsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetBucketsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetCalendarEventsRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetCalendarEventsRequest.g.cs index fd707b15679..89dc4aec915 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetCalendarEventsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetCalendarEventsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetCalendarsRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetCalendarsRequest.g.cs index 858887e8078..4ea7f49c534 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetCalendarsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetCalendarsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetCategoriesRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetCategoriesRequest.g.cs index 62ffd0e1fd5..22c6ffe83ea 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetCategoriesRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetCategoriesRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetDataFrameAnalyticsRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetDataFrameAnalyticsRequest.g.cs index 0d3fa16f386..978f87804b9 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetDataFrameAnalyticsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetDataFrameAnalyticsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetDataFrameAnalyticsStatsRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetDataFrameAnalyticsStatsRequest.g.cs index f2cb75d7087..37e600dff08 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetDataFrameAnalyticsStatsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetDataFrameAnalyticsStatsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetDatafeedStatsRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetDatafeedStatsRequest.g.cs index 7ff66606245..202bb74adaa 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetDatafeedStatsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetDatafeedStatsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetDatafeedsRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetDatafeedsRequest.g.cs index e5953844a97..0c7a6c9e4bb 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetDatafeedsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetDatafeedsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetFiltersRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetFiltersRequest.g.cs index 75c987777ed..50976e51819 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetFiltersRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetFiltersRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetInfluencersRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetInfluencersRequest.g.cs index 8465dd876ae..a2bfb5349fc 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetInfluencersRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetInfluencersRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetJobStatsRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetJobStatsRequest.g.cs index 4c7c1da7d14..bcaf990b9ca 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetJobStatsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetJobStatsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetJobsRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetJobsRequest.g.cs index d1d20095279..57b18c0b024 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetJobsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetJobsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetMemoryStatsRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetMemoryStatsRequest.g.cs index 984de164d30..566744ca06f 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetMemoryStatsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetMemoryStatsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetModelSnapshotUpgradeStatsRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetModelSnapshotUpgradeStatsRequest.g.cs index 2c1de76fc72..794d29a8ffa 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetModelSnapshotUpgradeStatsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetModelSnapshotUpgradeStatsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetModelSnapshotsRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetModelSnapshotsRequest.g.cs index 97a917919f1..c222148d131 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetModelSnapshotsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetModelSnapshotsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetOverallBucketsRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetOverallBucketsRequest.g.cs index 2c7945a73f6..1e2877a88e7 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetOverallBucketsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetOverallBucketsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetRecordsRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetRecordsRequest.g.cs index ce17db2305d..5c1469f0ce4 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetRecordsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetRecordsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetTrainedModelsRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetTrainedModelsRequest.g.cs index 35a99be4287..309d344b1ad 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetTrainedModelsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetTrainedModelsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetTrainedModelsStatsRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetTrainedModelsStatsRequest.g.cs index f8d61fd5c89..8bdac0c39d1 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetTrainedModelsStatsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetTrainedModelsStatsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/InferTrainedModelRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/InferTrainedModelRequest.g.cs index 38140045363..93354770d71 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/InferTrainedModelRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/InferTrainedModelRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/MlInfoRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/MlInfoRequest.g.cs index f22997bf6ff..eaed39dd0d7 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/MlInfoRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/MlInfoRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/OpenJobRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/OpenJobRequest.g.cs index 3abb9f4d4e6..079c74ffe3e 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/OpenJobRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/OpenJobRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/PostCalendarEventsRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/PostCalendarEventsRequest.g.cs index 9129a7de810..a4fe8a7aa03 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/PostCalendarEventsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/PostCalendarEventsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/PreviewDataFrameAnalyticsRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/PreviewDataFrameAnalyticsRequest.g.cs index 846920231f1..18255393669 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/PreviewDataFrameAnalyticsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/PreviewDataFrameAnalyticsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/PutCalendarJobRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/PutCalendarJobRequest.g.cs index e8dd1e140a3..f14d06fa9be 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/PutCalendarJobRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/PutCalendarJobRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/PutCalendarRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/PutCalendarRequest.g.cs index a3e81d7d81f..30744c748b0 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/PutCalendarRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/PutCalendarRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/PutDataFrameAnalyticsRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/PutDataFrameAnalyticsRequest.g.cs index 3eab22835d9..8f5e1b2b473 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/PutDataFrameAnalyticsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/PutDataFrameAnalyticsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/PutDatafeedRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/PutDatafeedRequest.g.cs index 0ebb1ea6b80..21cd468437c 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/PutDatafeedRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/PutDatafeedRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/PutFilterRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/PutFilterRequest.g.cs index 307c8c63327..83aece34c13 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/PutFilterRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/PutFilterRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/PutJobRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/PutJobRequest.g.cs index 8e7709adc0a..a328a9024b6 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/PutJobRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/PutJobRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/PutTrainedModelAliasRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/PutTrainedModelAliasRequest.g.cs index 50c8269a441..7e1b3290619 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/PutTrainedModelAliasRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/PutTrainedModelAliasRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/PutTrainedModelDefinitionPartRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/PutTrainedModelDefinitionPartRequest.g.cs index 99d244dd5f1..46b073093ea 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/PutTrainedModelDefinitionPartRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/PutTrainedModelDefinitionPartRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/PutTrainedModelRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/PutTrainedModelRequest.g.cs index f4e94246cc5..7d4e626063e 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/PutTrainedModelRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/PutTrainedModelRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/PutTrainedModelVocabularyRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/PutTrainedModelVocabularyRequest.g.cs index a95bd42111c..726bb60eafc 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/PutTrainedModelVocabularyRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/PutTrainedModelVocabularyRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/ResetJobRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/ResetJobRequest.g.cs index 6f37f08b868..aa3f166a8e7 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/ResetJobRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/ResetJobRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/RevertModelSnapshotRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/RevertModelSnapshotRequest.g.cs index abc7ec6dc2e..facea174277 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/RevertModelSnapshotRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/RevertModelSnapshotRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/SetUpgradeModeRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/SetUpgradeModeRequest.g.cs index 163c705e894..5e1a6f0f920 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/SetUpgradeModeRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/SetUpgradeModeRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/StartDataFrameAnalyticsRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/StartDataFrameAnalyticsRequest.g.cs index 0193352dfeb..c4967363ed4 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/StartDataFrameAnalyticsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/StartDataFrameAnalyticsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/StartDatafeedRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/StartDatafeedRequest.g.cs index 4e45349d057..b13efcbd0ea 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/StartDatafeedRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/StartDatafeedRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/StartTrainedModelDeploymentRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/StartTrainedModelDeploymentRequest.g.cs index 8239be0b587..f84b0145fcc 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/StartTrainedModelDeploymentRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/StartTrainedModelDeploymentRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/StopDataFrameAnalyticsRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/StopDataFrameAnalyticsRequest.g.cs index 979254508ff..ee5fbdccf66 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/StopDataFrameAnalyticsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/StopDataFrameAnalyticsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/StopDatafeedRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/StopDatafeedRequest.g.cs index ee776b9d3da..5e2ff84485d 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/StopDatafeedRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/StopDatafeedRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/StopTrainedModelDeploymentRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/StopTrainedModelDeploymentRequest.g.cs index 8c06e8ee0e2..8caf585fe7d 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/StopTrainedModelDeploymentRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/StopTrainedModelDeploymentRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/UpdateDataFrameAnalyticsRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/UpdateDataFrameAnalyticsRequest.g.cs index a8a95458c4e..3deec915db0 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/UpdateDataFrameAnalyticsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/UpdateDataFrameAnalyticsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/UpdateDatafeedRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/UpdateDatafeedRequest.g.cs index fd7b187677e..4a7029991d4 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/UpdateDatafeedRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/UpdateDatafeedRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/UpdateFilterRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/UpdateFilterRequest.g.cs index 776f304e42a..fe2b4112df2 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/UpdateFilterRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/UpdateFilterRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/UpdateJobRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/UpdateJobRequest.g.cs index 9ac634298a2..ae9051b30bc 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/UpdateJobRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/UpdateJobRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/UpdateModelSnapshotRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/UpdateModelSnapshotRequest.g.cs index 0b02574bcef..482d98fbf97 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/UpdateModelSnapshotRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/UpdateModelSnapshotRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/UpgradeJobSnapshotRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/UpgradeJobSnapshotRequest.g.cs index 0e385cc3350..18b35ba5b71 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/UpgradeJobSnapshotRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/UpgradeJobSnapshotRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/ValidateDetectorRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/ValidateDetectorRequest.g.cs index 0d71e337459..2a37e67278c 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/ValidateDetectorRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/ValidateDetectorRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/ValidateRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/ValidateRequest.g.cs index da1ea34eb21..74f7c612d62 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/ValidateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/ValidateRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MultiGetRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MultiGetRequest.g.cs index 1ce6fadcc65..9aa85448a96 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MultiGetRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MultiGetRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MultiSearchRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MultiSearchRequest.g.cs index cacee94a167..8c0ef9bbda7 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MultiSearchRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MultiSearchRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.IO; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MultiSearchTemplateRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MultiSearchTemplateRequest.g.cs index b8c319c3d88..3d32f3e4575 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MultiSearchTemplateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MultiSearchTemplateRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.IO; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MultiTermVectorsRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MultiTermVectorsRequest.g.cs index 78dae622801..1f4602c4741 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MultiTermVectorsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MultiTermVectorsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Nodes/HotThreadsRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Nodes/HotThreadsRequest.g.cs index a0e1f4011c6..db93be34837 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Nodes/HotThreadsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Nodes/HotThreadsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Nodes/NodesInfoRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Nodes/NodesInfoRequest.g.cs index 2d418a9957c..4b4b4da648f 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Nodes/NodesInfoRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Nodes/NodesInfoRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Nodes/NodesStatsRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Nodes/NodesStatsRequest.g.cs index 2eb10229211..84bcd40044d 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Nodes/NodesStatsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Nodes/NodesStatsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Nodes/NodesUsageRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Nodes/NodesUsageRequest.g.cs index e655fd43792..2b05ccd320b 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Nodes/NodesUsageRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Nodes/NodesUsageRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/OpenPointInTimeRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/OpenPointInTimeRequest.g.cs index 769f6db4bcb..da6b9acc96f 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/OpenPointInTimeRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/OpenPointInTimeRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/PingRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/PingRequest.g.cs index 33dafd6f976..ca73ff8e6b8 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/PingRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/PingRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/PutScriptRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/PutScriptRequest.g.cs index e86f7e88aa1..dcb83136ca9 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/PutScriptRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/PutScriptRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/QueryRules/DeleteRuleRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/QueryRules/DeleteRuleRequest.g.cs index dd95c7a0111..68f4d45387b 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/QueryRules/DeleteRuleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/QueryRules/DeleteRuleRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/QueryRules/DeleteRulesetRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/QueryRules/DeleteRulesetRequest.g.cs index fbccf927d64..53750c2a169 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/QueryRules/DeleteRulesetRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/QueryRules/DeleteRulesetRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/QueryRules/GetRuleRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/QueryRules/GetRuleRequest.g.cs index 1800ee95924..82b9cfb4363 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/QueryRules/GetRuleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/QueryRules/GetRuleRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/QueryRules/GetRulesetRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/QueryRules/GetRulesetRequest.g.cs index e7df1907fed..713129ca4dd 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/QueryRules/GetRulesetRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/QueryRules/GetRulesetRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/QueryRules/ListRulesetsRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/QueryRules/ListRulesetsRequest.g.cs index bfac7d7d9c4..b8ac43368da 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/QueryRules/ListRulesetsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/QueryRules/ListRulesetsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/QueryRules/PutRuleRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/QueryRules/PutRuleRequest.g.cs index e8c13c62bdd..df796ed43a9 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/QueryRules/PutRuleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/QueryRules/PutRuleRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/QueryRules/PutRulesetRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/QueryRules/PutRulesetRequest.g.cs index cd31931ffe0..c5345402201 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/QueryRules/PutRulesetRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/QueryRules/PutRulesetRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/RankEvalRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/RankEvalRequest.g.cs index 69ff475374b..85d9c3e904c 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/RankEvalRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/RankEvalRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ReindexRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ReindexRequest.g.cs index 95d2c0f1980..2bdf65a0f2d 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ReindexRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ReindexRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ReindexRethrottleRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ReindexRethrottleRequest.g.cs index ddb5d42e4f1..d0738646824 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ReindexRethrottleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ReindexRethrottleRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/RenderSearchTemplateRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/RenderSearchTemplateRequest.g.cs index 07b1760ae43..98214e0bfa4 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/RenderSearchTemplateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/RenderSearchTemplateRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ScrollRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ScrollRequest.g.cs index 80b60e31b90..4f722b979b8 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ScrollRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ScrollRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SearchMvtRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SearchMvtRequest.g.cs index 27cb84e2b63..5c1f2d95bc6 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SearchMvtRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SearchMvtRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SearchRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SearchRequest.g.cs index 35976debed0..79e1a49b383 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SearchRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SearchRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SearchTemplateRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SearchTemplateRequest.g.cs index 9cd5b268e2c..e1288d7fefc 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SearchTemplateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SearchTemplateRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/ActivateUserProfileRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/ActivateUserProfileRequest.g.cs index 9b7d53c88ad..51d7f4d54b2 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/ActivateUserProfileRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/ActivateUserProfileRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/AuthenticateRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/AuthenticateRequest.g.cs index 8788e7dc1ed..ecd2ad18764 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/AuthenticateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/AuthenticateRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/BulkDeleteRoleRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/BulkDeleteRoleRequest.g.cs index 49545b0f963..ee3942ef7ac 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/BulkDeleteRoleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/BulkDeleteRoleRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/BulkPutRoleRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/BulkPutRoleRequest.g.cs index 0a15f6d6413..f7cf7f825e2 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/BulkPutRoleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/BulkPutRoleRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/ClearApiKeyCacheRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/ClearApiKeyCacheRequest.g.cs index 4647a129f1b..342b9460d4d 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/ClearApiKeyCacheRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/ClearApiKeyCacheRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/ClearCachedPrivilegesRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/ClearCachedPrivilegesRequest.g.cs index cef156ee080..6222ec0725b 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/ClearCachedPrivilegesRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/ClearCachedPrivilegesRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/ClearCachedRealmsRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/ClearCachedRealmsRequest.g.cs index 38ff7ca998b..e867442c434 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/ClearCachedRealmsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/ClearCachedRealmsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/ClearCachedRolesRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/ClearCachedRolesRequest.g.cs index 38e07e69001..63eb2f221d5 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/ClearCachedRolesRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/ClearCachedRolesRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/ClearCachedServiceTokensRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/ClearCachedServiceTokensRequest.g.cs index 5bb0d3a44d7..6290641f215 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/ClearCachedServiceTokensRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/ClearCachedServiceTokensRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/CreateApiKeyRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/CreateApiKeyRequest.g.cs index 1eee8df99aa..45ea6354019 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/CreateApiKeyRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/CreateApiKeyRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/CreateServiceTokenRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/CreateServiceTokenRequest.g.cs index fd4f499ab0a..cf914c5cb46 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/CreateServiceTokenRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/CreateServiceTokenRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/DeletePrivilegesRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/DeletePrivilegesRequest.g.cs index 3ba1aaaa1cf..b13523c31d5 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/DeletePrivilegesRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/DeletePrivilegesRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/DeleteRoleMappingRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/DeleteRoleMappingRequest.g.cs index b9f237e97a6..51e64452bb0 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/DeleteRoleMappingRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/DeleteRoleMappingRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/DeleteRoleRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/DeleteRoleRequest.g.cs index 50ac48cefc1..8b78b92a099 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/DeleteRoleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/DeleteRoleRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/DeleteServiceTokenRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/DeleteServiceTokenRequest.g.cs index 11073804c2b..48fd4aeb88e 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/DeleteServiceTokenRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/DeleteServiceTokenRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/DisableUserProfileRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/DisableUserProfileRequest.g.cs index fc3ed9282be..ffe29e0129b 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/DisableUserProfileRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/DisableUserProfileRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/EnableUserProfileRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/EnableUserProfileRequest.g.cs index 2263cb4aa2b..4e0b5e25e00 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/EnableUserProfileRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/EnableUserProfileRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetApiKeyRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetApiKeyRequest.g.cs index ab5a750f0b6..4b6499dc563 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetApiKeyRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetApiKeyRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetBuiltinPrivilegesRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetBuiltinPrivilegesRequest.g.cs index 26bff95de4f..326829e915f 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetBuiltinPrivilegesRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetBuiltinPrivilegesRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetPrivilegesRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetPrivilegesRequest.g.cs index ec87394ca9e..da45eb97feb 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetPrivilegesRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetPrivilegesRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetRoleMappingRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetRoleMappingRequest.g.cs index a1a2f9bf581..30e94b5b7f3 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetRoleMappingRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetRoleMappingRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetRoleRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetRoleRequest.g.cs index 3b86f9ba8c9..f4132f81a2f 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetRoleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetRoleRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetServiceAccountsRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetServiceAccountsRequest.g.cs index af9fd73de29..3d722b0eb8b 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetServiceAccountsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetServiceAccountsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetServiceCredentialsRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetServiceCredentialsRequest.g.cs index f790f6794c9..3d2a0ecfb8d 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetServiceCredentialsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetServiceCredentialsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetTokenRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetTokenRequest.g.cs index 3b89a43486b..0fea9bc36db 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetTokenRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetTokenRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetUserPrivilegesRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetUserPrivilegesRequest.g.cs index 9b3f5475ff9..3f6b988aad1 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetUserPrivilegesRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetUserPrivilegesRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetUserProfileRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetUserProfileRequest.g.cs index d1fdb32c053..bb282a71b60 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetUserProfileRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetUserProfileRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GrantApiKeyRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GrantApiKeyRequest.g.cs index dc869cec5ba..250badd5619 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GrantApiKeyRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GrantApiKeyRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/HasPrivilegesRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/HasPrivilegesRequest.g.cs index 75358b5db25..dbeec56ac2a 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/HasPrivilegesRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/HasPrivilegesRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/HasPrivilegesUserProfileRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/HasPrivilegesUserProfileRequest.g.cs index 3c691698789..ec0fc8461a8 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/HasPrivilegesUserProfileRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/HasPrivilegesUserProfileRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/InvalidateApiKeyRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/InvalidateApiKeyRequest.g.cs index b07642ff132..d9256ca110e 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/InvalidateApiKeyRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/InvalidateApiKeyRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/InvalidateTokenRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/InvalidateTokenRequest.g.cs index 1e65b16c9c9..3f146541c72 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/InvalidateTokenRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/InvalidateTokenRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/PutPrivilegesRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/PutPrivilegesRequest.g.cs index f3253850b85..ab3366a5509 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/PutPrivilegesRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/PutPrivilegesRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.IO; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/PutRoleMappingRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/PutRoleMappingRequest.g.cs index f0fd4a895c9..9be7d80b892 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/PutRoleMappingRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/PutRoleMappingRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/PutRoleRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/PutRoleRequest.g.cs index 93c7b54b71c..17b733fefac 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/PutRoleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/PutRoleRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/QueryApiKeysRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/QueryApiKeysRequest.g.cs index 4589cb5ef09..7e74a7993c4 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/QueryApiKeysRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/QueryApiKeysRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/QueryRoleRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/QueryRoleRequest.g.cs index fffc62f9085..87f3f201e45 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/QueryRoleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/QueryRoleRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/QueryUserRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/QueryUserRequest.g.cs index 68f7966e44d..0f1142d276b 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/QueryUserRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/QueryUserRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/SamlAuthenticateRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/SamlAuthenticateRequest.g.cs index 312f6abf4a7..148ca66cd00 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/SamlAuthenticateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/SamlAuthenticateRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/SamlCompleteLogoutRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/SamlCompleteLogoutRequest.g.cs index a12629e4ba2..66f777e8d73 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/SamlCompleteLogoutRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/SamlCompleteLogoutRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/SamlInvalidateRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/SamlInvalidateRequest.g.cs index cf7be1c7b05..cdcc6ca1c5a 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/SamlInvalidateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/SamlInvalidateRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/SamlLogoutRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/SamlLogoutRequest.g.cs index cd2b87084c8..0423c1881d5 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/SamlLogoutRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/SamlLogoutRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/SamlPrepareAuthenticationRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/SamlPrepareAuthenticationRequest.g.cs index 6a4c33b6a6f..92570ab779d 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/SamlPrepareAuthenticationRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/SamlPrepareAuthenticationRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/SamlServiceProviderMetadataRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/SamlServiceProviderMetadataRequest.g.cs index de2a004a00a..91804f5cb3b 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/SamlServiceProviderMetadataRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/SamlServiceProviderMetadataRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/SuggestUserProfilesRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/SuggestUserProfilesRequest.g.cs index 889d901e195..48bb4800091 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/SuggestUserProfilesRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/SuggestUserProfilesRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/UpdateApiKeyRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/UpdateApiKeyRequest.g.cs index cc892285e51..06552e2e13c 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/UpdateApiKeyRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/UpdateApiKeyRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/UpdateUserProfileDataRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/UpdateUserProfileDataRequest.g.cs index 80213bcee15..632005a5cc7 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/UpdateUserProfileDataRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/UpdateUserProfileDataRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Snapshot/CleanupRepositoryRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Snapshot/CleanupRepositoryRequest.g.cs index dc3a32faf69..536a9900476 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Snapshot/CleanupRepositoryRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Snapshot/CleanupRepositoryRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Snapshot/CloneSnapshotRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Snapshot/CloneSnapshotRequest.g.cs index 895f9427c77..980e63215bd 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Snapshot/CloneSnapshotRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Snapshot/CloneSnapshotRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Snapshot/CreateRepositoryRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Snapshot/CreateRepositoryRequest.g.cs index f439eb01a71..aa33ea57182 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Snapshot/CreateRepositoryRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Snapshot/CreateRepositoryRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Snapshot/CreateSnapshotRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Snapshot/CreateSnapshotRequest.g.cs index c5a148f5447..3ddf306d510 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Snapshot/CreateSnapshotRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Snapshot/CreateSnapshotRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Snapshot/DeleteRepositoryRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Snapshot/DeleteRepositoryRequest.g.cs index 8f1161f20dc..9ffe834ee6e 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Snapshot/DeleteRepositoryRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Snapshot/DeleteRepositoryRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Snapshot/DeleteSnapshotRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Snapshot/DeleteSnapshotRequest.g.cs index e505498c8fb..d3b43160891 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Snapshot/DeleteSnapshotRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Snapshot/DeleteSnapshotRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Snapshot/GetRepositoryRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Snapshot/GetRepositoryRequest.g.cs index 52143cbe9c8..42c34330963 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Snapshot/GetRepositoryRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Snapshot/GetRepositoryRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Snapshot/GetSnapshotRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Snapshot/GetSnapshotRequest.g.cs index e6fbe84a0c6..cead7ac5f96 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Snapshot/GetSnapshotRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Snapshot/GetSnapshotRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Snapshot/RestoreRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Snapshot/RestoreRequest.g.cs index 919861aeefb..1bad85d4a84 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Snapshot/RestoreRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Snapshot/RestoreRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Snapshot/SnapshotStatusRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Snapshot/SnapshotStatusRequest.g.cs index 48d630754f2..380bc29ce61 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Snapshot/SnapshotStatusRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Snapshot/SnapshotStatusRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Snapshot/VerifyRepositoryRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Snapshot/VerifyRepositoryRequest.g.cs index 60bc82b4c76..9cb312c97e3 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Snapshot/VerifyRepositoryRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Snapshot/VerifyRepositoryRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SnapshotLifecycleManagement/DeleteLifecycleRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SnapshotLifecycleManagement/DeleteLifecycleRequest.g.cs index 9185dfb4497..4928051cc69 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SnapshotLifecycleManagement/DeleteLifecycleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SnapshotLifecycleManagement/DeleteLifecycleRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SnapshotLifecycleManagement/ExecuteLifecycleRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SnapshotLifecycleManagement/ExecuteLifecycleRequest.g.cs index 94e6ed2d209..8eef429b7c5 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SnapshotLifecycleManagement/ExecuteLifecycleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SnapshotLifecycleManagement/ExecuteLifecycleRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SnapshotLifecycleManagement/ExecuteRetentionRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SnapshotLifecycleManagement/ExecuteRetentionRequest.g.cs index 85ebef47e24..f40e8846bee 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SnapshotLifecycleManagement/ExecuteRetentionRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SnapshotLifecycleManagement/ExecuteRetentionRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SnapshotLifecycleManagement/GetLifecycleRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SnapshotLifecycleManagement/GetLifecycleRequest.g.cs index 9176c90f39a..ec9a638e65a 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SnapshotLifecycleManagement/GetLifecycleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SnapshotLifecycleManagement/GetLifecycleRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SnapshotLifecycleManagement/GetSlmStatusRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SnapshotLifecycleManagement/GetSlmStatusRequest.g.cs index 97a1b70b905..fbf1bca10a5 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SnapshotLifecycleManagement/GetSlmStatusRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SnapshotLifecycleManagement/GetSlmStatusRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SnapshotLifecycleManagement/GetStatsRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SnapshotLifecycleManagement/GetStatsRequest.g.cs index 4dfaa30bda6..f9493bf36d2 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SnapshotLifecycleManagement/GetStatsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SnapshotLifecycleManagement/GetStatsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SnapshotLifecycleManagement/PutLifecycleRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SnapshotLifecycleManagement/PutLifecycleRequest.g.cs index 8f8d136e97a..0db37421a40 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SnapshotLifecycleManagement/PutLifecycleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SnapshotLifecycleManagement/PutLifecycleRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SnapshotLifecycleManagement/StartSlmRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SnapshotLifecycleManagement/StartSlmRequest.g.cs index 394d34fdec0..30e8185be51 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SnapshotLifecycleManagement/StartSlmRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SnapshotLifecycleManagement/StartSlmRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SnapshotLifecycleManagement/StopSlmRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SnapshotLifecycleManagement/StopSlmRequest.g.cs index 2492c4d0d46..f45eb97087a 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SnapshotLifecycleManagement/StopSlmRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SnapshotLifecycleManagement/StopSlmRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Sql/ClearCursorRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Sql/ClearCursorRequest.g.cs index d3f5a2a415c..cdd973674e8 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Sql/ClearCursorRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Sql/ClearCursorRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Sql/DeleteAsyncRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Sql/DeleteAsyncRequest.g.cs index cc741e63644..cd4a651c231 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Sql/DeleteAsyncRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Sql/DeleteAsyncRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Sql/GetAsyncRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Sql/GetAsyncRequest.g.cs index 35a0477155a..67f792e1318 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Sql/GetAsyncRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Sql/GetAsyncRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Sql/GetAsyncStatusRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Sql/GetAsyncStatusRequest.g.cs index e356874e9da..eef69541dba 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Sql/GetAsyncStatusRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Sql/GetAsyncStatusRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Sql/QueryRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Sql/QueryRequest.g.cs index c07aacaaa31..52855fd1922 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Sql/QueryRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Sql/QueryRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Sql/TranslateRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Sql/TranslateRequest.g.cs index ff1c27a038b..9d1b219c729 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Sql/TranslateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Sql/TranslateRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Synonyms/DeleteSynonymRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Synonyms/DeleteSynonymRequest.g.cs index 6020d220ab2..bbf7376e41c 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Synonyms/DeleteSynonymRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Synonyms/DeleteSynonymRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Synonyms/DeleteSynonymRuleRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Synonyms/DeleteSynonymRuleRequest.g.cs index b7738711561..4895992fa55 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Synonyms/DeleteSynonymRuleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Synonyms/DeleteSynonymRuleRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Synonyms/GetSynonymRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Synonyms/GetSynonymRequest.g.cs index fd701fa1eba..a3ba571e818 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Synonyms/GetSynonymRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Synonyms/GetSynonymRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Synonyms/GetSynonymRuleRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Synonyms/GetSynonymRuleRequest.g.cs index 40e41cdafdd..551a46722fc 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Synonyms/GetSynonymRuleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Synonyms/GetSynonymRuleRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Synonyms/GetSynonymsSetsRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Synonyms/GetSynonymsSetsRequest.g.cs index b48b61f87af..f3556c07639 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Synonyms/GetSynonymsSetsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Synonyms/GetSynonymsSetsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Synonyms/PutSynonymRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Synonyms/PutSynonymRequest.g.cs index 0c0999eee4e..eb3bc42c977 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Synonyms/PutSynonymRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Synonyms/PutSynonymRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Synonyms/PutSynonymRuleRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Synonyms/PutSynonymRuleRequest.g.cs index 0817a1097d0..8be950cb915 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Synonyms/PutSynonymRuleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Synonyms/PutSynonymRuleRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TermVectorsRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TermVectorsRequest.g.cs index 188b3bbb320..9819d123880 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TermVectorsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TermVectorsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; @@ -380,7 +381,7 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o if (DocValue is not null) { writer.WritePropertyName("doc"); - SourceSerialization.Serialize(DocValue, writer, settings.SourceSerializer); + settings.SourceSerializer.Serialize(DocValue, writer); } if (FilterDescriptor is not null) diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TermsEnumRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TermsEnumRequest.g.cs index bb1c84842d9..52e089690d1 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TermsEnumRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TermsEnumRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TextStructure/TestGrokPatternRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TextStructure/TestGrokPatternRequest.g.cs index 7a919159f1b..2dbc2a313ac 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TextStructure/TestGrokPatternRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TextStructure/TestGrokPatternRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TransformManagement/DeleteTransformRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TransformManagement/DeleteTransformRequest.g.cs index 9f3ae50b26c..5a9c2718908 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TransformManagement/DeleteTransformRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TransformManagement/DeleteTransformRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TransformManagement/GetTransformRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TransformManagement/GetTransformRequest.g.cs index 49b4e299702..e11fc2ef49f 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TransformManagement/GetTransformRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TransformManagement/GetTransformRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TransformManagement/GetTransformStatsRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TransformManagement/GetTransformStatsRequest.g.cs index 35c13f2f63f..be1b6061e59 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TransformManagement/GetTransformStatsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TransformManagement/GetTransformStatsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TransformManagement/PreviewTransformRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TransformManagement/PreviewTransformRequest.g.cs index 522ff56db3e..723590953b8 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TransformManagement/PreviewTransformRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TransformManagement/PreviewTransformRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TransformManagement/PutTransformRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TransformManagement/PutTransformRequest.g.cs index 5f0582187cd..7b451cfaa63 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TransformManagement/PutTransformRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TransformManagement/PutTransformRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TransformManagement/ResetTransformRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TransformManagement/ResetTransformRequest.g.cs index 3f5b65e9748..332e21511e7 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TransformManagement/ResetTransformRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TransformManagement/ResetTransformRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TransformManagement/ScheduleNowTransformRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TransformManagement/ScheduleNowTransformRequest.g.cs index f36b141fe68..a24956050eb 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TransformManagement/ScheduleNowTransformRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TransformManagement/ScheduleNowTransformRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TransformManagement/StartTransformRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TransformManagement/StartTransformRequest.g.cs index a8ce40e696f..497f8d71a13 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TransformManagement/StartTransformRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TransformManagement/StartTransformRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TransformManagement/StopTransformRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TransformManagement/StopTransformRequest.g.cs index b377e5f02e9..62562870894 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TransformManagement/StopTransformRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TransformManagement/StopTransformRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TransformManagement/UpdateTransformRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TransformManagement/UpdateTransformRequest.g.cs index 7e32990df7b..b414d107347 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TransformManagement/UpdateTransformRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TransformManagement/UpdateTransformRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TransformManagement/UpgradeTransformsRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TransformManagement/UpgradeTransformsRequest.g.cs index 3d6ca63425b..39f39a92812 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TransformManagement/UpgradeTransformsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TransformManagement/UpgradeTransformsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/UpdateByQueryRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/UpdateByQueryRequest.g.cs index 880cd1eeda2..19c11702a59 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/UpdateByQueryRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/UpdateByQueryRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/UpdateByQueryRethrottleRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/UpdateByQueryRethrottleRequest.g.cs index 469b6b336ac..a10de0936d2 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/UpdateByQueryRethrottleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/UpdateByQueryRethrottleRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/UpdateRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/UpdateRequest.g.cs index 00b975145e3..b1c84b42bce 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/UpdateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/UpdateRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; @@ -473,7 +474,7 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o if (DocValue is not null) { writer.WritePropertyName("doc"); - SourceSerialization.Serialize(DocValue, writer, settings.SourceSerializer); + settings.SourceSerializer.Serialize(DocValue, writer); } if (DocAsUpsertValue.HasValue) @@ -513,7 +514,7 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o if (UpsertValue is not null) { writer.WritePropertyName("upsert"); - SourceSerialization.Serialize(UpsertValue, writer, settings.SourceSerializer); + settings.SourceSerializer.Serialize(UpsertValue, writer); } writer.WriteEndObject(); diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Xpack/XpackInfoRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Xpack/XpackInfoRequest.g.cs index 36f4e1f3351..27e5362452e 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Xpack/XpackInfoRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Xpack/XpackInfoRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Xpack/XpackUsageRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Xpack/XpackUsageRequest.g.cs index fdd2695a5a0..e3db78bf7d7 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Xpack/XpackUsageRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Xpack/XpackUsageRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/Elastic.Clients.Elasticsearch.csproj b/src/Elastic.Clients.Elasticsearch/Elastic.Clients.Elasticsearch.csproj index 739f01d3602..dcd3c9db9d8 100644 --- a/src/Elastic.Clients.Elasticsearch/Elastic.Clients.Elasticsearch.csproj +++ b/src/Elastic.Clients.Elasticsearch/Elastic.Clients.Elasticsearch.csproj @@ -21,7 +21,7 @@ annotations - + diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/AsyncSearchStatusRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/AsyncSearchStatusRequest.g.cs index 161d317eb36..15213e6dde6 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/AsyncSearchStatusRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/AsyncSearchStatusRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/DeleteAsyncSearchRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/DeleteAsyncSearchRequest.g.cs index 2712b599330..335427c3133 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/DeleteAsyncSearchRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/DeleteAsyncSearchRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/GetAsyncSearchRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/GetAsyncSearchRequest.g.cs index 1bf4a779425..7014f6ae88d 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/GetAsyncSearchRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/GetAsyncSearchRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/SubmitAsyncSearchRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/SubmitAsyncSearchRequest.g.cs index aa79a1aaf15..070370fb9a5 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/SubmitAsyncSearchRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/SubmitAsyncSearchRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/BulkRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/BulkRequest.g.cs index fb0fce6ca19..c845dcfd97d 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/BulkRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/BulkRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/ClearScrollRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/ClearScrollRequest.g.cs index e67018e2e3e..44a39a87f99 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/ClearScrollRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/ClearScrollRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/ClosePointInTimeRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/ClosePointInTimeRequest.g.cs index 6dcfca5220e..9b343cb2798 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/ClosePointInTimeRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/ClosePointInTimeRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/AllocationExplainRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/AllocationExplainRequest.g.cs index 3d8ef87c0ac..de7f7b38f23 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/AllocationExplainRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/AllocationExplainRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/ClusterInfoRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/ClusterInfoRequest.g.cs index 301cea990ba..64573f02d86 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/ClusterInfoRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/ClusterInfoRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/ClusterStatsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/ClusterStatsRequest.g.cs index b35f97dfb6a..537d7315cc5 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/ClusterStatsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/ClusterStatsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/DeleteComponentTemplateRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/DeleteComponentTemplateRequest.g.cs index 32f6d69ab35..b0db2cd21b4 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/DeleteComponentTemplateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/DeleteComponentTemplateRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/DeleteVotingConfigExclusionsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/DeleteVotingConfigExclusionsRequest.g.cs index e5b72a01db5..d873078ca6b 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/DeleteVotingConfigExclusionsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/DeleteVotingConfigExclusionsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/ExistsComponentTemplateRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/ExistsComponentTemplateRequest.g.cs index a751e5546b0..8f2da988a43 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/ExistsComponentTemplateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/ExistsComponentTemplateRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/GetClusterSettingsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/GetClusterSettingsRequest.g.cs index 970172b0127..34fd028b7ed 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/GetClusterSettingsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/GetClusterSettingsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/GetComponentTemplateRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/GetComponentTemplateRequest.g.cs index 34c28379fae..a344e42d854 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/GetComponentTemplateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/GetComponentTemplateRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/HealthRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/HealthRequest.g.cs index ea031bcd050..faa130ea035 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/HealthRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/HealthRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/PendingTasksRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/PendingTasksRequest.g.cs index 387562ae73b..bc8b02c27af 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/PendingTasksRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/PendingTasksRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/PostVotingConfigExclusionsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/PostVotingConfigExclusionsRequest.g.cs index 1dfcfa937de..484e1d1d922 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/PostVotingConfigExclusionsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/PostVotingConfigExclusionsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/PutComponentTemplateRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/PutComponentTemplateRequest.g.cs index 216951b38ec..2670838909f 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/PutComponentTemplateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/PutComponentTemplateRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/CountRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/CountRequest.g.cs index 30fa707d9f5..93b2d7c8823 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/CountRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/CountRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/CreateRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/CreateRequest.g.cs index 08a4a4efb2b..e9cf25961c7 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/CreateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/CreateRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; @@ -172,7 +173,7 @@ public CreateRequest(Elastic.Clients.Elasticsearch.IndexName index, Elastic.Clie void ISelfSerializable.Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) { - SourceSerialization.Serialize(Document, writer, settings.SourceSerializer); + settings.SourceSerializer.Serialize(Document, writer); } } @@ -238,6 +239,6 @@ public CreateRequestDescriptor Document(TDocument document) protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) { - SourceSerialization.Serialize(DocumentValue, writer, settings.SourceSerializer); + settings.SourceSerializer.Serialize(DocumentValue, writer); } } \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/CrossClusterReplication/CcrStatsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/CrossClusterReplication/CcrStatsRequest.g.cs index 9773884078a..8430cab1866 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/CrossClusterReplication/CcrStatsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/CrossClusterReplication/CcrStatsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/CrossClusterReplication/DeleteAutoFollowPatternRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/CrossClusterReplication/DeleteAutoFollowPatternRequest.g.cs index aa830339381..7236742d6fc 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/CrossClusterReplication/DeleteAutoFollowPatternRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/CrossClusterReplication/DeleteAutoFollowPatternRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/CrossClusterReplication/FollowInfoRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/CrossClusterReplication/FollowInfoRequest.g.cs index d0614c3f819..484ffbdbd3f 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/CrossClusterReplication/FollowInfoRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/CrossClusterReplication/FollowInfoRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/CrossClusterReplication/FollowRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/CrossClusterReplication/FollowRequest.g.cs index 8f8c83045bf..34e1fcbab09 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/CrossClusterReplication/FollowRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/CrossClusterReplication/FollowRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/CrossClusterReplication/FollowStatsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/CrossClusterReplication/FollowStatsRequest.g.cs index b332fb34f36..84c37c5ef8f 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/CrossClusterReplication/FollowStatsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/CrossClusterReplication/FollowStatsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/CrossClusterReplication/ForgetFollowerRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/CrossClusterReplication/ForgetFollowerRequest.g.cs index e0e1e13558f..534aade2b25 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/CrossClusterReplication/ForgetFollowerRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/CrossClusterReplication/ForgetFollowerRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/CrossClusterReplication/GetAutoFollowPatternRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/CrossClusterReplication/GetAutoFollowPatternRequest.g.cs index 6a3868fd049..e8792e31dfc 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/CrossClusterReplication/GetAutoFollowPatternRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/CrossClusterReplication/GetAutoFollowPatternRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/CrossClusterReplication/PauseAutoFollowPatternRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/CrossClusterReplication/PauseAutoFollowPatternRequest.g.cs index f2ec08bdcac..b1ea27244a0 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/CrossClusterReplication/PauseAutoFollowPatternRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/CrossClusterReplication/PauseAutoFollowPatternRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/CrossClusterReplication/PauseFollowRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/CrossClusterReplication/PauseFollowRequest.g.cs index 726fa92e33a..1464d4bff6e 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/CrossClusterReplication/PauseFollowRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/CrossClusterReplication/PauseFollowRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/CrossClusterReplication/PutAutoFollowPatternRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/CrossClusterReplication/PutAutoFollowPatternRequest.g.cs index d8fbbace26e..a5386b3ba9f 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/CrossClusterReplication/PutAutoFollowPatternRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/CrossClusterReplication/PutAutoFollowPatternRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/CrossClusterReplication/ResumeAutoFollowPatternRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/CrossClusterReplication/ResumeAutoFollowPatternRequest.g.cs index cd7fb91615b..ef1b17de9f6 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/CrossClusterReplication/ResumeAutoFollowPatternRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/CrossClusterReplication/ResumeAutoFollowPatternRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/CrossClusterReplication/ResumeFollowRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/CrossClusterReplication/ResumeFollowRequest.g.cs index 7c4fadcf762..358d2d08210 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/CrossClusterReplication/ResumeFollowRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/CrossClusterReplication/ResumeFollowRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/CrossClusterReplication/UnfollowRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/CrossClusterReplication/UnfollowRequest.g.cs index 2dae9dd50fc..ff19808d599 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/CrossClusterReplication/UnfollowRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/CrossClusterReplication/UnfollowRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/DanglingIndices/ListDanglingIndicesRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/DanglingIndices/ListDanglingIndicesRequest.g.cs index 833cfd898c5..d7bfa075bab 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/DanglingIndices/ListDanglingIndicesRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/DanglingIndices/ListDanglingIndicesRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/DeleteByQueryRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/DeleteByQueryRequest.g.cs index 838ab44281d..34541aa28c1 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/DeleteByQueryRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/DeleteByQueryRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/DeleteByQueryRethrottleRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/DeleteByQueryRethrottleRequest.g.cs index 0249bb3b36e..e425b31cccf 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/DeleteByQueryRethrottleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/DeleteByQueryRethrottleRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/DeleteRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/DeleteRequest.g.cs index 21204ab4a47..479d7e6c9a3 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/DeleteRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/DeleteRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/DeleteScriptRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/DeleteScriptRequest.g.cs index c04439a7ae2..42659a1f2b2 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/DeleteScriptRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/DeleteScriptRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Enrich/DeletePolicyRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Enrich/DeletePolicyRequest.g.cs index cb1be69ee44..6e2547bbd3c 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Enrich/DeletePolicyRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Enrich/DeletePolicyRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Enrich/EnrichStatsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Enrich/EnrichStatsRequest.g.cs index ed7d5ceab9e..83c270e3f05 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Enrich/EnrichStatsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Enrich/EnrichStatsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Enrich/ExecutePolicyRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Enrich/ExecutePolicyRequest.g.cs index 322dbe70e38..ca8c85f9433 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Enrich/ExecutePolicyRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Enrich/ExecutePolicyRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Enrich/GetPolicyRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Enrich/GetPolicyRequest.g.cs index c59336a0cb5..48e5c1b5181 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Enrich/GetPolicyRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Enrich/GetPolicyRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Enrich/PutPolicyRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Enrich/PutPolicyRequest.g.cs index bc543c0e396..7431d4cedbb 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Enrich/PutPolicyRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Enrich/PutPolicyRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Eql/EqlDeleteRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Eql/EqlDeleteRequest.g.cs index 1cbdbeb07fa..ab14e281da1 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Eql/EqlDeleteRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Eql/EqlDeleteRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Eql/EqlGetRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Eql/EqlGetRequest.g.cs index 903322e1e12..1d8a84c00ad 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Eql/EqlGetRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Eql/EqlGetRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Eql/EqlSearchRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Eql/EqlSearchRequest.g.cs index b3faf27c573..c5e18996c7c 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Eql/EqlSearchRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Eql/EqlSearchRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Eql/GetEqlStatusRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Eql/GetEqlStatusRequest.g.cs index 53f7ba02bbf..7137b3d8f1a 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Eql/GetEqlStatusRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Eql/GetEqlStatusRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Esql/EsqlQueryRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Esql/EsqlQueryRequest.g.cs index 625dac5748f..969deddec05 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Esql/EsqlQueryRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Esql/EsqlQueryRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/ExistsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/ExistsRequest.g.cs index 1b463f0b6fc..a69f181062f 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/ExistsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/ExistsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/ExistsSourceRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/ExistsSourceRequest.g.cs index 121d99f6887..92ee29cc3a7 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/ExistsSourceRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/ExistsSourceRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/ExplainRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/ExplainRequest.g.cs index b58e805dc24..a747706a688 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/ExplainRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/ExplainRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Features/GetFeaturesRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Features/GetFeaturesRequest.g.cs index 6099b88f1ba..4514119121a 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Features/GetFeaturesRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Features/GetFeaturesRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Features/ResetFeaturesRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Features/ResetFeaturesRequest.g.cs index a4065f53384..5002a2fd25b 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Features/ResetFeaturesRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Features/ResetFeaturesRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/FieldCapsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/FieldCapsRequest.g.cs index a8f3fbe206f..4ff7e9fbd9c 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/FieldCapsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/FieldCapsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/GetRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/GetRequest.g.cs index 7e18fa17a3a..e71f67d6fca 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/GetRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/GetRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/GetScriptContextRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/GetScriptContextRequest.g.cs index 1856a615dc8..57912b0d588 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/GetScriptContextRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/GetScriptContextRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/GetScriptLanguagesRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/GetScriptLanguagesRequest.g.cs index 6be238b44b9..fe59cc63faf 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/GetScriptLanguagesRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/GetScriptLanguagesRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/GetScriptRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/GetScriptRequest.g.cs index 379c4af08b3..27db2736d08 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/GetScriptRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/GetScriptRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/GetSourceRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/GetSourceRequest.g.cs index e1dd8a84b26..d44b4d6b1a2 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/GetSourceRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/GetSourceRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Graph/ExploreRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Graph/ExploreRequest.g.cs index 64337724631..64eec4febf9 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Graph/ExploreRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Graph/ExploreRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/HealthReportRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/HealthReportRequest.g.cs index c8dce150535..c11068c9549 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/HealthReportRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/HealthReportRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexLifecycleManagement/DeleteLifecycleRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexLifecycleManagement/DeleteLifecycleRequest.g.cs index 99b30b36b03..edd1ee6ec59 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexLifecycleManagement/DeleteLifecycleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexLifecycleManagement/DeleteLifecycleRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexLifecycleManagement/GetIlmStatusRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexLifecycleManagement/GetIlmStatusRequest.g.cs index 9afa8d59465..0bff6514e2c 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexLifecycleManagement/GetIlmStatusRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexLifecycleManagement/GetIlmStatusRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexLifecycleManagement/GetLifecycleRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexLifecycleManagement/GetLifecycleRequest.g.cs index ef72ef3facc..79d2688e50f 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexLifecycleManagement/GetLifecycleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexLifecycleManagement/GetLifecycleRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexLifecycleManagement/MigrateToDataTiersRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexLifecycleManagement/MigrateToDataTiersRequest.g.cs index 900ac672b69..6fa5fe33b0f 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexLifecycleManagement/MigrateToDataTiersRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexLifecycleManagement/MigrateToDataTiersRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexLifecycleManagement/MoveToStepRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexLifecycleManagement/MoveToStepRequest.g.cs index 164f288e316..69e36b217a1 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexLifecycleManagement/MoveToStepRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexLifecycleManagement/MoveToStepRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexLifecycleManagement/PutLifecycleRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexLifecycleManagement/PutLifecycleRequest.g.cs index ebcb14933ca..8fa6cf4d75e 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexLifecycleManagement/PutLifecycleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexLifecycleManagement/PutLifecycleRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexLifecycleManagement/RemovePolicyRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexLifecycleManagement/RemovePolicyRequest.g.cs index ebc564bf799..4c6f67d3930 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexLifecycleManagement/RemovePolicyRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexLifecycleManagement/RemovePolicyRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexLifecycleManagement/RetryRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexLifecycleManagement/RetryRequest.g.cs index 3d4d583350c..479a61db7d4 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexLifecycleManagement/RetryRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexLifecycleManagement/RetryRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexLifecycleManagement/StartIlmRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexLifecycleManagement/StartIlmRequest.g.cs index 3214015dc90..01bd491b281 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexLifecycleManagement/StartIlmRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexLifecycleManagement/StartIlmRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexLifecycleManagement/StopIlmRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexLifecycleManagement/StopIlmRequest.g.cs index 3ad197fb19e..212c9d3b480 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexLifecycleManagement/StopIlmRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexLifecycleManagement/StopIlmRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/AnalyzeIndexRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/AnalyzeIndexRequest.g.cs index 2ce7315964f..03931786cec 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/AnalyzeIndexRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/AnalyzeIndexRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ClearCacheRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ClearCacheRequest.g.cs index 05e99eb3a3a..86e5c341aa0 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ClearCacheRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ClearCacheRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/CloneIndexRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/CloneIndexRequest.g.cs index a9fc2e385ba..cf76a309e5d 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/CloneIndexRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/CloneIndexRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/CloseIndexRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/CloseIndexRequest.g.cs index 0860f19f632..ad1323dcb15 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/CloseIndexRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/CloseIndexRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/CreateDataStreamRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/CreateDataStreamRequest.g.cs index 6caa4e4ee99..1c318a40ef9 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/CreateDataStreamRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/CreateDataStreamRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/CreateIndexRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/CreateIndexRequest.g.cs index bfb3914d20f..1cab06ad5e6 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/CreateIndexRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/CreateIndexRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DataStreamsStatsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DataStreamsStatsRequest.g.cs index ac3674e318b..91a722ceab5 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DataStreamsStatsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DataStreamsStatsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DeleteAliasRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DeleteAliasRequest.g.cs index c67a3f52376..588bc1ad8f5 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DeleteAliasRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DeleteAliasRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DeleteDataLifecycleRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DeleteDataLifecycleRequest.g.cs index f0834933723..0a961381c9e 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DeleteDataLifecycleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DeleteDataLifecycleRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DeleteDataStreamRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DeleteDataStreamRequest.g.cs index 2201248aa06..80fccc1863f 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DeleteDataStreamRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DeleteDataStreamRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DeleteIndexRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DeleteIndexRequest.g.cs index 5c1d0777b74..f73c4862ff4 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DeleteIndexRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DeleteIndexRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DeleteIndexTemplateRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DeleteIndexTemplateRequest.g.cs index 857a45e04ab..196e97ac096 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DeleteIndexTemplateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DeleteIndexTemplateRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DeleteTemplateRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DeleteTemplateRequest.g.cs index 479970378dc..22c27dca5fb 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DeleteTemplateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DeleteTemplateRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DiskUsageRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DiskUsageRequest.g.cs index b7d8d53cd8c..868a32e7540 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DiskUsageRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DiskUsageRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DownsampleRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DownsampleRequest.g.cs index 88a840fb4a3..8bb12324403 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DownsampleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DownsampleRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ExistsAliasRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ExistsAliasRequest.g.cs index 0b0eb3e4864..6edfd5890c7 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ExistsAliasRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ExistsAliasRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ExistsIndexTemplateRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ExistsIndexTemplateRequest.g.cs index 4da34c198c7..b31c22348c0 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ExistsIndexTemplateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ExistsIndexTemplateRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ExistsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ExistsRequest.g.cs index 14e09bf7ce5..efbc7dff46a 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ExistsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ExistsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ExistsTemplateRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ExistsTemplateRequest.g.cs index 3cecc7f3df4..59042066550 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ExistsTemplateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ExistsTemplateRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ExplainDataLifecycleRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ExplainDataLifecycleRequest.g.cs index 2d8f18822db..003d68a2ff8 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ExplainDataLifecycleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ExplainDataLifecycleRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/FieldUsageStatsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/FieldUsageStatsRequest.g.cs index 1bfe86a6939..aa7d0b31120 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/FieldUsageStatsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/FieldUsageStatsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/FlushRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/FlushRequest.g.cs index 8910e29affe..5282d97d911 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/FlushRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/FlushRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ForcemergeRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ForcemergeRequest.g.cs index d1df3fca3d9..160e35dd659 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ForcemergeRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ForcemergeRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetAliasRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetAliasRequest.g.cs index 20180f1f2f9..cf9ce0876a7 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetAliasRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetAliasRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetDataLifecycleRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetDataLifecycleRequest.g.cs index 0d8b601bcf0..49f3058f361 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetDataLifecycleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetDataLifecycleRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetDataStreamRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetDataStreamRequest.g.cs index 1ee0173f080..ce6a1e7e754 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetDataStreamRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetDataStreamRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetFieldMappingRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetFieldMappingRequest.g.cs index 7a5e9a9b217..960c83e0bab 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetFieldMappingRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetFieldMappingRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetIndexRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetIndexRequest.g.cs index a8dacb0197f..69965de963b 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetIndexRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetIndexRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetIndexTemplateRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetIndexTemplateRequest.g.cs index de779fb2558..b4c809766b6 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetIndexTemplateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetIndexTemplateRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetIndicesSettingsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetIndicesSettingsRequest.g.cs index 6bfe92db7bb..64fa5aa087b 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetIndicesSettingsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetIndicesSettingsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetMappingRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetMappingRequest.g.cs index 133962fd9aa..ef614f8fa4e 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetMappingRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetMappingRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetTemplateRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetTemplateRequest.g.cs index 91a2be09939..e65ca2399a7 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetTemplateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetTemplateRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/IndicesStatsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/IndicesStatsRequest.g.cs index 3f93d18cde6..769cde5a63f 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/IndicesStatsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/IndicesStatsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/MigrateToDataStreamRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/MigrateToDataStreamRequest.g.cs index b3c7378b8b1..c58975294e3 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/MigrateToDataStreamRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/MigrateToDataStreamRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ModifyDataStreamRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ModifyDataStreamRequest.g.cs index 4ce0c702852..38fe2a811e1 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ModifyDataStreamRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ModifyDataStreamRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/OpenIndexRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/OpenIndexRequest.g.cs index 660cf2282be..b1a51e3447a 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/OpenIndexRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/OpenIndexRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/PromoteDataStreamRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/PromoteDataStreamRequest.g.cs index 1e159e2413c..b5755cc4508 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/PromoteDataStreamRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/PromoteDataStreamRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/PutAliasRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/PutAliasRequest.g.cs index 59bf03cedaa..19d5e829a83 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/PutAliasRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/PutAliasRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/PutDataLifecycleRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/PutDataLifecycleRequest.g.cs index a0c4dbcdd33..34af04025ab 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/PutDataLifecycleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/PutDataLifecycleRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/PutIndexTemplateRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/PutIndexTemplateRequest.g.cs index ccffb40d5b5..614820e2fd8 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/PutIndexTemplateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/PutIndexTemplateRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/PutIndicesSettingsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/PutIndicesSettingsRequest.g.cs index de404d34892..9eb516eb4e1 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/PutIndicesSettingsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/PutIndicesSettingsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/PutMappingRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/PutMappingRequest.g.cs index e4c430e686c..708c10deaef 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/PutMappingRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/PutMappingRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/PutTemplateRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/PutTemplateRequest.g.cs index 3bdebfcfa63..ada658f2136 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/PutTemplateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/PutTemplateRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/RecoveryRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/RecoveryRequest.g.cs index f7e459716e9..5cf865ecb08 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/RecoveryRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/RecoveryRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/RefreshRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/RefreshRequest.g.cs index 8210dca5a4e..7b6446a62d7 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/RefreshRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/RefreshRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ReloadSearchAnalyzersRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ReloadSearchAnalyzersRequest.g.cs index 8e620a97ea0..7f89b7399f3 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ReloadSearchAnalyzersRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ReloadSearchAnalyzersRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ResolveClusterRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ResolveClusterRequest.g.cs index 3e0b7cd6658..102ce4a8078 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ResolveClusterRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ResolveClusterRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ResolveIndexRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ResolveIndexRequest.g.cs index e52b4679345..cfd7db16957 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ResolveIndexRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ResolveIndexRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/RolloverRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/RolloverRequest.g.cs index e18eb9b6412..4d0efc47482 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/RolloverRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/RolloverRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/SegmentsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/SegmentsRequest.g.cs index 5069c6d6ecd..6d61bb45be9 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/SegmentsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/SegmentsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ShardStoresRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ShardStoresRequest.g.cs index 2a24c32643c..48be4cb8727 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ShardStoresRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ShardStoresRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ShrinkIndexRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ShrinkIndexRequest.g.cs index 74415c48e3a..3d2cd74e288 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ShrinkIndexRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ShrinkIndexRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/SimulateIndexTemplateRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/SimulateIndexTemplateRequest.g.cs index a45a1e88d7a..94431e9a878 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/SimulateIndexTemplateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/SimulateIndexTemplateRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/SimulateTemplateRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/SimulateTemplateRequest.g.cs index bf03abe9939..51e33f2427e 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/SimulateTemplateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/SimulateTemplateRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/SplitIndexRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/SplitIndexRequest.g.cs index 18d894522d7..6b5c04c3f37 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/SplitIndexRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/SplitIndexRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/UpdateAliasesRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/UpdateAliasesRequest.g.cs index bcfebd4b591..259de6072e3 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/UpdateAliasesRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/UpdateAliasesRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ValidateQueryRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ValidateQueryRequest.g.cs index 7f64b2e0edf..0f5e89c0d8b 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ValidateQueryRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ValidateQueryRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexRequest.g.cs index 16aa975658b..2722f0c9b24 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; @@ -246,7 +247,7 @@ public IndexRequest(Elastic.Clients.Elasticsearch.IndexName index) : base(r => r void ISelfSerializable.Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) { - SourceSerialization.Serialize(Document, writer, settings.SourceSerializer); + settings.SourceSerializer.Serialize(Document, writer); } } @@ -316,6 +317,6 @@ public IndexRequestDescriptor Document(TDocument document) protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) { - SourceSerialization.Serialize(DocumentValue, writer, settings.SourceSerializer); + settings.SourceSerializer.Serialize(DocumentValue, writer); } } \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/DeleteInferenceRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/DeleteInferenceRequest.g.cs index b9355fd78ad..d8514b99866 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/DeleteInferenceRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/DeleteInferenceRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/GetInferenceRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/GetInferenceRequest.g.cs index d07d70e93b6..40c96fe6b8d 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/GetInferenceRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/GetInferenceRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/InferenceRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/InferenceRequest.g.cs index 4f72aaacdfe..8c0ff5643b7 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/InferenceRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/InferenceRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/PutInferenceRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/PutInferenceRequest.g.cs index 6604bc0e8a1..c2bd7ed809f 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/PutInferenceRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/PutInferenceRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/InfoRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/InfoRequest.g.cs index 5431bddec4b..9d5e5290857 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/InfoRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/InfoRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Ingest/DeleteGeoipDatabaseRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Ingest/DeleteGeoipDatabaseRequest.g.cs index e4dd8fa7fe3..41d1afff03f 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Ingest/DeleteGeoipDatabaseRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Ingest/DeleteGeoipDatabaseRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Ingest/DeletePipelineRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Ingest/DeletePipelineRequest.g.cs index 9aa43b44c66..a4b9affd9a7 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Ingest/DeletePipelineRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Ingest/DeletePipelineRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Ingest/GeoIpStatsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Ingest/GeoIpStatsRequest.g.cs index bac9924090f..501f501e8ed 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Ingest/GeoIpStatsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Ingest/GeoIpStatsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Ingest/GetGeoipDatabaseRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Ingest/GetGeoipDatabaseRequest.g.cs index 2bd1e46f6b7..d3b04df573b 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Ingest/GetGeoipDatabaseRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Ingest/GetGeoipDatabaseRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Ingest/GetPipelineRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Ingest/GetPipelineRequest.g.cs index 9f1c59e5a19..5eaf34e810c 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Ingest/GetPipelineRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Ingest/GetPipelineRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Ingest/ProcessorGrokRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Ingest/ProcessorGrokRequest.g.cs index f1a27f9360a..ed765789494 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Ingest/ProcessorGrokRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Ingest/ProcessorGrokRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Ingest/PutGeoipDatabaseRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Ingest/PutGeoipDatabaseRequest.g.cs index 5bef1768d6b..ae65f9eae29 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Ingest/PutGeoipDatabaseRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Ingest/PutGeoipDatabaseRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Ingest/PutPipelineRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Ingest/PutPipelineRequest.g.cs index 16eb12f2675..22764cade99 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Ingest/PutPipelineRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Ingest/PutPipelineRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Ingest/SimulateRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Ingest/SimulateRequest.g.cs index 72b490af26f..33233c4c413 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Ingest/SimulateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Ingest/SimulateRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/LicenseManagement/DeleteLicenseRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/LicenseManagement/DeleteLicenseRequest.g.cs index f595e9f1b03..d07145501fa 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/LicenseManagement/DeleteLicenseRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/LicenseManagement/DeleteLicenseRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/LicenseManagement/GetBasicStatusRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/LicenseManagement/GetBasicStatusRequest.g.cs index da5444fec6e..471bcd0d8f8 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/LicenseManagement/GetBasicStatusRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/LicenseManagement/GetBasicStatusRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/LicenseManagement/GetLicenseRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/LicenseManagement/GetLicenseRequest.g.cs index 40a21880879..c77c0ac3ff6 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/LicenseManagement/GetLicenseRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/LicenseManagement/GetLicenseRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/LicenseManagement/GetTrialStatusRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/LicenseManagement/GetTrialStatusRequest.g.cs index a215fcc5198..9f57933b122 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/LicenseManagement/GetTrialStatusRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/LicenseManagement/GetTrialStatusRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/LicenseManagement/PostRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/LicenseManagement/PostRequest.g.cs index 1cd5e374dde..e61bdbf3057 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/LicenseManagement/PostRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/LicenseManagement/PostRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/LicenseManagement/PostStartBasicRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/LicenseManagement/PostStartBasicRequest.g.cs index e1e159bab5e..510341acd4c 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/LicenseManagement/PostStartBasicRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/LicenseManagement/PostStartBasicRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/LicenseManagement/PostStartTrialRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/LicenseManagement/PostStartTrialRequest.g.cs index 518b624883d..27880c8d610 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/LicenseManagement/PostStartTrialRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/LicenseManagement/PostStartTrialRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/ClearTrainedModelDeploymentCacheRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/ClearTrainedModelDeploymentCacheRequest.g.cs index afbdc507d44..d0623e3f5cf 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/ClearTrainedModelDeploymentCacheRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/ClearTrainedModelDeploymentCacheRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/CloseJobRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/CloseJobRequest.g.cs index 6da942d59a6..57ebbdb573f 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/CloseJobRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/CloseJobRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteCalendarEventRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteCalendarEventRequest.g.cs index 95728aebc47..c1eee87a939 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteCalendarEventRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteCalendarEventRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteCalendarJobRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteCalendarJobRequest.g.cs index 2efbbececf1..c6365779a10 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteCalendarJobRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteCalendarJobRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteCalendarRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteCalendarRequest.g.cs index 63cd6cff4da..e96d8a0c6fc 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteCalendarRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteCalendarRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteDataFrameAnalyticsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteDataFrameAnalyticsRequest.g.cs index 1ad508259e6..0d7176897c5 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteDataFrameAnalyticsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteDataFrameAnalyticsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteDatafeedRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteDatafeedRequest.g.cs index f92596ee0ec..9d4691e39ba 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteDatafeedRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteDatafeedRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteExpiredDataRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteExpiredDataRequest.g.cs index b3b7187d76c..02f49150cf5 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteExpiredDataRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteExpiredDataRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteFilterRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteFilterRequest.g.cs index 4dd909d6d74..babccd97a41 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteFilterRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteFilterRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteForecastRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteForecastRequest.g.cs index 9c9caeeb374..f6ccf14951c 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteForecastRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteForecastRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteJobRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteJobRequest.g.cs index 20f3cd58d79..68da0f7870a 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteJobRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteJobRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteModelSnapshotRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteModelSnapshotRequest.g.cs index b976eb13e45..60154991bb8 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteModelSnapshotRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteModelSnapshotRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteTrainedModelAliasRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteTrainedModelAliasRequest.g.cs index 84331216ff1..a2802a0df4a 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteTrainedModelAliasRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteTrainedModelAliasRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteTrainedModelRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteTrainedModelRequest.g.cs index 0cee8dafcb1..11d60873725 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteTrainedModelRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteTrainedModelRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/EstimateModelMemoryRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/EstimateModelMemoryRequest.g.cs index 7d75ba1bc9b..9ea7bd489fd 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/EstimateModelMemoryRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/EstimateModelMemoryRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/EvaluateDataFrameRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/EvaluateDataFrameRequest.g.cs index e1f537fdfcd..55715713750 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/EvaluateDataFrameRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/EvaluateDataFrameRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/ExplainDataFrameAnalyticsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/ExplainDataFrameAnalyticsRequest.g.cs index 4666d9e8950..86ef39e34da 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/ExplainDataFrameAnalyticsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/ExplainDataFrameAnalyticsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/FlushJobRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/FlushJobRequest.g.cs index cc62240911e..7d2aad9a7b2 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/FlushJobRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/FlushJobRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/ForecastRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/ForecastRequest.g.cs index 255f2fd482a..bfbd4285a3c 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/ForecastRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/ForecastRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetBucketsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetBucketsRequest.g.cs index 011418880cc..e24e4432ff7 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetBucketsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetBucketsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetCalendarEventsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetCalendarEventsRequest.g.cs index 4fadae7cc51..66a32155f0d 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetCalendarEventsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetCalendarEventsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetCalendarsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetCalendarsRequest.g.cs index 8abeeca1ff0..a0ddc443b1e 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetCalendarsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetCalendarsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetCategoriesRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetCategoriesRequest.g.cs index 44e1ab8af79..00006ea2873 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetCategoriesRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetCategoriesRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetDataFrameAnalyticsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetDataFrameAnalyticsRequest.g.cs index a49e831b1ad..0019cb46116 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetDataFrameAnalyticsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetDataFrameAnalyticsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetDataFrameAnalyticsStatsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetDataFrameAnalyticsStatsRequest.g.cs index 352af57953f..ee5420191c0 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetDataFrameAnalyticsStatsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetDataFrameAnalyticsStatsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetDatafeedStatsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetDatafeedStatsRequest.g.cs index 64a5c6adaf1..12d213290c1 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetDatafeedStatsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetDatafeedStatsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetDatafeedsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetDatafeedsRequest.g.cs index 3c31a32d258..f4cef19baa3 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetDatafeedsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetDatafeedsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetFiltersRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetFiltersRequest.g.cs index b798a7f1c3a..0ae21abfdd6 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetFiltersRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetFiltersRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetInfluencersRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetInfluencersRequest.g.cs index b585c8acfce..5754873d0bd 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetInfluencersRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetInfluencersRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetJobStatsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetJobStatsRequest.g.cs index 8636d68a099..bea2d642d87 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetJobStatsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetJobStatsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetJobsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetJobsRequest.g.cs index 5938531814d..6d95ea6c52f 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetJobsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetJobsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetMemoryStatsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetMemoryStatsRequest.g.cs index e693f56c1b7..7c8a3d1f22d 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetMemoryStatsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetMemoryStatsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetModelSnapshotUpgradeStatsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetModelSnapshotUpgradeStatsRequest.g.cs index 859393aa134..2d88a9b0287 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetModelSnapshotUpgradeStatsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetModelSnapshotUpgradeStatsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetModelSnapshotsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetModelSnapshotsRequest.g.cs index 3a8aa1096e7..04ad8474205 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetModelSnapshotsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetModelSnapshotsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetOverallBucketsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetOverallBucketsRequest.g.cs index b08c3581204..46d90e46696 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetOverallBucketsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetOverallBucketsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetRecordsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetRecordsRequest.g.cs index 20eee000da4..1fd0c64b61b 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetRecordsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetRecordsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetTrainedModelsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetTrainedModelsRequest.g.cs index fa63481c0e9..3800d44371d 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetTrainedModelsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetTrainedModelsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetTrainedModelsStatsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetTrainedModelsStatsRequest.g.cs index d81e507802e..a66c834864c 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetTrainedModelsStatsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetTrainedModelsStatsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/InferTrainedModelRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/InferTrainedModelRequest.g.cs index 8169e95515a..79cf334a50c 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/InferTrainedModelRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/InferTrainedModelRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/MlInfoRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/MlInfoRequest.g.cs index 80f2b9a269c..56f1d889562 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/MlInfoRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/MlInfoRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/OpenJobRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/OpenJobRequest.g.cs index 716d21aeab2..b997be7d093 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/OpenJobRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/OpenJobRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PostCalendarEventsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PostCalendarEventsRequest.g.cs index 9300fa6249a..254e2fb0204 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PostCalendarEventsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PostCalendarEventsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PreviewDataFrameAnalyticsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PreviewDataFrameAnalyticsRequest.g.cs index ff2977e5b7f..c59ce728794 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PreviewDataFrameAnalyticsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PreviewDataFrameAnalyticsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PutCalendarJobRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PutCalendarJobRequest.g.cs index ef73bd30273..d8286ceaee4 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PutCalendarJobRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PutCalendarJobRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PutCalendarRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PutCalendarRequest.g.cs index 7cbd2502965..d475637ee75 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PutCalendarRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PutCalendarRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PutDataFrameAnalyticsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PutDataFrameAnalyticsRequest.g.cs index 1f69c189ad5..045933cc5be 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PutDataFrameAnalyticsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PutDataFrameAnalyticsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PutDatafeedRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PutDatafeedRequest.g.cs index 5018e0aa34a..11705264497 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PutDatafeedRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PutDatafeedRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PutFilterRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PutFilterRequest.g.cs index 6e89fd5c8b1..6e235f21ab1 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PutFilterRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PutFilterRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PutJobRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PutJobRequest.g.cs index b531852eac7..8d6db8d33c0 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PutJobRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PutJobRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PutTrainedModelAliasRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PutTrainedModelAliasRequest.g.cs index d3bd9cfbd5d..c2a8fb886fc 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PutTrainedModelAliasRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PutTrainedModelAliasRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PutTrainedModelDefinitionPartRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PutTrainedModelDefinitionPartRequest.g.cs index f8cf0e67e3d..949f8e5915c 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PutTrainedModelDefinitionPartRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PutTrainedModelDefinitionPartRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PutTrainedModelRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PutTrainedModelRequest.g.cs index e769a627eb0..d5c5f91da95 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PutTrainedModelRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PutTrainedModelRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PutTrainedModelVocabularyRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PutTrainedModelVocabularyRequest.g.cs index 378101557a6..410059d8e85 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PutTrainedModelVocabularyRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PutTrainedModelVocabularyRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/ResetJobRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/ResetJobRequest.g.cs index 02f190ce9e7..22e01c4e863 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/ResetJobRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/ResetJobRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/RevertModelSnapshotRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/RevertModelSnapshotRequest.g.cs index e478a13c51b..fd5a431f6bc 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/RevertModelSnapshotRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/RevertModelSnapshotRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/SetUpgradeModeRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/SetUpgradeModeRequest.g.cs index 500b0f34d60..59688096e0e 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/SetUpgradeModeRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/SetUpgradeModeRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/StartDataFrameAnalyticsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/StartDataFrameAnalyticsRequest.g.cs index 90d02c4cddf..cd42cb41dfa 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/StartDataFrameAnalyticsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/StartDataFrameAnalyticsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/StartDatafeedRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/StartDatafeedRequest.g.cs index 1a6d6650113..443127894dc 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/StartDatafeedRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/StartDatafeedRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/StartTrainedModelDeploymentRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/StartTrainedModelDeploymentRequest.g.cs index 474c930da40..81f77f7f92a 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/StartTrainedModelDeploymentRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/StartTrainedModelDeploymentRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/StopDataFrameAnalyticsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/StopDataFrameAnalyticsRequest.g.cs index 99155dfbeeb..86f9bcb4d1e 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/StopDataFrameAnalyticsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/StopDataFrameAnalyticsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/StopDatafeedRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/StopDatafeedRequest.g.cs index 6d422cc6486..1d8fe87c595 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/StopDatafeedRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/StopDatafeedRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/StopTrainedModelDeploymentRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/StopTrainedModelDeploymentRequest.g.cs index e8b4468ec3f..998d7826948 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/StopTrainedModelDeploymentRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/StopTrainedModelDeploymentRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/UpdateDataFrameAnalyticsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/UpdateDataFrameAnalyticsRequest.g.cs index bc5ac0b5719..002350b9b66 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/UpdateDataFrameAnalyticsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/UpdateDataFrameAnalyticsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/UpdateDatafeedRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/UpdateDatafeedRequest.g.cs index 9f985bebe4f..b7116b1731f 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/UpdateDatafeedRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/UpdateDatafeedRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/UpdateFilterRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/UpdateFilterRequest.g.cs index 97484ce9279..444d8a9d5a7 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/UpdateFilterRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/UpdateFilterRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/UpdateJobRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/UpdateJobRequest.g.cs index ad241b91b88..548a6f67f0e 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/UpdateJobRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/UpdateJobRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/UpdateModelSnapshotRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/UpdateModelSnapshotRequest.g.cs index 675b2bdc414..d8c88bacb00 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/UpdateModelSnapshotRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/UpdateModelSnapshotRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/UpdateTrainedModelDeploymentRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/UpdateTrainedModelDeploymentRequest.g.cs index 80d597ed2b3..fbbf728cec4 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/UpdateTrainedModelDeploymentRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/UpdateTrainedModelDeploymentRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/UpgradeJobSnapshotRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/UpgradeJobSnapshotRequest.g.cs index 1981b0d076b..07886ed234a 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/UpgradeJobSnapshotRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/UpgradeJobSnapshotRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/ValidateDetectorRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/ValidateDetectorRequest.g.cs index 6e273c7a954..311f71a6840 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/ValidateDetectorRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/ValidateDetectorRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/ValidateRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/ValidateRequest.g.cs index 39684ec9016..2f532c21c40 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/ValidateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/ValidateRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MultiGetRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MultiGetRequest.g.cs index 71c373196be..479a8447f37 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MultiGetRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MultiGetRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MultiSearchRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MultiSearchRequest.g.cs index b255d3a68d4..0142870ccb7 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MultiSearchRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MultiSearchRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.IO; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MultiSearchTemplateRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MultiSearchTemplateRequest.g.cs index 64ba00a8ed3..c987991b8cb 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MultiSearchTemplateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MultiSearchTemplateRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.IO; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MultiTermVectorsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MultiTermVectorsRequest.g.cs index 448628b940e..03b4da10f08 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MultiTermVectorsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MultiTermVectorsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Nodes/ClearRepositoriesMeteringArchiveRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Nodes/ClearRepositoriesMeteringArchiveRequest.g.cs index 7f88d078337..5e3c83cc33a 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Nodes/ClearRepositoriesMeteringArchiveRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Nodes/ClearRepositoriesMeteringArchiveRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Nodes/GetRepositoriesMeteringInfoRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Nodes/GetRepositoriesMeteringInfoRequest.g.cs index 569f0cd6433..a292580e104 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Nodes/GetRepositoriesMeteringInfoRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Nodes/GetRepositoriesMeteringInfoRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Nodes/HotThreadsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Nodes/HotThreadsRequest.g.cs index 0c62060469c..a975f255b63 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Nodes/HotThreadsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Nodes/HotThreadsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Nodes/NodesInfoRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Nodes/NodesInfoRequest.g.cs index ac295843d91..afc2a557ec0 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Nodes/NodesInfoRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Nodes/NodesInfoRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Nodes/NodesStatsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Nodes/NodesStatsRequest.g.cs index 34a0e37d17f..e5d075f10ac 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Nodes/NodesStatsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Nodes/NodesStatsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Nodes/NodesUsageRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Nodes/NodesUsageRequest.g.cs index d379df24ca9..17b4a1378fb 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Nodes/NodesUsageRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Nodes/NodesUsageRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Nodes/ReloadSecureSettingsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Nodes/ReloadSecureSettingsRequest.g.cs index 54b9958a233..35a1ab3f600 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Nodes/ReloadSecureSettingsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Nodes/ReloadSecureSettingsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/OpenPointInTimeRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/OpenPointInTimeRequest.g.cs index 0c5914a5c35..7eba519c3bc 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/OpenPointInTimeRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/OpenPointInTimeRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/PingRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/PingRequest.g.cs index beaafdfa6b4..eef881b997d 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/PingRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/PingRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/PutScriptRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/PutScriptRequest.g.cs index d7bd298f7e4..91d6b99e3cf 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/PutScriptRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/PutScriptRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/QueryRules/DeleteRuleRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/QueryRules/DeleteRuleRequest.g.cs index 18a81286bbb..b7dc2979ea0 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/QueryRules/DeleteRuleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/QueryRules/DeleteRuleRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/QueryRules/DeleteRulesetRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/QueryRules/DeleteRulesetRequest.g.cs index 7d8fcd80b50..77e70e908c5 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/QueryRules/DeleteRulesetRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/QueryRules/DeleteRulesetRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/QueryRules/GetRuleRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/QueryRules/GetRuleRequest.g.cs index 2e9a351e3ca..206aaa37ca8 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/QueryRules/GetRuleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/QueryRules/GetRuleRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/QueryRules/GetRulesetRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/QueryRules/GetRulesetRequest.g.cs index 86f6758bf21..cb4d3848bf6 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/QueryRules/GetRulesetRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/QueryRules/GetRulesetRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/QueryRules/ListRulesetsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/QueryRules/ListRulesetsRequest.g.cs index 08fa5109ef0..17c90868680 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/QueryRules/ListRulesetsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/QueryRules/ListRulesetsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/QueryRules/PutRuleRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/QueryRules/PutRuleRequest.g.cs index 695e9c48d99..18c0aa7a6bf 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/QueryRules/PutRuleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/QueryRules/PutRuleRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/QueryRules/PutRulesetRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/QueryRules/PutRulesetRequest.g.cs index a2085a858f7..22c3f8e0639 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/QueryRules/PutRulesetRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/QueryRules/PutRulesetRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/RankEvalRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/RankEvalRequest.g.cs index c33e75d8303..a883c183c86 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/RankEvalRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/RankEvalRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/ReindexRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/ReindexRequest.g.cs index f3e99551850..fa7c00a14bd 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/ReindexRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/ReindexRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/ReindexRethrottleRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/ReindexRethrottleRequest.g.cs index 964bdd57eec..c5b605c9aad 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/ReindexRethrottleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/ReindexRethrottleRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/RenderSearchTemplateRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/RenderSearchTemplateRequest.g.cs index c57cc798307..3271a224123 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/RenderSearchTemplateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/RenderSearchTemplateRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Rollup/DeleteJobRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Rollup/DeleteJobRequest.g.cs index ba90b328ef7..22c64e0da0c 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Rollup/DeleteJobRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Rollup/DeleteJobRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Rollup/GetJobsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Rollup/GetJobsRequest.g.cs index e00924a4de1..6ef40b0b3b3 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Rollup/GetJobsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Rollup/GetJobsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Rollup/GetRollupCapsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Rollup/GetRollupCapsRequest.g.cs index 6f27f76a99e..84e3ca5d52a 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Rollup/GetRollupCapsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Rollup/GetRollupCapsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Rollup/GetRollupIndexCapsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Rollup/GetRollupIndexCapsRequest.g.cs index 0b3df7b26d9..905c78c528a 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Rollup/GetRollupIndexCapsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Rollup/GetRollupIndexCapsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Rollup/PutJobRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Rollup/PutJobRequest.g.cs index d31d0c08652..eff76b4c695 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Rollup/PutJobRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Rollup/PutJobRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Rollup/RollupSearchRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Rollup/RollupSearchRequest.g.cs index 1b009faea0c..d24f3feb80a 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Rollup/RollupSearchRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Rollup/RollupSearchRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Rollup/StartJobRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Rollup/StartJobRequest.g.cs index 7974557b569..cad0b8391f9 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Rollup/StartJobRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Rollup/StartJobRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Rollup/StopJobRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Rollup/StopJobRequest.g.cs index ae497d7a765..696e513e8bd 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Rollup/StopJobRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Rollup/StopJobRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/ScriptsPainlessExecuteRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/ScriptsPainlessExecuteRequest.g.cs index df75176b920..ddf8dbfa7ec 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/ScriptsPainlessExecuteRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/ScriptsPainlessExecuteRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/ScrollRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/ScrollRequest.g.cs index 96182663489..1d1f64d6ab7 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/ScrollRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/ScrollRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchApplication/DeleteBehavioralAnalyticsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchApplication/DeleteBehavioralAnalyticsRequest.g.cs index bb1dd14ba0a..0821769f39a 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchApplication/DeleteBehavioralAnalyticsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchApplication/DeleteBehavioralAnalyticsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchApplication/DeleteSearchApplicationRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchApplication/DeleteSearchApplicationRequest.g.cs index 568ee9f3b60..3683272e428 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchApplication/DeleteSearchApplicationRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchApplication/DeleteSearchApplicationRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchApplication/GetBehavioralAnalyticsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchApplication/GetBehavioralAnalyticsRequest.g.cs index 313dbe3f12f..3032d656690 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchApplication/GetBehavioralAnalyticsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchApplication/GetBehavioralAnalyticsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchApplication/GetSearchApplicationRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchApplication/GetSearchApplicationRequest.g.cs index 28c41602d1f..e7342f567b8 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchApplication/GetSearchApplicationRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchApplication/GetSearchApplicationRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchApplication/ListRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchApplication/ListRequest.g.cs index 8e216cde2e1..4a1abd18f85 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchApplication/ListRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchApplication/ListRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchApplication/PutBehavioralAnalyticsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchApplication/PutBehavioralAnalyticsRequest.g.cs index 185a22a7f3f..9b13e1d8a6a 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchApplication/PutBehavioralAnalyticsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchApplication/PutBehavioralAnalyticsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchApplication/PutSearchApplicationRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchApplication/PutSearchApplicationRequest.g.cs index 743674f4b71..30d3c434500 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchApplication/PutSearchApplicationRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchApplication/PutSearchApplicationRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchApplication/SearchApplicationSearchRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchApplication/SearchApplicationSearchRequest.g.cs index 28a5738d283..173d6962b99 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchApplication/SearchApplicationSearchRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchApplication/SearchApplicationSearchRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchMvtRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchMvtRequest.g.cs index 2528376f9a8..7e67b3cc67f 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchMvtRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchMvtRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchRequest.g.cs index 2f7583f26a0..31266e7e692 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchShardsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchShardsRequest.g.cs index de6e724e796..7bd1c72a260 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchShardsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchShardsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchTemplateRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchTemplateRequest.g.cs index 00bf927d32c..923f66d1ae8 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchTemplateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchTemplateRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchableSnapshots/CacheStatsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchableSnapshots/CacheStatsRequest.g.cs index 83ae3bdd257..df6332303d9 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchableSnapshots/CacheStatsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchableSnapshots/CacheStatsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchableSnapshots/ClearCacheRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchableSnapshots/ClearCacheRequest.g.cs index 9178c546e08..6f4a9c43964 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchableSnapshots/ClearCacheRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchableSnapshots/ClearCacheRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchableSnapshots/MountRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchableSnapshots/MountRequest.g.cs index b58b03e111a..05fa84ac6c4 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchableSnapshots/MountRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchableSnapshots/MountRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchableSnapshots/SearchableSnapshotsStatsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchableSnapshots/SearchableSnapshotsStatsRequest.g.cs index bbfcd700251..1894a388247 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchableSnapshots/SearchableSnapshotsStatsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchableSnapshots/SearchableSnapshotsStatsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/ActivateUserProfileRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/ActivateUserProfileRequest.g.cs index 55679e7bad4..cff16e81b4f 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/ActivateUserProfileRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/ActivateUserProfileRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/AuthenticateRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/AuthenticateRequest.g.cs index 186cd2ecac7..ee6d297fcd6 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/AuthenticateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/AuthenticateRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/BulkDeleteRoleRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/BulkDeleteRoleRequest.g.cs index 1d684d4b90b..c1b55603478 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/BulkDeleteRoleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/BulkDeleteRoleRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/BulkPutRoleRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/BulkPutRoleRequest.g.cs index d7fb2065195..120d3068d6a 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/BulkPutRoleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/BulkPutRoleRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/ChangePasswordRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/ChangePasswordRequest.g.cs index 4bc433d2031..d25c22e0aae 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/ChangePasswordRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/ChangePasswordRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/ClearApiKeyCacheRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/ClearApiKeyCacheRequest.g.cs index db6a20d7fab..a62551acf22 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/ClearApiKeyCacheRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/ClearApiKeyCacheRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/ClearCachedPrivilegesRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/ClearCachedPrivilegesRequest.g.cs index 35cb210f26f..a9170d3c2fd 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/ClearCachedPrivilegesRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/ClearCachedPrivilegesRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/ClearCachedRealmsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/ClearCachedRealmsRequest.g.cs index d10e676048e..6873cadc5f8 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/ClearCachedRealmsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/ClearCachedRealmsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/ClearCachedRolesRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/ClearCachedRolesRequest.g.cs index 236c3e471d7..60ef63b37b0 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/ClearCachedRolesRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/ClearCachedRolesRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/ClearCachedServiceTokensRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/ClearCachedServiceTokensRequest.g.cs index 3335cd52ea1..9988ce26447 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/ClearCachedServiceTokensRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/ClearCachedServiceTokensRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/CreateApiKeyRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/CreateApiKeyRequest.g.cs index a435b2e2d3e..b09feb4d128 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/CreateApiKeyRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/CreateApiKeyRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/CreateServiceTokenRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/CreateServiceTokenRequest.g.cs index 66c4cdf3077..82f0154e7e6 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/CreateServiceTokenRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/CreateServiceTokenRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/DeletePrivilegesRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/DeletePrivilegesRequest.g.cs index 05be0c4c031..55d79f9287e 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/DeletePrivilegesRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/DeletePrivilegesRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/DeleteRoleMappingRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/DeleteRoleMappingRequest.g.cs index ab3c2fb6a40..aafbd9fe708 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/DeleteRoleMappingRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/DeleteRoleMappingRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/DeleteRoleRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/DeleteRoleRequest.g.cs index 786ba657268..2bf1ca5061a 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/DeleteRoleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/DeleteRoleRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/DeleteServiceTokenRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/DeleteServiceTokenRequest.g.cs index ebc4ea9867c..6183ce96414 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/DeleteServiceTokenRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/DeleteServiceTokenRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/DeleteUserRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/DeleteUserRequest.g.cs index 10f7b9e77d2..6c01fdbe59e 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/DeleteUserRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/DeleteUserRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/DisableUserProfileRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/DisableUserProfileRequest.g.cs index fe1f12b7d2d..c0d51b98600 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/DisableUserProfileRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/DisableUserProfileRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/DisableUserRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/DisableUserRequest.g.cs index da3859780cf..1c98402cd49 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/DisableUserRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/DisableUserRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/EnableUserProfileRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/EnableUserProfileRequest.g.cs index ea1e8851737..423075f3888 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/EnableUserProfileRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/EnableUserProfileRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/EnableUserRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/EnableUserRequest.g.cs index a475c6e3315..019ff052db9 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/EnableUserRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/EnableUserRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/EnrollKibanaRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/EnrollKibanaRequest.g.cs index 5ba28f335d2..83ced516fb8 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/EnrollKibanaRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/EnrollKibanaRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/EnrollNodeRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/EnrollNodeRequest.g.cs index 3e79a389c1b..19c48694766 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/EnrollNodeRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/EnrollNodeRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetApiKeyRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetApiKeyRequest.g.cs index 3b531462d74..996c419b3fe 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetApiKeyRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetApiKeyRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetBuiltinPrivilegesRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetBuiltinPrivilegesRequest.g.cs index b93260c3b73..86da44c5865 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetBuiltinPrivilegesRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetBuiltinPrivilegesRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetPrivilegesRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetPrivilegesRequest.g.cs index d7471e4e322..e9b962cc0ff 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetPrivilegesRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetPrivilegesRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetRoleMappingRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetRoleMappingRequest.g.cs index 24ba915b714..3eb5c006fc7 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetRoleMappingRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetRoleMappingRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetRoleRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetRoleRequest.g.cs index fa84192133a..277814202e1 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetRoleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetRoleRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetServiceAccountsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetServiceAccountsRequest.g.cs index fb27a85b150..157e7bb90ee 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetServiceAccountsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetServiceAccountsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetServiceCredentialsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetServiceCredentialsRequest.g.cs index 59a139b14a3..bf51be2829d 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetServiceCredentialsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetServiceCredentialsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetTokenRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetTokenRequest.g.cs index dc8331d6fe7..d3ade1b87c5 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetTokenRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetTokenRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetUserPrivilegesRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetUserPrivilegesRequest.g.cs index 2644b772f56..903249037d0 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetUserPrivilegesRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetUserPrivilegesRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetUserProfileRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetUserProfileRequest.g.cs index 85685d66fbe..aa80263756d 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetUserProfileRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetUserProfileRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetUserRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetUserRequest.g.cs index bedc1ce683e..734533078e9 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetUserRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetUserRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GrantApiKeyRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GrantApiKeyRequest.g.cs index ac32cc917fe..5f0efc84624 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GrantApiKeyRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GrantApiKeyRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/HasPrivilegesRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/HasPrivilegesRequest.g.cs index 30169672946..3ac8a626a3d 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/HasPrivilegesRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/HasPrivilegesRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/HasPrivilegesUserProfileRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/HasPrivilegesUserProfileRequest.g.cs index 3d7a11691aa..15dd0268db1 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/HasPrivilegesUserProfileRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/HasPrivilegesUserProfileRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/InvalidateApiKeyRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/InvalidateApiKeyRequest.g.cs index a9c57aeb9a6..02dbbe38899 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/InvalidateApiKeyRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/InvalidateApiKeyRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/InvalidateTokenRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/InvalidateTokenRequest.g.cs index f226fbef4e9..6c7c79d4e4e 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/InvalidateTokenRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/InvalidateTokenRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/PutPrivilegesRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/PutPrivilegesRequest.g.cs index 2ce5e12e334..61b7a74d58b 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/PutPrivilegesRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/PutPrivilegesRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.IO; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/PutRoleMappingRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/PutRoleMappingRequest.g.cs index 41c648f5abb..748f72aa996 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/PutRoleMappingRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/PutRoleMappingRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/PutRoleRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/PutRoleRequest.g.cs index d16082dbc34..6f508ca957e 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/PutRoleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/PutRoleRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/PutUserRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/PutUserRequest.g.cs index 25305c9241e..9f9434d6e73 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/PutUserRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/PutUserRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/QueryApiKeysRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/QueryApiKeysRequest.g.cs index 22060338953..f58fc473b5c 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/QueryApiKeysRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/QueryApiKeysRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/QueryRoleRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/QueryRoleRequest.g.cs index ab8757e8cbd..08bee4543e0 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/QueryRoleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/QueryRoleRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/QueryUserRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/QueryUserRequest.g.cs index 475ab9b6758..e29f3618f4d 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/QueryUserRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/QueryUserRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/SamlAuthenticateRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/SamlAuthenticateRequest.g.cs index 40f3938107b..5de9a26fc68 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/SamlAuthenticateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/SamlAuthenticateRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/SamlCompleteLogoutRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/SamlCompleteLogoutRequest.g.cs index d3063cdfca1..3fec565f907 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/SamlCompleteLogoutRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/SamlCompleteLogoutRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/SamlInvalidateRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/SamlInvalidateRequest.g.cs index a4fda7b3fa0..c4f8d7f7257 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/SamlInvalidateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/SamlInvalidateRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/SamlLogoutRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/SamlLogoutRequest.g.cs index f9e3c658f8a..319b2e2d920 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/SamlLogoutRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/SamlLogoutRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/SamlPrepareAuthenticationRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/SamlPrepareAuthenticationRequest.g.cs index 268c99d9459..c82dce9acf2 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/SamlPrepareAuthenticationRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/SamlPrepareAuthenticationRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/SamlServiceProviderMetadataRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/SamlServiceProviderMetadataRequest.g.cs index 55aa654e277..50a7c5682ea 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/SamlServiceProviderMetadataRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/SamlServiceProviderMetadataRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/SuggestUserProfilesRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/SuggestUserProfilesRequest.g.cs index 33e4f77a8fe..7e54558792e 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/SuggestUserProfilesRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/SuggestUserProfilesRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/UpdateApiKeyRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/UpdateApiKeyRequest.g.cs index 0bb9d8738ad..488cea1b6d7 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/UpdateApiKeyRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/UpdateApiKeyRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/UpdateUserProfileDataRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/UpdateUserProfileDataRequest.g.cs index e71721fa22d..1427c4ba1bb 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/UpdateUserProfileDataRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/UpdateUserProfileDataRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/CleanupRepositoryRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/CleanupRepositoryRequest.g.cs index 2f9ab9e7ffd..4f7d24f7fa3 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/CleanupRepositoryRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/CleanupRepositoryRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/CloneSnapshotRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/CloneSnapshotRequest.g.cs index f078fc9544c..f2d56ebe57b 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/CloneSnapshotRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/CloneSnapshotRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/CreateRepositoryRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/CreateRepositoryRequest.g.cs index 4e2f6b00770..48f82d31977 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/CreateRepositoryRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/CreateRepositoryRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/CreateSnapshotRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/CreateSnapshotRequest.g.cs index 8fe4a5c2229..9c963bf9059 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/CreateSnapshotRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/CreateSnapshotRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/DeleteRepositoryRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/DeleteRepositoryRequest.g.cs index 9fda4025422..41acee94388 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/DeleteRepositoryRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/DeleteRepositoryRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/DeleteSnapshotRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/DeleteSnapshotRequest.g.cs index b21f1b922fe..3435c965641 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/DeleteSnapshotRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/DeleteSnapshotRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/GetRepositoryRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/GetRepositoryRequest.g.cs index 31c8c0b691d..5564259562b 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/GetRepositoryRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/GetRepositoryRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/GetSnapshotRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/GetSnapshotRequest.g.cs index 3491a21cb36..d7cfbe43e6f 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/GetSnapshotRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/GetSnapshotRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/RestoreRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/RestoreRequest.g.cs index e7d9235bbfc..6ad466530e9 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/RestoreRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/RestoreRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/SnapshotStatusRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/SnapshotStatusRequest.g.cs index 9e92916588a..cc1c9442cdf 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/SnapshotStatusRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/SnapshotStatusRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/VerifyRepositoryRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/VerifyRepositoryRequest.g.cs index 38a5562fdf9..cadffda742f 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/VerifyRepositoryRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/VerifyRepositoryRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SnapshotLifecycleManagement/DeleteLifecycleRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SnapshotLifecycleManagement/DeleteLifecycleRequest.g.cs index 320ec5bffb7..85f33535e96 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SnapshotLifecycleManagement/DeleteLifecycleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SnapshotLifecycleManagement/DeleteLifecycleRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SnapshotLifecycleManagement/ExecuteLifecycleRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SnapshotLifecycleManagement/ExecuteLifecycleRequest.g.cs index bb8dc91cb3c..65674da8cf3 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SnapshotLifecycleManagement/ExecuteLifecycleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SnapshotLifecycleManagement/ExecuteLifecycleRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SnapshotLifecycleManagement/ExecuteRetentionRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SnapshotLifecycleManagement/ExecuteRetentionRequest.g.cs index 3b1416913f0..94c7e365ad6 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SnapshotLifecycleManagement/ExecuteRetentionRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SnapshotLifecycleManagement/ExecuteRetentionRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SnapshotLifecycleManagement/GetLifecycleRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SnapshotLifecycleManagement/GetLifecycleRequest.g.cs index 6d6625ca04a..065d37b1eea 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SnapshotLifecycleManagement/GetLifecycleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SnapshotLifecycleManagement/GetLifecycleRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SnapshotLifecycleManagement/GetSlmStatusRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SnapshotLifecycleManagement/GetSlmStatusRequest.g.cs index 8d1eab503a0..5086212cfc6 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SnapshotLifecycleManagement/GetSlmStatusRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SnapshotLifecycleManagement/GetSlmStatusRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SnapshotLifecycleManagement/GetStatsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SnapshotLifecycleManagement/GetStatsRequest.g.cs index 84629bdb756..60f73a9cac8 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SnapshotLifecycleManagement/GetStatsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SnapshotLifecycleManagement/GetStatsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SnapshotLifecycleManagement/PutLifecycleRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SnapshotLifecycleManagement/PutLifecycleRequest.g.cs index ecfd86c5eb2..ea93dcafd88 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SnapshotLifecycleManagement/PutLifecycleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SnapshotLifecycleManagement/PutLifecycleRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SnapshotLifecycleManagement/StartSlmRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SnapshotLifecycleManagement/StartSlmRequest.g.cs index cf3d0e3fa1e..4cde81967c5 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SnapshotLifecycleManagement/StartSlmRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SnapshotLifecycleManagement/StartSlmRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SnapshotLifecycleManagement/StopSlmRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SnapshotLifecycleManagement/StopSlmRequest.g.cs index ca7010957b7..8fb9b82af9b 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SnapshotLifecycleManagement/StopSlmRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SnapshotLifecycleManagement/StopSlmRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Sql/ClearCursorRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Sql/ClearCursorRequest.g.cs index ed3b52ea2e3..e7642520024 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Sql/ClearCursorRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Sql/ClearCursorRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Sql/DeleteAsyncRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Sql/DeleteAsyncRequest.g.cs index 1e27e791903..f10354d82f4 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Sql/DeleteAsyncRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Sql/DeleteAsyncRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Sql/GetAsyncRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Sql/GetAsyncRequest.g.cs index 77c68f95956..75b724ab11d 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Sql/GetAsyncRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Sql/GetAsyncRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Sql/GetAsyncStatusRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Sql/GetAsyncStatusRequest.g.cs index 5bf3a3783f6..002f87c77ac 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Sql/GetAsyncStatusRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Sql/GetAsyncStatusRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Sql/QueryRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Sql/QueryRequest.g.cs index 7da01d16fc0..34519a8f721 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Sql/QueryRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Sql/QueryRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Sql/TranslateRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Sql/TranslateRequest.g.cs index 0e985a24dce..7b29b6516d1 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Sql/TranslateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Sql/TranslateRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Synonyms/DeleteSynonymRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Synonyms/DeleteSynonymRequest.g.cs index ecda4dafb10..2ff242aa234 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Synonyms/DeleteSynonymRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Synonyms/DeleteSynonymRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Synonyms/DeleteSynonymRuleRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Synonyms/DeleteSynonymRuleRequest.g.cs index 2e2e39a8d8c..fceca4690d8 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Synonyms/DeleteSynonymRuleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Synonyms/DeleteSynonymRuleRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Synonyms/GetSynonymRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Synonyms/GetSynonymRequest.g.cs index 8a9f327fa20..5422954551b 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Synonyms/GetSynonymRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Synonyms/GetSynonymRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Synonyms/GetSynonymRuleRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Synonyms/GetSynonymRuleRequest.g.cs index 0743e1542f0..aae76d746b6 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Synonyms/GetSynonymRuleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Synonyms/GetSynonymRuleRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Synonyms/GetSynonymsSetsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Synonyms/GetSynonymsSetsRequest.g.cs index fc9c8b16439..806b9170341 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Synonyms/GetSynonymsSetsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Synonyms/GetSynonymsSetsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Synonyms/PutSynonymRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Synonyms/PutSynonymRequest.g.cs index dc2d3d4ca2e..e451898972e 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Synonyms/PutSynonymRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Synonyms/PutSynonymRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Synonyms/PutSynonymRuleRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Synonyms/PutSynonymRuleRequest.g.cs index b884d81d6bf..6a85a994be1 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Synonyms/PutSynonymRuleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Synonyms/PutSynonymRuleRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Tasks/CancelRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Tasks/CancelRequest.g.cs index 3ac3af276bb..afad51cb35b 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Tasks/CancelRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Tasks/CancelRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Tasks/GetTasksRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Tasks/GetTasksRequest.g.cs index 11fdb657626..1ef20cc4469 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Tasks/GetTasksRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Tasks/GetTasksRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Tasks/ListRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Tasks/ListRequest.g.cs index 1bc8c0ed85b..228be9745b7 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Tasks/ListRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Tasks/ListRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/TermVectorsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/TermVectorsRequest.g.cs index 3c27f0b5801..74cf80a255d 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/TermVectorsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/TermVectorsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; @@ -380,7 +381,7 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o if (DocValue is not null) { writer.WritePropertyName("doc"); - SourceSerialization.Serialize(DocValue, writer, settings.SourceSerializer); + settings.SourceSerializer.Serialize(DocValue, writer); } if (FilterDescriptor is not null) diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/TermsEnumRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/TermsEnumRequest.g.cs index ee29eb7ecc3..75a2b05b403 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/TermsEnumRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/TermsEnumRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/TextStructure/TestGrokPatternRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/TextStructure/TestGrokPatternRequest.g.cs index fedd469cdb3..f8e4bcdafdd 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/TextStructure/TestGrokPatternRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/TextStructure/TestGrokPatternRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/TransformManagement/DeleteTransformRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/TransformManagement/DeleteTransformRequest.g.cs index 93a077fc786..4c99c8484f9 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/TransformManagement/DeleteTransformRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/TransformManagement/DeleteTransformRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/TransformManagement/GetTransformRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/TransformManagement/GetTransformRequest.g.cs index 7aec1466cf4..c5d4152ca6b 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/TransformManagement/GetTransformRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/TransformManagement/GetTransformRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/TransformManagement/GetTransformStatsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/TransformManagement/GetTransformStatsRequest.g.cs index 7d91f1bd589..bfd538ede2c 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/TransformManagement/GetTransformStatsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/TransformManagement/GetTransformStatsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/TransformManagement/PreviewTransformRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/TransformManagement/PreviewTransformRequest.g.cs index 9d638131afa..c9dd9773b16 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/TransformManagement/PreviewTransformRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/TransformManagement/PreviewTransformRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/TransformManagement/PutTransformRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/TransformManagement/PutTransformRequest.g.cs index e015ccaf007..7572393a22f 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/TransformManagement/PutTransformRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/TransformManagement/PutTransformRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/TransformManagement/ResetTransformRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/TransformManagement/ResetTransformRequest.g.cs index 1167b2393b5..bbe3236f756 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/TransformManagement/ResetTransformRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/TransformManagement/ResetTransformRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/TransformManagement/ScheduleNowTransformRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/TransformManagement/ScheduleNowTransformRequest.g.cs index 2c98a5a62b8..b77da029d31 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/TransformManagement/ScheduleNowTransformRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/TransformManagement/ScheduleNowTransformRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/TransformManagement/StartTransformRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/TransformManagement/StartTransformRequest.g.cs index f918131e06f..c13718c4ae6 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/TransformManagement/StartTransformRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/TransformManagement/StartTransformRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/TransformManagement/StopTransformRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/TransformManagement/StopTransformRequest.g.cs index f07921f11be..83c77465a31 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/TransformManagement/StopTransformRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/TransformManagement/StopTransformRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/TransformManagement/UpdateTransformRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/TransformManagement/UpdateTransformRequest.g.cs index ca1dfce0368..bc612418057 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/TransformManagement/UpdateTransformRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/TransformManagement/UpdateTransformRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/TransformManagement/UpgradeTransformsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/TransformManagement/UpgradeTransformsRequest.g.cs index 0a5ee29800c..a562b550fb2 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/TransformManagement/UpgradeTransformsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/TransformManagement/UpgradeTransformsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/UpdateByQueryRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/UpdateByQueryRequest.g.cs index 7449285727d..26842bb705f 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/UpdateByQueryRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/UpdateByQueryRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/UpdateByQueryRethrottleRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/UpdateByQueryRethrottleRequest.g.cs index c4bc0ab4d92..5a793d21b27 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/UpdateByQueryRethrottleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/UpdateByQueryRethrottleRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/UpdateRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/UpdateRequest.g.cs index 818525a2fe8..2b7fb9ce352 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/UpdateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/UpdateRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; @@ -473,7 +474,7 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o if (DocValue is not null) { writer.WritePropertyName("doc"); - SourceSerialization.Serialize(DocValue, writer, settings.SourceSerializer); + settings.SourceSerializer.Serialize(DocValue, writer); } if (DocAsUpsertValue.HasValue) @@ -513,7 +514,7 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o if (UpsertValue is not null) { writer.WritePropertyName("upsert"); - SourceSerialization.Serialize(UpsertValue, writer, settings.SourceSerializer); + settings.SourceSerializer.Serialize(UpsertValue, writer); } writer.WriteEndObject(); diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Xpack/XpackInfoRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Xpack/XpackInfoRequest.g.cs index 5bb229233bb..4399788c3ee 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Xpack/XpackInfoRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Xpack/XpackInfoRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Xpack/XpackUsageRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Xpack/XpackUsageRequest.g.cs index 099348c72fb..8a0ac0566a4 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Xpack/XpackUsageRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Xpack/XpackUsageRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Shared/Core/Configuration/ElasticsearchClientSettings.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Core/Configuration/ElasticsearchClientSettings.cs index cce890562f2..62c3e7ce566 100644 --- a/src/Elastic.Clients.Elasticsearch/_Shared/Core/Configuration/ElasticsearchClientSettings.cs +++ b/src/Elastic.Clients.Elasticsearch/_Shared/Core/Configuration/ElasticsearchClientSettings.cs @@ -8,17 +8,21 @@ using System.Linq; using System.Linq.Expressions; using System.Reflection; + #if ELASTICSEARCH_SERVERLESS using Elastic.Clients.Elasticsearch.Serverless.Fluent; #else using Elastic.Clients.Elasticsearch.Fluent; #endif + #if ELASTICSEARCH_SERVERLESS using Elastic.Clients.Elasticsearch.Serverless.Serialization; #else using Elastic.Clients.Elasticsearch.Serialization; #endif + using Elastic.Transport; +using Elastic.Transport.Extensions; using Elastic.Transport.Products; using Elastic.Transport.Products.Elasticsearch; @@ -62,12 +66,16 @@ public ElasticsearchClientSettings(string cloudId, AuthorizationHeader credentia { } - public ElasticsearchClientSettings(NodePool nodePool) : this(nodePool, null, null) { } + public ElasticsearchClientSettings(NodePool nodePool) : this(nodePool, null, null) + { + } public ElasticsearchClientSettings(NodePool nodePool, SourceSerializerFactory sourceSerializer) : this(nodePool, null, sourceSerializer) { } - public ElasticsearchClientSettings(NodePool nodePool, IRequestInvoker requestInvoker) : this(nodePool, requestInvoker, null) { } + public ElasticsearchClientSettings(NodePool nodePool, IRequestInvoker requestInvoker) : this(nodePool, requestInvoker, null) + { + } public ElasticsearchClientSettings(NodePool nodePool, IRequestInvoker requestInvoker, SourceSerializerFactory sourceSerializer) : this( nodePool, @@ -113,7 +121,7 @@ public abstract class private readonly FluentDictionary _routeProperties = new(); private readonly Serializer _sourceSerializer; private bool _experimentalEnableSerializeNullInferredValues; - private ExperimentalSettings _experimentalSettings = new (); + private ExperimentalSettings _experimentalSettings = new(); private bool _defaultDisableAllInference; private Func _defaultFieldNameInferrer; @@ -133,7 +141,9 @@ protected ElasticsearchClientSettingsBase( _sourceSerializer = sourceSerializerFactory?.Invoke(sourceSerializer, this) ?? sourceSerializer; _propertyMappingProvider = propertyMappingProvider ?? sourceSerializer as IPropertyMappingProvider ?? new DefaultPropertyMappingProvider(); - _defaultFieldNameInferrer = (_sourceSerializer is DefaultSourceSerializer dfs) ? p => dfs.Options?.PropertyNamingPolicy?.ConvertName(p) ?? p : p => p.ToCamelCase(); + _defaultFieldNameInferrer = _sourceSerializer.TryGetJsonSerializerOptions(out var options) + ? p => options.PropertyNamingPolicy?.ConvertName(p) ?? p + : p => p.ToCamelCase(); _defaultIndices = new FluentDictionary(); _defaultRelationNames = new FluentDictionary(); _inferrer = new Inferrer(this); @@ -180,12 +190,13 @@ public TConnectionSettings DefaultIndex(string defaultIndex) => /// public TConnectionSettings DefaultFieldNameInferrer(Func fieldNameInferrer) { - if (_sourceSerializer is DefaultSourceSerializer dss) - { - dss.Options.PropertyNamingPolicy = new CustomizedNamingPolicy(fieldNameInferrer); - } + if (_sourceSerializer.TryGetJsonSerializerOptions(out var options, SerializationFormatting.None)) + options.PropertyNamingPolicy = new CustomizedNamingPolicy(fieldNameInferrer); - return Assign>(fieldNameInferrer, (a, v) => a._defaultFieldNameInferrer = v); + if (_sourceSerializer.TryGetJsonSerializerOptions(out var indentedOptions, SerializationFormatting.Indented)) + indentedOptions.PropertyNamingPolicy = new CustomizedNamingPolicy(fieldNameInferrer); + + return Assign(fieldNameInferrer, (a, v) => a._defaultFieldNameInferrer = v); } public TConnectionSettings ExperimentalEnableSerializeNullInferredValues(bool enabled = true) => @@ -346,7 +357,9 @@ public ConnectionConfiguration(string cloudId, AuthorizationHeader credentials) { } - public ConnectionConfiguration(NodePool nodePool) : this(nodePool, null, null) { } + public ConnectionConfiguration(NodePool nodePool) : this(nodePool, null, null) + { + } public ConnectionConfiguration(NodePool nodePool, IRequestInvoker requestInvoker) : this(nodePool, requestInvoker, null) diff --git a/src/Elastic.Clients.Elasticsearch/_Shared/Core/Fields/FieldValue.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Core/Fields/FieldValue.cs index 9ebf95304eb..a2b89956e86 100644 --- a/src/Elastic.Clients.Elasticsearch/_Shared/Core/Fields/FieldValue.cs +++ b/src/Elastic.Clients.Elasticsearch/_Shared/Core/Fields/FieldValue.cs @@ -8,6 +8,9 @@ using System.Diagnostics.CodeAnalysis; using System.Collections.Generic; using System.Globalization; + +using Elastic.Transport.Extensions; + #if ELASTICSEARCH_SERVERLESS using Elastic.Clients.Elasticsearch.Serverless.Serialization; #else @@ -27,7 +30,11 @@ namespace Elastic.Clients.Elasticsearch; [JsonConverter(typeof(FieldValueConverter))] public readonly struct FieldValue : IEquatable { - internal FieldValue(ValueKind kind, object? value) { Kind = kind; Value = value; } + internal FieldValue(ValueKind kind, object? value) + { + Kind = kind; + Value = value; + } /// /// The kind of value contained within this . @@ -98,6 +105,7 @@ public enum ValueKind // These are not expected to be required for consumer values but are used internally. internal static FieldValue Any(LazyJson value) => new(ValueKind.LazyDocument, value); + internal static FieldValue Composite(object value) => new(ValueKind.Composite, value); /// @@ -269,6 +277,7 @@ public override string ToString() => }; public override bool Equals(object? obj) => obj is FieldValue value && Equals(value); + public bool Equals(FieldValue other) => Kind == other.Kind && EqualityComparer.Default.Equals(Value, other.Value); public override int GetHashCode() @@ -283,12 +292,17 @@ public override int GetHashCode() } public static bool operator ==(FieldValue left, FieldValue right) => left.Equals(right); + public static bool operator !=(FieldValue left, FieldValue right) => !(left == right); public static implicit operator FieldValue(string value) => String(value); + public static implicit operator FieldValue(bool value) => Boolean(value); + public static implicit operator FieldValue(int value) => Long(value); + public static implicit operator FieldValue(long value) => Long(value); + public static implicit operator FieldValue(double value) => Double(value); } @@ -340,40 +354,33 @@ public override void Write(Utf8JsonWriter writer, FieldValue value, JsonSerializ { writer.WriteStringValue(stringValue); } - else if (value.TryGetBool(out var boolValue)) { writer.WriteBooleanValue(boolValue.Value); } - else if (value.TryGetLong(out var longValue)) { writer.WriteNumberValue(longValue.Value); } - else if (value.TryGetDouble(out var doubleValue)) { writer.WriteNumberValue(doubleValue.Value); } - else if (value.TryGetLazyDocument(out var lazyDocument)) { writer.WriteRawValue(lazyDocument.Value.Bytes); } - else if (value.TryGetComposite(out var objectValue)) { if (!options.TryGetClientSettings(out var settings)) ThrowHelper.ThrowJsonExceptionForMissingSettings(); - SourceSerialization.Serialize(objectValue, objectValue.GetType(), writer, settings); + settings.SourceSerializer.Serialize(objectValue, objectValue.GetType(), writer, null); } - else if (value.Kind == FieldValue.ValueKind.Null) { writer.WriteNullValue(); } - else { throw new JsonException($"Unsupported FieldValue kind. This is likely a bug and should be reported as an issue."); diff --git a/src/Elastic.Clients.Elasticsearch/_Shared/Serialization/DefaultRequestResponseSerializer.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Serialization/DefaultRequestResponseSerializer.cs index 3d497c3c25e..7669ee7dd10 100644 --- a/src/Elastic.Clients.Elasticsearch/_Shared/Serialization/DefaultRequestResponseSerializer.cs +++ b/src/Elastic.Clients.Elasticsearch/_Shared/Serialization/DefaultRequestResponseSerializer.cs @@ -2,6 +2,7 @@ // Elasticsearch B.V licenses this file to you under the Apache 2.0 License. // See the LICENSE file in the project root for more information. +using System.Collections.Generic; using System.IO; using System.Text.Json; using System.Text.Json.Serialization; @@ -17,42 +18,18 @@ namespace Elastic.Clients.Elasticsearch.Serialization; #endif /// -/// The built in internal serializer that the uses to serialize -/// built in types. +/// The built-in internal serializer that the uses to serialize built in types. /// -internal class DefaultRequestResponseSerializer : SystemTextJsonSerializer +internal sealed class DefaultRequestResponseSerializer : SystemTextJsonSerializer { - private readonly JsonSerializerOptions _jsonSerializerOptions; + private readonly IElasticsearchClientSettings _settings; - public DefaultRequestResponseSerializer(IElasticsearchClientSettings settings) : base(settings) + public DefaultRequestResponseSerializer(IElasticsearchClientSettings settings) : + base(new DefaultRequestResponseSerializerOptionsProvider(settings)) { - _jsonSerializerOptions = new JsonSerializerOptions - { - DefaultIgnoreCondition = JsonIgnoreCondition.WhenWritingNull, - IncludeFields = true, - Converters = - { - new KeyValuePairConverterFactory(settings), - new ObjectToInferredTypesConverter(), - new SourceConverterFactory(settings), - new SelfSerializableConverterFactory(settings), - new SelfDeserializableConverterFactory(settings), - new SelfTwoWaySerializableConverterFactory(settings), - new FieldValuesConverter(), // explicitly registered before IsADictionaryConverterFactory as we want this specialised converter to match - new IsADictionaryConverterFactory(), - new ResponseItemConverterFactory(), - new DictionaryResponseConverterFactory(settings), - new UnionConverter(), - // TODO: Remove after https://github.com/elastic/elasticsearch-specification/issues/2238 is implemented - new StringifiedLongConverter(), - new StringifiedIntegerConverter(), - new StringifiedBoolConverter() - }, - PropertyNamingPolicy = JsonNamingPolicy.CamelCase, - NumberHandling = JsonNumberHandling.AllowReadingFromString | JsonNumberHandling.AllowNamedFloatingPointLiterals - }; - - Initialize(); + _settings = settings; + + LinkSettings(settings); } public override void Serialize(T data, Stream writableStream, @@ -60,7 +37,7 @@ public override void Serialize(T data, Stream writableStream, { if (data is IStreamSerializable streamSerializable) { - streamSerializable.Serialize(writableStream, Settings, SerializationFormatting.None); + streamSerializable.Serialize(writableStream, _settings, SerializationFormatting.None); return; } @@ -72,12 +49,67 @@ public override Task SerializeAsync(T data, Stream stream, CancellationToken cancellationToken = default) { if (data is IStreamSerializable streamSerializable) + return streamSerializable.SerializeAsync(stream, _settings, SerializationFormatting.None); + + return base.SerializeAsync(data, stream, formatting, cancellationToken); + } + + /// + /// Links the of this serializer to the given . + /// + private void LinkSettings(IElasticsearchClientSettings settings) + { + var options = GetJsonSerializerOptions(SerializationFormatting.None); + var indentedOptions = GetJsonSerializerOptions(SerializationFormatting.Indented); + + if (!ElasticsearchClient.SettingsTable.TryGetValue(options, out _)) { - return streamSerializable.SerializeAsync(stream, Settings, SerializationFormatting.None); + ElasticsearchClient.SettingsTable.Add(options, settings); } - return base.SerializeAsync(data, stream, formatting, cancellationToken); + if (!ElasticsearchClient.SettingsTable.TryGetValue(indentedOptions, out _)) + { + ElasticsearchClient.SettingsTable.Add(indentedOptions, settings); + } } +} + +/// +/// The options-provider for the built-in . +/// +internal sealed class DefaultRequestResponseSerializerOptionsProvider : + TransportSerializerOptionsProvider +{ + internal DefaultRequestResponseSerializerOptionsProvider(IElasticsearchClientSettings settings) : + base(CreateDefaultBuiltInConverters(settings), null, MutateOptions) + { + } + + private static IReadOnlyCollection CreateDefaultBuiltInConverters(IElasticsearchClientSettings settings) => + [ + new KeyValuePairConverterFactory(settings), + new ObjectToInferredTypesConverter(), + new SourceConverterFactory(settings), + new SelfSerializableConverterFactory(settings), + new SelfDeserializableConverterFactory(settings), + new SelfTwoWaySerializableConverterFactory(settings), + // Explicitly registered before `IsADictionaryConverterFactory` as we want this specialised converter to match + new FieldValuesConverter(), + new IsADictionaryConverterFactory(), + new ResponseItemConverterFactory(), + new DictionaryResponseConverterFactory(settings), + new UnionConverter(), + // TODO: Remove after https://github.com/elastic/elasticsearch-specification/issues/2238 is implemented + new StringifiedLongConverter(), + new StringifiedIntegerConverter(), + new StringifiedBoolConverter() + ]; - protected override JsonSerializerOptions CreateJsonSerializerOptions() => _jsonSerializerOptions; + private static void MutateOptions(JsonSerializerOptions options) + { + options.DefaultIgnoreCondition = JsonIgnoreCondition.WhenWritingNull; + options.IncludeFields = true; + options.NumberHandling = JsonNumberHandling.AllowReadingFromString | JsonNumberHandling.AllowNamedFloatingPointLiterals; + options.PropertyNamingPolicy = JsonNamingPolicy.CamelCase; + } } diff --git a/src/Elastic.Clients.Elasticsearch/_Shared/Serialization/DefaultSourceSerializer.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Serialization/DefaultSourceSerializer.cs index 4baffcc168c..de2bc568f4d 100644 --- a/src/Elastic.Clients.Elasticsearch/_Shared/Serialization/DefaultSourceSerializer.cs +++ b/src/Elastic.Clients.Elasticsearch/_Shared/Serialization/DefaultSourceSerializer.cs @@ -6,6 +6,8 @@ using System.Text.Json; using System.Text.Json.Serialization; +using Elastic.Transport; + #if ELASTICSEARCH_SERVERLESS namespace Elastic.Clients.Elasticsearch.Serverless.Serialization; #else @@ -13,92 +15,80 @@ namespace Elastic.Clients.Elasticsearch.Serialization; #endif /// -/// The built in internal serializer that the uses to serialize +/// The built-in internal serializer that the uses to serialize /// source document types. /// -public class DefaultSourceSerializer : SystemTextJsonSerializer +public class DefaultSourceSerializer : + SystemTextJsonSerializer { - /// - /// Returns an array of the built in s that are used registered with the - /// source serializer by default. - /// - public static JsonConverter[] DefaultBuiltInConverters => new JsonConverter[] - { - new JsonStringEnumConverter(), - new DoubleWithFractionalPortionConverter(), - new SingleWithFractionalPortionConverter() - }; - - private readonly JsonSerializerOptions _jsonSerializerOptions; - - internal DefaultSourceSerializer(IElasticsearchClientSettings settings) : base(settings) - { - _jsonSerializerOptions = CreateDefaultJsonSerializerOptions(); - - Initialize(); - } - /// /// Constructs a new instance that accepts an that can /// be provided to customize the default . /// - /// An instance to which this - /// serializers will be linked. - /// An to customize the configuration of the - /// default . - public DefaultSourceSerializer(IElasticsearchClientSettings settings, Action configureOptions) : base(settings) - { - var options = CreateDefaultJsonSerializerOptions(); - - configureOptions?.Invoke(options); - - _jsonSerializerOptions = options; - - Initialize(); - } + /// An instance to which this serializers + /// will be linked. + /// + /// + /// An optional to customize the configuration of the default . + /// + public DefaultSourceSerializer(IElasticsearchClientSettings settings, Action? configureOptions = null) : + base(new DefaultSourceSerializerOptionsProvider(configureOptions)) => + LinkSettings(settings); /// - /// A factory method which returns a new instance of configured with the - /// default configuration applied to for serialization by the . + /// Links the of this serializer to the given . /// - /// - /// - public static JsonSerializerOptions CreateDefaultJsonSerializerOptions(bool includeDefaultConverters = true) + private void LinkSettings(IElasticsearchClientSettings settings) { - var options = new JsonSerializerOptions() - { - DefaultIgnoreCondition = JsonIgnoreCondition.WhenWritingNull, - PropertyNamingPolicy = JsonNamingPolicy.CamelCase, - NumberHandling = JsonNumberHandling.AllowReadingFromString // For numerically mapped fields, it is possible for values in the source to be returned as strings, if they were indexed as such. - }; + var options = GetJsonSerializerOptions(SerializationFormatting.None); + var indentedOptions = GetJsonSerializerOptions(SerializationFormatting.Indented); - if (includeDefaultConverters) + if (!ElasticsearchClient.SettingsTable.TryGetValue(options, out _)) { - foreach (var converter in DefaultBuiltInConverters) - { - options.Converters.Add(converter); - } + ElasticsearchClient.SettingsTable.Add(options, settings); } - return options; + if (!ElasticsearchClient.SettingsTable.TryGetValue(indentedOptions, out _)) + { + ElasticsearchClient.SettingsTable.Add(indentedOptions, settings); + } } +} +/// +/// The options-provider for the built-in . +/// +public class DefaultSourceSerializerOptionsProvider : + TransportSerializerOptionsProvider +{ /// - /// A helper method which applies the default converters for the built in source serializer to an - /// existing instance. + /// Returns an array of the built-in s that are used registered with the source serializer by default. /// - /// The instance to which to append the default - /// built in s. - /// The instance that was provided as an argument. - public static JsonSerializerOptions AddDefaultConverters(JsonSerializerOptions options) + private static JsonConverter[] DefaultBuiltInConverters => + [ + new JsonStringEnumConverter(), + new DoubleWithFractionalPortionConverter(), + new SingleWithFractionalPortionConverter() + ]; + + public DefaultSourceSerializerOptionsProvider(Action? configureOptions = null) : + base(DefaultBuiltInConverters, null, options => MutateOptions(options, configureOptions)) { - foreach (var converter in DefaultBuiltInConverters) - { - options.Converters.Add(converter); - } + } - return options; + public DefaultSourceSerializerOptionsProvider(bool registerDefaultConverters = true, Action? configureOptions = null) : + base(registerDefaultConverters ? DefaultBuiltInConverters : [], null, options => MutateOptions(options, configureOptions)) + { } - protected sealed override JsonSerializerOptions CreateJsonSerializerOptions() => _jsonSerializerOptions; + private static void MutateOptions(JsonSerializerOptions options, Action? configureOptions) + { + options.DefaultIgnoreCondition = JsonIgnoreCondition.WhenWritingNull; + options.PropertyNamingPolicy = JsonNamingPolicy.CamelCase; + + // For numerically mapped fields, it is possible for values in the source to be returned as strings, if they were indexed as such. + options.NumberHandling = JsonNumberHandling.AllowReadingFromString; + + configureOptions?.Invoke(options); + } } diff --git a/src/Elastic.Clients.Elasticsearch/_Shared/Serialization/SerializerExtensions.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Serialization/SerializerExtensions.cs deleted file mode 100644 index 8f756b29363..00000000000 --- a/src/Elastic.Clients.Elasticsearch/_Shared/Serialization/SerializerExtensions.cs +++ /dev/null @@ -1,27 +0,0 @@ -// Licensed to Elasticsearch B.V under one or more agreements. -// Elasticsearch B.V licenses this file to you under the Apache 2.0 License. -// See the LICENSE file in the project root for more information. - -using System.Text.Json; -using Elastic.Transport; - -#if ELASTICSEARCH_SERVERLESS -namespace Elastic.Clients.Elasticsearch.Serverless.Serialization; -#else -namespace Elastic.Clients.Elasticsearch.Serialization; -#endif - -internal static class SerializerExtensions -{ - public static bool TryGetJsonSerializerOptions(this Serializer serializer, out JsonSerializerOptions? options) - { - if (serializer is DefaultRequestResponseSerializer defaultSerializer) - { - options = defaultSerializer.Options; - return true; - } - - options = null; - return false; - } -} diff --git a/src/Elastic.Clients.Elasticsearch/_Shared/Serialization/SourceConverter.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Serialization/SourceConverter.cs index 527210510c9..6c1e0295cd5 100644 --- a/src/Elastic.Clients.Elasticsearch/_Shared/Serialization/SourceConverter.cs +++ b/src/Elastic.Clients.Elasticsearch/_Shared/Serialization/SourceConverter.cs @@ -12,6 +12,8 @@ namespace Elastic.Clients.Elasticsearch.Serverless.Serialization; namespace Elastic.Clients.Elasticsearch.Serialization; #endif +using Elastic.Transport.Extensions; + internal sealed class SourceConverter : JsonConverter> { private readonly IElasticsearchClientSettings _settings; @@ -20,8 +22,8 @@ internal sealed class SourceConverter : JsonConverter> public override SourceMarker? Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) => new() { - Source = SourceSerialization.Deserialize(ref reader, _settings) + Source = _settings.SourceSerializer.Deserialize(ref reader, null) }; - public override void Write(Utf8JsonWriter writer, SourceMarker value, JsonSerializerOptions options) => SourceSerialization.Serialize(value.Source, writer, _settings); + public override void Write(Utf8JsonWriter writer, SourceMarker value, JsonSerializerOptions options) => _settings.SourceSerializer.Serialize(value.Source, writer, null); } diff --git a/src/Elastic.Clients.Elasticsearch/_Shared/Serialization/SourceSerialization.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Serialization/SourceSerialization.cs deleted file mode 100644 index 78fcc25dd98..00000000000 --- a/src/Elastic.Clients.Elasticsearch/_Shared/Serialization/SourceSerialization.cs +++ /dev/null @@ -1,127 +0,0 @@ -// Licensed to Elasticsearch B.V under one or more agreements. -// Elasticsearch B.V licenses this file to you under the Apache 2.0 License. -// See the LICENSE file in the project root for more information. - -using System; -using System.IO; -using System.Text.Json; -using Elastic.Transport; - -#if ELASTICSEARCH_SERVERLESS -namespace Elastic.Clients.Elasticsearch.Serverless.Serialization; -#else -namespace Elastic.Clients.Elasticsearch.Serialization; -#endif - -/// -/// May be used by requests that need to serialize only part of their source rather than the request object itself. -/// -internal static class SourceSerialization -{ - public static void SerializeParams(T toSerialize, Utf8JsonWriter writer, IElasticsearchClientSettings settings) - { - if (settings.Experimental.UseSourceSerializerForScriptParameters) - { - Serialize(toSerialize, writer, settings); - return; - } - - _ = settings.RequestResponseSerializer.TryGetJsonSerializerOptions(out var options); - JsonSerializer.Serialize(writer, toSerialize, options); - } - - public static T DeserializeParams(ref Utf8JsonReader reader, IElasticsearchClientSettings settings) - { - if (settings.Experimental.UseSourceSerializerForScriptParameters) - { - var result = Deserialize(ref reader, settings); - return result; - } - - _ = settings.RequestResponseSerializer.TryGetJsonSerializerOptions(out var options); - return JsonSerializer.Deserialize(ref reader, options); - } - - public static void Serialize(T toSerialize, Utf8JsonWriter writer, IElasticsearchClientSettings settings) => - Serialize(toSerialize, writer, settings.SourceSerializer); - - public static void Serialize(object toSerialize, Type type, Utf8JsonWriter writer, IElasticsearchClientSettings settings) => - Serialize(toSerialize, type, writer, settings.SourceSerializer); - - public static void Serialize(T toSerialize, Utf8JsonWriter writer, Serializer sourceSerializer) - { - if (sourceSerializer is DefaultSourceSerializer defaultSerializer) - { - // When the serializer is our own, which uses STJ we can avoid unnecessary allocations and serialize straight into the writer - // In most cases this is not the case as it's wrapped in the DiagnosticsSerializerProxy - // Ideally, we'd short-circuit here if we know there are no listeners or avoid wrapping the default source serializer. - JsonSerializer.Serialize(writer, toSerialize, defaultSerializer.Options); - return; - } - - // We may be using a custom serializer or most likely, we're registered via DiagnosticsSerializerProxy - // We cannot use STJ since the implementation may use another serializer. - // This path is a little less optimal - using var ms = new MemoryStream(); - sourceSerializer.Serialize(toSerialize, ms); - ms.Position = 0; -#if NET6_0_OR_GREATER - writer.WriteRawValue(ms.GetBuffer().AsSpan()[..(int)ms.Length], true); -#else - // This is not super efficient but a variant on the suggestion at https://github.com/dotnet/runtime/issues/1784#issuecomment-608331125 - using var document = JsonDocument.Parse(ms); - document.RootElement.WriteTo(writer); -#endif - } - - public static void Serialize(object toSerialize, Type type, Utf8JsonWriter writer, Serializer sourceSerializer) - { - if (sourceSerializer is DefaultSourceSerializer defaultSerializer) - { - // When the serializer is our own, which uses STJ we can avoid unnecessary allocations and serialize straight into the writer - // In most cases this is not the case as it's wrapped in the DiagnosticsSerializerProxy - // Ideally, we'd short-circuit here if we know there are no listeners or avoid wrapping the default source serializer. - JsonSerializer.Serialize(writer, toSerialize, type, defaultSerializer.Options); - return; - } - - // We may be using a custom serializer or most likely, we're registered via DiagnosticsSerializerProxy - // We cannot use STJ since the implementation may use another serializer. - // This path is a little less optimal - using var ms = new MemoryStream(); - sourceSerializer.Serialize(toSerialize, ms); - ms.Position = 0; -#if NET6_0_OR_GREATER - writer.WriteRawValue(ms.GetBuffer().AsSpan()[..(int)ms.Length], true); -#else - // This is not super efficient but a variant on the suggestion at https://github.com/dotnet/runtime/issues/1784#issuecomment-608331125 - using var document = JsonDocument.Parse(ms); - document.RootElement.WriteTo(writer); -#endif - } - - public static T Deserialize(ref Utf8JsonReader reader, IElasticsearchClientSettings settings) - { - var sourceSerializer = settings.SourceSerializer; - - if (sourceSerializer is DefaultSourceSerializer defaultSerializer) - { - // When the serializer is our own which uses STJ we can avoid unnecessary allocations and serialize straight into the writer - return JsonSerializer.Deserialize(ref reader, defaultSerializer.Options); - } - else - { - // TODO: This allocates more than we'd like. Review this post alpha - - using var jsonDoc = JsonSerializer.Deserialize(ref reader); - using var stream = settings.MemoryStreamFactory.Create(); - - var writer = new Utf8JsonWriter(stream); - jsonDoc.WriteTo(writer); - writer.Flush(); - stream.Position = 0; - - return sourceSerializer.Deserialize(stream); - } - } -} diff --git a/src/Elastic.Clients.Elasticsearch/_Shared/Serialization/SystemTextJsonSerializer.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Serialization/SystemTextJsonSerializer.cs deleted file mode 100644 index 5397867e0a7..00000000000 --- a/src/Elastic.Clients.Elasticsearch/_Shared/Serialization/SystemTextJsonSerializer.cs +++ /dev/null @@ -1,164 +0,0 @@ -// Licensed to Elasticsearch B.V under one or more agreements. -// Elasticsearch B.V licenses this file to you under the Apache 2.0 License. -// See the LICENSE file in the project root for more information. - -using System; -using System.IO; -using System.Text.Json; -using System.Threading; -using System.Threading.Tasks; -using Elastic.Transport; - -#if ELASTICSEARCH_SERVERLESS -namespace Elastic.Clients.Elasticsearch.Serverless.Serialization; -#else -namespace Elastic.Clients.Elasticsearch.Serialization; -#endif - -/// -/// An abstract implementation of the transport which serializes -/// using the Microsoft System.Text.Json library. -/// -/// This serializer is aware and able to register its -/// in such a way that built in converters for types defined in -/// Elastic.Clients.Elasticsearch can access those settings during serialization. -/// -/// -public abstract class SystemTextJsonSerializer : Serializer -{ - private bool _initialized; - - /// - /// Initializes a new instance of the class, linked to an - /// instance of . - /// - /// An instance to which this - /// serializers will be linked. - /// is null - public SystemTextJsonSerializer(IElasticsearchClientSettings settings) - { - if (settings is null) - throw new ArgumentNullException(nameof(settings)); - - Settings = settings; - } - - internal JsonSerializerOptions? Options { get; private set; } - - internal JsonSerializerOptions? IndentedOptions { get; private set; } - - /// - /// Provides access to the instance to which this - /// serializers are be linked. - /// - protected IElasticsearchClientSettings Settings { get; } - - /// - /// A factory method that can create an instance of that will - /// be used when serializing. - /// - /// - protected abstract JsonSerializerOptions? CreateJsonSerializerOptions(); - - /// - public override T Deserialize(Stream stream) - { - Initialize(); - - if (TryReturnDefault(stream, out T deserialize)) - return deserialize; - - return JsonSerializer.Deserialize(stream, Options); - } - - /// - public override object? Deserialize(Type type, Stream stream) - { - Initialize(); - - if (TryReturnDefault(stream, out object deserialize)) - return deserialize; - - return JsonSerializer.Deserialize(stream, type, Options); - } - - /// - public override ValueTask DeserializeAsync(Stream stream, CancellationToken cancellationToken = default) - { - Initialize(); - return JsonSerializer.DeserializeAsync(stream, Options, cancellationToken); - } - - /// - public override ValueTask DeserializeAsync(Type type, Stream stream, CancellationToken cancellationToken = default) - { - Initialize(); - return JsonSerializer.DeserializeAsync(stream, type, Options, cancellationToken); - } - - /// - public override void Serialize(T data, Stream writableStream, - SerializationFormatting formatting = SerializationFormatting.None) - { - Initialize(); - JsonSerializer.Serialize(writableStream, data, formatting == SerializationFormatting.Indented && IndentedOptions is not null ? IndentedOptions : Options); - } - - /// - public override Task SerializeAsync(T data, Stream stream, - SerializationFormatting formatting = SerializationFormatting.None, - CancellationToken cancellationToken = default) - { - Initialize(); - return JsonSerializer.SerializeAsync(stream, data, formatting == SerializationFormatting.Indented && IndentedOptions is not null ? IndentedOptions : Options, cancellationToken); - } - - private static bool TryReturnDefault(Stream stream, out T deserialize) - { - deserialize = default; - return stream is null || stream == Stream.Null || (stream.CanSeek && stream.Length == 0); - } - - /// - /// Initializes a serializer instance such that its - /// are populated and linked to the . - /// - protected void Initialize() - { - if (_initialized) - return; - - var options = CreateJsonSerializerOptions(); - - if (options is null) - { - Options = new JsonSerializerOptions(); - IndentedOptions = new JsonSerializerOptions { WriteIndented = true }; - } - else - { - Options = options; - IndentedOptions = new JsonSerializerOptions(options) - { - WriteIndented = true - }; - } - - LinkOptionsAndSettings(); - - _initialized = true; - } - - private void LinkOptionsAndSettings() - { - if (!ElasticsearchClient.SettingsTable.TryGetValue(Options!, out _)) - { - ElasticsearchClient.SettingsTable.Add(Options, Settings); - } - - if (!ElasticsearchClient.SettingsTable.TryGetValue(IndentedOptions!, out _)) - { - ElasticsearchClient.SettingsTable.Add(IndentedOptions, Settings); - } - } -} diff --git a/src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Bulk/BulkCreateOperation.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Bulk/BulkCreateOperation.cs index f04ffd238e4..f9674169a14 100644 --- a/src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Bulk/BulkCreateOperation.cs +++ b/src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Bulk/BulkCreateOperation.cs @@ -8,6 +8,7 @@ using System.Text.Json; using System.Text.Json.Serialization; using System.Threading.Tasks; +using Elastic.Transport.Extensions; #if ELASTICSEARCH_SERVERLESS using Elastic.Clients.Elasticsearch.Serverless.Serialization; #else @@ -129,8 +130,7 @@ private void SerializeOperationAction(IElasticsearchClientSettings settings, Utf var requestResponseSerializer = settings.RequestResponseSerializer; writer.WriteStartObject(); writer.WritePropertyName(Operation); - requestResponseSerializer.TryGetJsonSerializerOptions(out var options); - JsonSerializer.Serialize>(writer, this, options); + requestResponseSerializer.Serialize(this, writer, settings.MemoryStreamFactory); writer.WriteEndObject(); } } diff --git a/src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Bulk/BulkCreateOperationDescriptor.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Bulk/BulkCreateOperationDescriptor.cs index 16a1bb4e31b..e5de624043c 100644 --- a/src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Bulk/BulkCreateOperationDescriptor.cs +++ b/src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Bulk/BulkCreateOperationDescriptor.cs @@ -19,6 +19,7 @@ using Elastic.Clients.Elasticsearch.Serialization; #endif using Elastic.Transport; +using Elastic.Transport.Extensions; #if ELASTICSEARCH_SERVERLESS namespace Elastic.Clients.Elasticsearch.Serverless.Core.Bulk; @@ -53,12 +54,11 @@ protected override void Serialize(Stream stream, IElasticsearchClientSettings se var internalWriter = new Utf8JsonWriter(stream); internalWriter.WriteStartObject(); internalWriter.WritePropertyName(Operation); - requestResponseSerializer.TryGetJsonSerializerOptions(out var options); - JsonSerializer.Serialize>(internalWriter, this, options); + requestResponseSerializer.Serialize(this, internalWriter, settings.MemoryStreamFactory, formatting); internalWriter.WriteEndObject(); internalWriter.Flush(); stream.WriteByte(_newline); - settings.SourceSerializer.Serialize(GetBody(), stream); + settings.SourceSerializer.Serialize(GetBody(), stream, formatting); } protected override async Task SerializeAsync(Stream stream, IElasticsearchClientSettings settings, SerializationFormatting formatting, CancellationToken cancellationToken = default) @@ -67,12 +67,11 @@ protected override async Task SerializeAsync(Stream stream, IElasticsearchClient var internalWriter = new Utf8JsonWriter(stream); internalWriter.WriteStartObject(); internalWriter.WritePropertyName(Operation); - requestResponseSerializer.TryGetJsonSerializerOptions(out var options); - JsonSerializer.Serialize>(internalWriter, this, options); + requestResponseSerializer.Serialize(this, internalWriter, settings.MemoryStreamFactory, formatting); internalWriter.WriteEndObject(); - await internalWriter.FlushAsync().ConfigureAwait(false); + await internalWriter.FlushAsync(cancellationToken).ConfigureAwait(false); stream.WriteByte(_newline); - await settings.SourceSerializer.SerializeAsync(GetBody(), stream).ConfigureAwait(false); + await settings.SourceSerializer.SerializeAsync(GetBody(), stream, formatting, cancellationToken).ConfigureAwait(false); } protected override void SerializeInternal(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) diff --git a/src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Bulk/BulkDeleteOperation.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Bulk/BulkDeleteOperation.cs index 6e91d811f93..92b16d6099d 100644 --- a/src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Bulk/BulkDeleteOperation.cs +++ b/src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Bulk/BulkDeleteOperation.cs @@ -7,6 +7,7 @@ using System.Text.Json; using System.Text.Json.Serialization; using System.Threading.Tasks; +using Elastic.Transport.Extensions; #if ELASTICSEARCH_SERVERLESS using Elastic.Clients.Elasticsearch.Serverless.Serialization; #else @@ -51,8 +52,7 @@ private void SerializeInternal(IElasticsearchClientSettings settings, Utf8JsonWr var requestResponseSerializer = settings.RequestResponseSerializer; writer.WriteStartObject(); writer.WritePropertyName(Operation); - requestResponseSerializer.TryGetJsonSerializerOptions(out var options); - JsonSerializer.Serialize(writer, this, options); + requestResponseSerializer.Serialize(this, writer, settings.MemoryStreamFactory); writer.WriteEndObject(); } diff --git a/src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Bulk/BulkDeleteOperationDescriptor.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Bulk/BulkDeleteOperationDescriptor.cs index 8ad8e2a4ba0..63ce144185d 100644 --- a/src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Bulk/BulkDeleteOperationDescriptor.cs +++ b/src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Bulk/BulkDeleteOperationDescriptor.cs @@ -13,6 +13,7 @@ using Elastic.Clients.Elasticsearch.Serialization; #endif using Elastic.Transport; +using Elastic.Transport.Extensions; #if ELASTICSEARCH_SERVERLESS namespace Elastic.Clients.Elasticsearch.Serverless.Core.Bulk; @@ -38,8 +39,7 @@ protected override void Serialize(Stream stream, IElasticsearchClientSettings se var internalWriter = new Utf8JsonWriter(stream); internalWriter.WriteStartObject(); internalWriter.WritePropertyName(Operation); - requestResponseSerializer.TryGetJsonSerializerOptions(out var options); - JsonSerializer.Serialize(internalWriter, this, options); + requestResponseSerializer.Serialize(this, internalWriter, settings.MemoryStreamFactory, formatting); internalWriter.WriteEndObject(); internalWriter.Flush(); } @@ -50,10 +50,9 @@ protected override async Task SerializeAsync(Stream stream, IElasticsearchClient var internalWriter = new Utf8JsonWriter(stream); internalWriter.WriteStartObject(); internalWriter.WritePropertyName(Operation); - requestResponseSerializer.TryGetJsonSerializerOptions(out var options); - JsonSerializer.Serialize(internalWriter, this, options); + requestResponseSerializer.Serialize(this, internalWriter, settings.MemoryStreamFactory, formatting); internalWriter.WriteEndObject(); - await internalWriter.FlushAsync().ConfigureAwait(false); + await internalWriter.FlushAsync(cancellationToken).ConfigureAwait(false); } protected override void SerializeInternal(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) diff --git a/src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Bulk/BulkIndexOperation.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Bulk/BulkIndexOperation.cs index 799138d6597..c71cf41949a 100644 --- a/src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Bulk/BulkIndexOperation.cs +++ b/src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Bulk/BulkIndexOperation.cs @@ -8,6 +8,7 @@ using System.Text.Json; using System.Text.Json.Serialization; using System.Threading.Tasks; +using Elastic.Transport.Extensions; #if ELASTICSEARCH_SERVERLESS using Elastic.Clients.Elasticsearch.Serverless.Serialization; #else @@ -112,8 +113,7 @@ private void SerializeOperationAction(Utf8JsonWriter writer, IElasticsearchClien writer.WriteStartObject(); writer.WritePropertyName(Operation); - requestResponseSerializer.TryGetJsonSerializerOptions(out var options); - JsonSerializer.Serialize>(writer, this, options); + requestResponseSerializer.Serialize(this, writer); writer.WriteEndObject(); } } diff --git a/src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Bulk/BulkIndexOperationDescriptor.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Bulk/BulkIndexOperationDescriptor.cs index df959ebbec7..a59188d75c0 100644 --- a/src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Bulk/BulkIndexOperationDescriptor.cs +++ b/src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Bulk/BulkIndexOperationDescriptor.cs @@ -19,6 +19,7 @@ using Elastic.Clients.Elasticsearch.Serialization; #endif using Elastic.Transport; +using Elastic.Transport.Extensions; #if ELASTICSEARCH_SERVERLESS namespace Elastic.Clients.Elasticsearch.Serverless.Core.Bulk; @@ -56,8 +57,7 @@ protected override void Serialize(Stream stream, IElasticsearchClientSettings se var internalWriter = new Utf8JsonWriter(stream); internalWriter.WriteStartObject(); internalWriter.WritePropertyName(Operation); - requestResponseSerializer.TryGetJsonSerializerOptions(out var options); - JsonSerializer.Serialize>(internalWriter, this, options); + requestResponseSerializer.Serialize(this, internalWriter, settings.MemoryStreamFactory); internalWriter.WriteEndObject(); internalWriter.Flush(); stream.WriteByte(_newline); @@ -70,12 +70,11 @@ protected override async Task SerializeAsync(Stream stream, IElasticsearchClient var internalWriter = new Utf8JsonWriter(stream); internalWriter.WriteStartObject(); internalWriter.WritePropertyName(Operation); - requestResponseSerializer.TryGetJsonSerializerOptions(out var options); - JsonSerializer.Serialize>(internalWriter, this, options); + requestResponseSerializer.Serialize(this, internalWriter, settings.MemoryStreamFactory); internalWriter.WriteEndObject(); - await internalWriter.FlushAsync().ConfigureAwait(false); + await internalWriter.FlushAsync(cancellationToken).ConfigureAwait(false); stream.WriteByte(_newline); - await settings.SourceSerializer.SerializeAsync(_document, stream).ConfigureAwait(false); + await settings.SourceSerializer.SerializeAsync(_document, stream, formatting, cancellationToken).ConfigureAwait(false); } protected override void SerializeInternal(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) diff --git a/src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Bulk/BulkUpdateBody.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Bulk/BulkUpdateBody.cs index 0fca0d084c9..a4804b1b425 100644 --- a/src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Bulk/BulkUpdateBody.cs +++ b/src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Bulk/BulkUpdateBody.cs @@ -3,6 +3,7 @@ // See the LICENSE file in the project root for more information. using System.Text.Json; +using Elastic.Transport.Extensions; #if ELASTICSEARCH_SERVERLESS using Elastic.Clients.Elasticsearch.Serverless.Core.Search; #else @@ -69,7 +70,7 @@ protected override void SerializeProperties(Utf8JsonWriter writer, JsonSerialize if (PartialUpdate is not null) { writer.WritePropertyName("doc"); - SourceSerialization.Serialize(PartialUpdate, writer, settings.SourceSerializer); + settings.SourceSerializer.Serialize(PartialUpdate, writer); } if (Script is not null) @@ -93,7 +94,7 @@ protected override void SerializeProperties(Utf8JsonWriter writer, JsonSerialize if (Upsert is not null) { writer.WritePropertyName("upsert"); - SourceSerialization.Serialize(Upsert, writer, settings.SourceSerializer); + settings.SourceSerializer.Serialize(Upsert, writer, null); } if (Source is not null) diff --git a/src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Bulk/BulkUpdateOperation.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Bulk/BulkUpdateOperation.cs index a36d9bb0c6c..1ddc44f3c4e 100644 --- a/src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Bulk/BulkUpdateOperation.cs +++ b/src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Bulk/BulkUpdateOperation.cs @@ -13,6 +13,7 @@ using Elastic.Clients.Elasticsearch.Serialization; #endif using Elastic.Transport; +using Elastic.Transport.Extensions; #if ELASTICSEARCH_SERVERLESS namespace Elastic.Clients.Elasticsearch.Serverless.Core.Bulk; diff --git a/src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Bulk/BulkUpdateOperationDescriptor.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Bulk/BulkUpdateOperationDescriptor.cs index 4a9e679db13..9b18c46939f 100644 --- a/src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Bulk/BulkUpdateOperationDescriptor.cs +++ b/src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Bulk/BulkUpdateOperationDescriptor.cs @@ -9,6 +9,7 @@ using System.Threading; using System.Threading.Tasks; using Elastic.Transport; +using Elastic.Transport.Extensions; #if ELASTICSEARCH_SERVERLESS using Elastic.Clients.Elasticsearch.Serverless.Core.Search; #else @@ -151,7 +152,7 @@ private void WriteBody(IElasticsearchClientSettings settings, Utf8JsonWriter wri if (_document is not null) { writer.WritePropertyName("doc"); - SourceSerialization.Serialize(_document, writer, settings.SourceSerializer); + settings.SourceSerializer.Serialize(_document, writer, null); } if (_scriptedUpsert.HasValue) @@ -169,7 +170,7 @@ private void WriteBody(IElasticsearchClientSettings settings, Utf8JsonWriter wri if (_upsert is not null) { writer.WritePropertyName("upsert"); - SourceSerialization.Serialize(_upsert, writer, settings.SourceSerializer); + settings.SourceSerializer.Serialize(_upsert, writer, null); } if (_source is not null) diff --git a/src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Bulk/PartialBulkUpdateBody.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Bulk/PartialBulkUpdateBody.cs index 0be20a6f539..62d1f378193 100644 --- a/src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Bulk/PartialBulkUpdateBody.cs +++ b/src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Bulk/PartialBulkUpdateBody.cs @@ -3,6 +3,7 @@ // See the LICENSE file in the project root for more information. using System.Text.Json; +using Elastic.Transport.Extensions; #if ELASTICSEARCH_SERVERLESS using Elastic.Clients.Elasticsearch.Serverless.Serialization; #else @@ -32,7 +33,7 @@ protected override void SerializeProperties(Utf8JsonWriter writer, JsonSerialize if (PartialUpdate is not null) { writer.WritePropertyName("doc"); - SourceSerialization.Serialize(PartialUpdate, writer, settings.SourceSerializer); + settings.SourceSerializer.Serialize(PartialUpdate, writer, null); } } } diff --git a/src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Bulk/ScriptedBulkUpdateBody.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Bulk/ScriptedBulkUpdateBody.cs index 2e25090e4fa..08200fe989b 100644 --- a/src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Bulk/ScriptedBulkUpdateBody.cs +++ b/src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Bulk/ScriptedBulkUpdateBody.cs @@ -3,6 +3,7 @@ // See the LICENSE file in the project root for more information. using System.Text.Json; +using Elastic.Transport.Extensions; #if ELASTICSEARCH_SERVERLESS using Elastic.Clients.Elasticsearch.Serverless.Serialization; #else @@ -44,7 +45,7 @@ protected override void SerializeProperties(Utf8JsonWriter writer, JsonSerialize if (Upsert is not null) { writer.WritePropertyName("upsert"); - SourceSerialization.Serialize(Upsert, writer, settings.SourceSerializer); + settings.SourceSerializer.Serialize(Upsert, writer, null); } } } diff --git a/src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/MSearch/SearchRequestItem.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/MSearch/SearchRequestItem.cs index cf344602f0e..f3e0d25d78d 100644 --- a/src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/MSearch/SearchRequestItem.cs +++ b/src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/MSearch/SearchRequestItem.cs @@ -11,6 +11,7 @@ using Elastic.Clients.Elasticsearch.Serialization; #endif using Elastic.Transport; +using Elastic.Transport.Extensions; #if ELASTICSEARCH_SERVERLESS namespace Elastic.Clients.Elasticsearch.Serverless.Core.MSearch; @@ -37,13 +38,10 @@ void IStreamSerializable.Serialize(Stream stream, IElasticsearchClientSettings s if (Body is null) return; - if (settings.RequestResponseSerializer.TryGetJsonSerializerOptions(out var options)) - { - JsonSerializer.Serialize(stream, Header, options); - stream.WriteByte((byte)'\n'); - JsonSerializer.Serialize(stream, Body, options); - stream.WriteByte((byte)'\n'); - } + settings.RequestResponseSerializer.Serialize(Header, stream, formatting); + stream.WriteByte((byte)'\n'); + settings.RequestResponseSerializer.Serialize(Body, stream, formatting); + stream.WriteByte((byte)'\n'); } async Task IStreamSerializable.SerializeAsync(Stream stream, IElasticsearchClientSettings settings, SerializationFormatting formatting) @@ -51,12 +49,9 @@ async Task IStreamSerializable.SerializeAsync(Stream stream, IElasticsearchClien if (Body is null) return; - if (settings.RequestResponseSerializer.TryGetJsonSerializerOptions(out var options)) - { - await JsonSerializer.SerializeAsync(stream, Header, options).ConfigureAwait(false); - stream.WriteByte((byte)'\n'); - await JsonSerializer.SerializeAsync(stream, Body, options).ConfigureAwait(false); - stream.WriteByte((byte)'\n'); - } + await settings.RequestResponseSerializer.SerializeAsync(Header, stream, formatting).ConfigureAwait(false); + stream.WriteByte((byte)'\n'); + await settings.RequestResponseSerializer.SerializeAsync(Body, stream, formatting).ConfigureAwait(false); + stream.WriteByte((byte)'\n'); } } diff --git a/src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/MSearchTemplate/SearchTemplateRequestItem.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/MSearchTemplate/SearchTemplateRequestItem.cs index 49f57a30683..c6790c7abb3 100644 --- a/src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/MSearchTemplate/SearchTemplateRequestItem.cs +++ b/src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/MSearchTemplate/SearchTemplateRequestItem.cs @@ -16,6 +16,7 @@ using Elastic.Clients.Elasticsearch.Serialization; #endif using Elastic.Transport; +using Elastic.Transport.Extensions; #if ELASTICSEARCH_SERVERLESS namespace Elastic.Clients.Elasticsearch.Serverless.Core.MSearchTemplate; @@ -41,13 +42,10 @@ void IStreamSerializable.Serialize(Stream stream, IElasticsearchClientSettings s if (Body is null) return; - if (settings.RequestResponseSerializer.TryGetJsonSerializerOptions(out var options)) - { - JsonSerializer.Serialize(stream, Header, options); - stream.WriteByte((byte)'\n'); - JsonSerializer.Serialize(stream, Body, options); - stream.WriteByte((byte)'\n'); - } + settings.RequestResponseSerializer.Serialize(Header, stream, formatting); + stream.WriteByte((byte)'\n'); + settings.RequestResponseSerializer.Serialize(Body, stream, formatting); + stream.WriteByte((byte)'\n'); } async Task IStreamSerializable.SerializeAsync(Stream stream, IElasticsearchClientSettings settings, SerializationFormatting formatting) @@ -55,12 +53,9 @@ async Task IStreamSerializable.SerializeAsync(Stream stream, IElasticsearchClien if (Body is null) return; - if (settings.RequestResponseSerializer.TryGetJsonSerializerOptions(out var options)) - { - await JsonSerializer.SerializeAsync(stream, Header, options).ConfigureAwait(false); - stream.WriteByte((byte)'\n'); - await JsonSerializer.SerializeAsync(stream, Body, options).ConfigureAwait(false); - stream.WriteByte((byte)'\n'); - } + await settings.RequestResponseSerializer.SerializeAsync(Header, stream, formatting).ConfigureAwait(false); + stream.WriteByte((byte)'\n'); + await settings.RequestResponseSerializer.SerializeAsync(Body, stream, formatting).ConfigureAwait(false); + stream.WriteByte((byte)'\n'); } } diff --git a/src/Playground/Person.cs b/src/Playground/Person.cs index 538c23e0550..9fd093a4675 100644 --- a/src/Playground/Person.cs +++ b/src/Playground/Person.cs @@ -29,6 +29,8 @@ public class Person [DataMember(Name = "STEVE")] [IgnoreDataMember] public string Data { get; init; } = "NOTHING"; + + public DateTimeKind Enum { get; init; } } public class PersonV3 diff --git a/src/Playground/Playground.csproj b/src/Playground/Playground.csproj index 5ec71553f85..a2095681e91 100644 --- a/src/Playground/Playground.csproj +++ b/src/Playground/Playground.csproj @@ -10,7 +10,7 @@ - + diff --git a/tests/Tests/Tests.csproj b/tests/Tests/Tests.csproj index 15778c2dbf2..e764cc6a729 100644 --- a/tests/Tests/Tests.csproj +++ b/tests/Tests/Tests.csproj @@ -1,4 +1,4 @@ - + net6.0;net8.0 $(NoWarn);xUnit1013 @@ -10,7 +10,7 @@ - +