@@ -567,6 +567,23 @@ public virtual Elastic.Clients.Elasticsearch.DeleteResponse Delete(Elastic.Clien
567
567
return DoRequest < Elastic . Clients . Elasticsearch . DeleteRequest , Elastic . Clients . Elasticsearch . DeleteResponse , Elastic . Clients . Elasticsearch . DeleteRequestParameters > ( request ) ;
568
568
}
569
569
570
+ public virtual Elastic . Clients . Elasticsearch . DeleteResponse Delete ( string index , Elastic . Clients . Elasticsearch . Id id )
571
+ {
572
+ var builder = new Elastic . Clients . Elasticsearch . DeleteRequestDescriptor ( index , id ) ;
573
+ var request = builder . Instance ;
574
+ request . BeforeRequest ( ) ;
575
+ return DoRequest < Elastic . Clients . Elasticsearch . DeleteRequest , Elastic . Clients . Elasticsearch . DeleteResponse , Elastic . Clients . Elasticsearch . DeleteRequestParameters > ( request ) ;
576
+ }
577
+
578
+ public virtual Elastic . Clients . Elasticsearch . DeleteResponse Delete ( string index , Elastic . Clients . Elasticsearch . Id id , System . Action < Elastic . Clients . Elasticsearch . DeleteRequestDescriptor > action )
579
+ {
580
+ var builder = new Elastic . Clients . Elasticsearch . DeleteRequestDescriptor ( index , id ) ;
581
+ action . Invoke ( builder ) ;
582
+ var request = builder . Instance ;
583
+ request . BeforeRequest ( ) ;
584
+ return DoRequest < Elastic . Clients . Elasticsearch . DeleteRequest , Elastic . Clients . Elasticsearch . DeleteResponse , Elastic . Clients . Elasticsearch . DeleteRequestParameters > ( request ) ;
585
+ }
586
+
570
587
public virtual Elastic . Clients . Elasticsearch . DeleteResponse Delete < TDocument > ( Elastic . Clients . Elasticsearch . IndexName index , Elastic . Clients . Elasticsearch . Id id , System . Action < Elastic . Clients . Elasticsearch . DeleteRequestDescriptor < TDocument > > action )
571
588
{
572
589
var builder = new Elastic . Clients . Elasticsearch . DeleteRequestDescriptor < TDocument > ( index , id ) ;
@@ -650,6 +667,23 @@ public virtual Elastic.Clients.Elasticsearch.DeleteResponse Delete<TDocument>(El
650
667
return DoRequestAsync < Elastic . Clients . Elasticsearch . DeleteRequest , Elastic . Clients . Elasticsearch . DeleteResponse , Elastic . Clients . Elasticsearch . DeleteRequestParameters > ( request , cancellationToken ) ;
651
668
}
652
669
670
+ public virtual System . Threading . Tasks . Task < Elastic . Clients . Elasticsearch . DeleteResponse > DeleteAsync ( string index , Elastic . Clients . Elasticsearch . Id id , System . Threading . CancellationToken cancellationToken = default )
671
+ {
672
+ var builder = new Elastic . Clients . Elasticsearch . DeleteRequestDescriptor ( index , id ) ;
673
+ var request = builder . Instance ;
674
+ request . BeforeRequest ( ) ;
675
+ return DoRequestAsync < Elastic . Clients . Elasticsearch . DeleteRequest , Elastic . Clients . Elasticsearch . DeleteResponse , Elastic . Clients . Elasticsearch . DeleteRequestParameters > ( request , cancellationToken ) ;
676
+ }
677
+
678
+ public virtual System . Threading . Tasks . Task < Elastic . Clients . Elasticsearch . DeleteResponse > DeleteAsync ( string index , Elastic . Clients . Elasticsearch . Id id , System . Action < Elastic . Clients . Elasticsearch . DeleteRequestDescriptor > action , System . Threading . CancellationToken cancellationToken = default )
679
+ {
680
+ var builder = new Elastic . Clients . Elasticsearch . DeleteRequestDescriptor ( index , id ) ;
681
+ action . Invoke ( builder ) ;
682
+ var request = builder . Instance ;
683
+ request . BeforeRequest ( ) ;
684
+ return DoRequestAsync < Elastic . Clients . Elasticsearch . DeleteRequest , Elastic . Clients . Elasticsearch . DeleteResponse , Elastic . Clients . Elasticsearch . DeleteRequestParameters > ( request , cancellationToken ) ;
685
+ }
686
+
653
687
public virtual System . Threading . Tasks . Task < Elastic . Clients . Elasticsearch . DeleteResponse > DeleteAsync < TDocument > ( Elastic . Clients . Elasticsearch . IndexName index , Elastic . Clients . Elasticsearch . Id id , System . Action < Elastic . Clients . Elasticsearch . DeleteRequestDescriptor < TDocument > > action , System . Threading . CancellationToken cancellationToken = default )
654
688
{
655
689
var builder = new Elastic . Clients . Elasticsearch . DeleteRequestDescriptor < TDocument > ( index , id ) ;
@@ -923,6 +957,23 @@ public virtual Elastic.Clients.Elasticsearch.ExistsResponse Exists(Elastic.Clien
923
957
return DoRequest < Elastic . Clients . Elasticsearch . ExistsRequest , Elastic . Clients . Elasticsearch . ExistsResponse , Elastic . Clients . Elasticsearch . ExistsRequestParameters > ( request ) ;
924
958
}
925
959
960
+ public virtual Elastic . Clients . Elasticsearch . ExistsResponse Exists ( string index , Elastic . Clients . Elasticsearch . Id id )
961
+ {
962
+ var builder = new Elastic . Clients . Elasticsearch . ExistsRequestDescriptor ( index , id ) ;
963
+ var request = builder . Instance ;
964
+ request . BeforeRequest ( ) ;
965
+ return DoRequest < Elastic . Clients . Elasticsearch . ExistsRequest , Elastic . Clients . Elasticsearch . ExistsResponse , Elastic . Clients . Elasticsearch . ExistsRequestParameters > ( request ) ;
966
+ }
967
+
968
+ public virtual Elastic . Clients . Elasticsearch . ExistsResponse Exists ( string index , Elastic . Clients . Elasticsearch . Id id , System . Action < Elastic . Clients . Elasticsearch . ExistsRequestDescriptor > action )
969
+ {
970
+ var builder = new Elastic . Clients . Elasticsearch . ExistsRequestDescriptor ( index , id ) ;
971
+ action . Invoke ( builder ) ;
972
+ var request = builder . Instance ;
973
+ request . BeforeRequest ( ) ;
974
+ return DoRequest < Elastic . Clients . Elasticsearch . ExistsRequest , Elastic . Clients . Elasticsearch . ExistsResponse , Elastic . Clients . Elasticsearch . ExistsRequestParameters > ( request ) ;
975
+ }
976
+
926
977
public virtual Elastic . Clients . Elasticsearch . ExistsResponse Exists < TDocument > ( Elastic . Clients . Elasticsearch . IndexName index , Elastic . Clients . Elasticsearch . Id id , System . Action < Elastic . Clients . Elasticsearch . ExistsRequestDescriptor < TDocument > > action )
927
978
{
928
979
var builder = new Elastic . Clients . Elasticsearch . ExistsRequestDescriptor < TDocument > ( index , id ) ;
@@ -1006,6 +1057,23 @@ public virtual Elastic.Clients.Elasticsearch.ExistsResponse Exists<TDocument>(El
1006
1057
return DoRequestAsync < Elastic . Clients . Elasticsearch . ExistsRequest , Elastic . Clients . Elasticsearch . ExistsResponse , Elastic . Clients . Elasticsearch . ExistsRequestParameters > ( request , cancellationToken ) ;
1007
1058
}
1008
1059
1060
+ public virtual System . Threading . Tasks . Task < Elastic . Clients . Elasticsearch . ExistsResponse > ExistsAsync ( string index , Elastic . Clients . Elasticsearch . Id id , System . Threading . CancellationToken cancellationToken = default )
1061
+ {
1062
+ var builder = new Elastic . Clients . Elasticsearch . ExistsRequestDescriptor ( index , id ) ;
1063
+ var request = builder . Instance ;
1064
+ request . BeforeRequest ( ) ;
1065
+ return DoRequestAsync < Elastic . Clients . Elasticsearch . ExistsRequest , Elastic . Clients . Elasticsearch . ExistsResponse , Elastic . Clients . Elasticsearch . ExistsRequestParameters > ( request , cancellationToken ) ;
1066
+ }
1067
+
1068
+ public virtual System . Threading . Tasks . Task < Elastic . Clients . Elasticsearch . ExistsResponse > ExistsAsync ( string index , Elastic . Clients . Elasticsearch . Id id , System . Action < Elastic . Clients . Elasticsearch . ExistsRequestDescriptor > action , System . Threading . CancellationToken cancellationToken = default )
1069
+ {
1070
+ var builder = new Elastic . Clients . Elasticsearch . ExistsRequestDescriptor ( index , id ) ;
1071
+ action . Invoke ( builder ) ;
1072
+ var request = builder . Instance ;
1073
+ request . BeforeRequest ( ) ;
1074
+ return DoRequestAsync < Elastic . Clients . Elasticsearch . ExistsRequest , Elastic . Clients . Elasticsearch . ExistsResponse , Elastic . Clients . Elasticsearch . ExistsRequestParameters > ( request , cancellationToken ) ;
1075
+ }
1076
+
1009
1077
public virtual System . Threading . Tasks . Task < Elastic . Clients . Elasticsearch . ExistsResponse > ExistsAsync < TDocument > ( Elastic . Clients . Elasticsearch . IndexName index , Elastic . Clients . Elasticsearch . Id id , System . Action < Elastic . Clients . Elasticsearch . ExistsRequestDescriptor < TDocument > > action , System . Threading . CancellationToken cancellationToken = default )
1010
1078
{
1011
1079
var builder = new Elastic . Clients . Elasticsearch . ExistsRequestDescriptor < TDocument > ( index , id ) ;
@@ -1089,6 +1157,23 @@ public virtual Elastic.Clients.Elasticsearch.ExistsSourceResponse ExistsSource(E
1089
1157
return DoRequest < Elastic . Clients . Elasticsearch . ExistsSourceRequest , Elastic . Clients . Elasticsearch . ExistsSourceResponse , Elastic . Clients . Elasticsearch . ExistsSourceRequestParameters > ( request ) ;
1090
1158
}
1091
1159
1160
+ public virtual Elastic . Clients . Elasticsearch . ExistsSourceResponse ExistsSource ( string index , Elastic . Clients . Elasticsearch . Id id )
1161
+ {
1162
+ var builder = new Elastic . Clients . Elasticsearch . ExistsSourceRequestDescriptor ( index , id ) ;
1163
+ var request = builder . Instance ;
1164
+ request . BeforeRequest ( ) ;
1165
+ return DoRequest < Elastic . Clients . Elasticsearch . ExistsSourceRequest , Elastic . Clients . Elasticsearch . ExistsSourceResponse , Elastic . Clients . Elasticsearch . ExistsSourceRequestParameters > ( request ) ;
1166
+ }
1167
+
1168
+ public virtual Elastic . Clients . Elasticsearch . ExistsSourceResponse ExistsSource ( string index , Elastic . Clients . Elasticsearch . Id id , System . Action < Elastic . Clients . Elasticsearch . ExistsSourceRequestDescriptor > action )
1169
+ {
1170
+ var builder = new Elastic . Clients . Elasticsearch . ExistsSourceRequestDescriptor ( index , id ) ;
1171
+ action . Invoke ( builder ) ;
1172
+ var request = builder . Instance ;
1173
+ request . BeforeRequest ( ) ;
1174
+ return DoRequest < Elastic . Clients . Elasticsearch . ExistsSourceRequest , Elastic . Clients . Elasticsearch . ExistsSourceResponse , Elastic . Clients . Elasticsearch . ExistsSourceRequestParameters > ( request ) ;
1175
+ }
1176
+
1092
1177
public virtual Elastic . Clients . Elasticsearch . ExistsSourceResponse ExistsSource < TDocument > ( Elastic . Clients . Elasticsearch . IndexName index , Elastic . Clients . Elasticsearch . Id id , System . Action < Elastic . Clients . Elasticsearch . ExistsSourceRequestDescriptor < TDocument > > action )
1093
1178
{
1094
1179
var builder = new Elastic . Clients . Elasticsearch . ExistsSourceRequestDescriptor < TDocument > ( index , id ) ;
@@ -1172,6 +1257,23 @@ public virtual Elastic.Clients.Elasticsearch.ExistsSourceResponse ExistsSource<T
1172
1257
return DoRequestAsync < Elastic . Clients . Elasticsearch . ExistsSourceRequest , Elastic . Clients . Elasticsearch . ExistsSourceResponse , Elastic . Clients . Elasticsearch . ExistsSourceRequestParameters > ( request , cancellationToken ) ;
1173
1258
}
1174
1259
1260
+ public virtual System . Threading . Tasks . Task < Elastic . Clients . Elasticsearch . ExistsSourceResponse > ExistsSourceAsync ( string index , Elastic . Clients . Elasticsearch . Id id , System . Threading . CancellationToken cancellationToken = default )
1261
+ {
1262
+ var builder = new Elastic . Clients . Elasticsearch . ExistsSourceRequestDescriptor ( index , id ) ;
1263
+ var request = builder . Instance ;
1264
+ request . BeforeRequest ( ) ;
1265
+ return DoRequestAsync < Elastic . Clients . Elasticsearch . ExistsSourceRequest , Elastic . Clients . Elasticsearch . ExistsSourceResponse , Elastic . Clients . Elasticsearch . ExistsSourceRequestParameters > ( request , cancellationToken ) ;
1266
+ }
1267
+
1268
+ public virtual System . Threading . Tasks . Task < Elastic . Clients . Elasticsearch . ExistsSourceResponse > ExistsSourceAsync ( string index , Elastic . Clients . Elasticsearch . Id id , System . Action < Elastic . Clients . Elasticsearch . ExistsSourceRequestDescriptor > action , System . Threading . CancellationToken cancellationToken = default )
1269
+ {
1270
+ var builder = new Elastic . Clients . Elasticsearch . ExistsSourceRequestDescriptor ( index , id ) ;
1271
+ action . Invoke ( builder ) ;
1272
+ var request = builder . Instance ;
1273
+ request . BeforeRequest ( ) ;
1274
+ return DoRequestAsync < Elastic . Clients . Elasticsearch . ExistsSourceRequest , Elastic . Clients . Elasticsearch . ExistsSourceResponse , Elastic . Clients . Elasticsearch . ExistsSourceRequestParameters > ( request , cancellationToken ) ;
1275
+ }
1276
+
1175
1277
public virtual System . Threading . Tasks . Task < Elastic . Clients . Elasticsearch . ExistsSourceResponse > ExistsSourceAsync < TDocument > ( Elastic . Clients . Elasticsearch . IndexName index , Elastic . Clients . Elasticsearch . Id id , System . Action < Elastic . Clients . Elasticsearch . ExistsSourceRequestDescriptor < TDocument > > action , System . Threading . CancellationToken cancellationToken = default )
1176
1278
{
1177
1279
var builder = new Elastic . Clients . Elasticsearch . ExistsSourceRequestDescriptor < TDocument > ( index , id ) ;
0 commit comments