File tree 6 files changed +114
-0
lines changed
src/Elastic.Clients.Elasticsearch.Shared/Api
6 files changed +114
-0
lines changed Original file line number Diff line number Diff line change
1
+ // Licensed to Elasticsearch B.V under one or more agreements.
2
+ // Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
3
+ // See the LICENSE file in the project root for more information.
4
+
5
+ using Elastic . Transport . Products . Elasticsearch ;
6
+
7
+ #if ELASTICSEARCH_SERVERLESS
8
+ namespace Elastic . Clients . Elasticsearch . Serverless ;
9
+ #else
10
+ namespace Elastic . Clients . Elasticsearch ;
11
+ #endif
12
+
13
+ public sealed partial class ExistsResponse : ElasticsearchResponse
14
+ {
15
+ public bool Exists => ApiCallDetails is
16
+ {
17
+ HasSuccessfulStatusCode : true , HttpStatusCode : 200
18
+ } ;
19
+ }
Original file line number Diff line number Diff line change
1
+ // Licensed to Elasticsearch B.V under one or more agreements.
2
+ // Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
3
+ // See the LICENSE file in the project root for more information.
4
+
5
+ using Elastic . Transport . Products . Elasticsearch ;
6
+
7
+ #if ELASTICSEARCH_SERVERLESS
8
+ namespace Elastic . Clients . Elasticsearch . Serverless ;
9
+ #else
10
+ namespace Elastic . Clients . Elasticsearch ;
11
+ #endif
12
+
13
+ public sealed partial class ExistsSourceResponse : ElasticsearchResponse
14
+ {
15
+ public bool Exists => ApiCallDetails is
16
+ {
17
+ HasSuccessfulStatusCode : true , HttpStatusCode : 200
18
+ } ;
19
+ }
Original file line number Diff line number Diff line change
1
+ // Licensed to Elasticsearch B.V under one or more agreements.
2
+ // Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
3
+ // See the LICENSE file in the project root for more information.
4
+
5
+ using Elastic . Transport . Products . Elasticsearch ;
6
+
7
+ #if ELASTICSEARCH_SERVERLESS
8
+ namespace Elastic . Clients . Elasticsearch . IndexManagement . Serverless ;
9
+ #else
10
+ namespace Elastic . Clients . Elasticsearch . IndexManagement ;
11
+ #endif
12
+
13
+ public sealed partial class ExistsAliasResponse : ElasticsearchResponse
14
+ {
15
+ public bool Exists => ApiCallDetails is
16
+ {
17
+ HasSuccessfulStatusCode : true , HttpStatusCode : 200
18
+ } ;
19
+ }
Original file line number Diff line number Diff line change
1
+ // Licensed to Elasticsearch B.V under one or more agreements.
2
+ // Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
3
+ // See the LICENSE file in the project root for more information.
4
+
5
+ using Elastic . Transport . Products . Elasticsearch ;
6
+
7
+ #if ELASTICSEARCH_SERVERLESS
8
+ namespace Elastic . Clients . Elasticsearch . IndexManagement . Serverless ;
9
+ #else
10
+ namespace Elastic . Clients . Elasticsearch . IndexManagement ;
11
+ #endif
12
+
13
+ public sealed partial class ExistsIndexTemplateResponse : ElasticsearchResponse
14
+ {
15
+ public bool Exists => ApiCallDetails is
16
+ {
17
+ HasSuccessfulStatusCode : true , HttpStatusCode : 200
18
+ } ;
19
+ }
Original file line number Diff line number Diff line change
1
+ // Licensed to Elasticsearch B.V under one or more agreements.
2
+ // Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
3
+ // See the LICENSE file in the project root for more information.
4
+
5
+ using Elastic . Transport . Products . Elasticsearch ;
6
+
7
+ #if ELASTICSEARCH_SERVERLESS
8
+ namespace Elastic . Clients . Elasticsearch . Serverless . IndexManagement ;
9
+ #else
10
+ namespace Elastic . Clients . Elasticsearch . IndexManagement ;
11
+ #endif
12
+
13
+ public sealed partial class ExistsResponse : ElasticsearchResponse
14
+ {
15
+ public bool Exists => ApiCallDetails is
16
+ {
17
+ HasSuccessfulStatusCode : true , HttpStatusCode : 200
18
+ } ;
19
+ }
Original file line number Diff line number Diff line change
1
+ // Licensed to Elasticsearch B.V under one or more agreements.
2
+ // Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
3
+ // See the LICENSE file in the project root for more information.
4
+
5
+ using Elastic . Transport . Products . Elasticsearch ;
6
+
7
+ #if ELASTICSEARCH_SERVERLESS
8
+ namespace Elastic . Clients . Elasticsearch . IndexManagement . Serverless ;
9
+ #else
10
+ namespace Elastic . Clients . Elasticsearch . IndexManagement ;
11
+ #endif
12
+
13
+ public sealed partial class ExistsTemplateResponse : ElasticsearchResponse
14
+ {
15
+ public bool Exists => ApiCallDetails is
16
+ {
17
+ HasSuccessfulStatusCode : true , HttpStatusCode : 200
18
+ } ;
19
+ }
You can’t perform that action at this time.
0 commit comments