@@ -276,7 +276,9 @@ public CompletableFuture<CreatedAtResponse> appendSourceAsync(@Nonnull Source so
276
276
* @param requestOptions The requestOptions to send along with the query, they will be merged with
277
277
* the transporter requestOptions.
278
278
* @throws AlgoliaRuntimeException If it fails to process the API call
279
+ * @deprecated
279
280
*/
281
+ @ Deprecated
280
282
public CreatedAtResponse assignUserId (
281
283
@ Nonnull String xAlgoliaUserID ,
282
284
@ Nonnull AssignUserIdParams assignUserIdParams ,
@@ -292,7 +294,9 @@ public CreatedAtResponse assignUserId(
292
294
* @param xAlgoliaUserID Unique identifier of the user who makes the search request. (required)
293
295
* @param assignUserIdParams (required)
294
296
* @throws AlgoliaRuntimeException If it fails to process the API call
297
+ * @deprecated
295
298
*/
299
+ @ Deprecated
296
300
public CreatedAtResponse assignUserId (@ Nonnull String xAlgoliaUserID , @ Nonnull AssignUserIdParams assignUserIdParams )
297
301
throws AlgoliaRuntimeException {
298
302
return this .assignUserId (xAlgoliaUserID , assignUserIdParams , null );
@@ -307,7 +311,9 @@ public CreatedAtResponse assignUserId(@Nonnull String xAlgoliaUserID, @Nonnull A
307
311
* @param requestOptions The requestOptions to send along with the query, they will be merged with
308
312
* the transporter requestOptions.
309
313
* @throws AlgoliaRuntimeException If it fails to process the API call
314
+ * @deprecated
310
315
*/
316
+ @ Deprecated
311
317
public CompletableFuture <CreatedAtResponse > assignUserIdAsync (
312
318
@ Nonnull String xAlgoliaUserID ,
313
319
@ Nonnull AssignUserIdParams assignUserIdParams ,
@@ -333,7 +339,9 @@ public CompletableFuture<CreatedAtResponse> assignUserIdAsync(
333
339
* @param xAlgoliaUserID Unique identifier of the user who makes the search request. (required)
334
340
* @param assignUserIdParams (required)
335
341
* @throws AlgoliaRuntimeException If it fails to process the API call
342
+ * @deprecated
336
343
*/
344
+ @ Deprecated
337
345
public CompletableFuture <CreatedAtResponse > assignUserIdAsync (
338
346
@ Nonnull String xAlgoliaUserID ,
339
347
@ Nonnull AssignUserIdParams assignUserIdParams
@@ -431,7 +439,9 @@ public CompletableFuture<BatchResponse> batchAsync(@Nonnull String indexName, @N
431
439
* @param requestOptions The requestOptions to send along with the query, they will be merged with
432
440
* the transporter requestOptions.
433
441
* @throws AlgoliaRuntimeException If it fails to process the API call
442
+ * @deprecated
434
443
*/
444
+ @ Deprecated
435
445
public CreatedAtResponse batchAssignUserIds (
436
446
@ Nonnull String xAlgoliaUserID ,
437
447
@ Nonnull BatchAssignUserIdsParams batchAssignUserIdsParams ,
@@ -446,7 +456,9 @@ public CreatedAtResponse batchAssignUserIds(
446
456
* @param xAlgoliaUserID Unique identifier of the user who makes the search request. (required)
447
457
* @param batchAssignUserIdsParams (required)
448
458
* @throws AlgoliaRuntimeException If it fails to process the API call
459
+ * @deprecated
449
460
*/
461
+ @ Deprecated
450
462
public CreatedAtResponse batchAssignUserIds (@ Nonnull String xAlgoliaUserID , @ Nonnull BatchAssignUserIdsParams batchAssignUserIdsParams )
451
463
throws AlgoliaRuntimeException {
452
464
return this .batchAssignUserIds (xAlgoliaUserID , batchAssignUserIdsParams , null );
@@ -461,7 +473,9 @@ public CreatedAtResponse batchAssignUserIds(@Nonnull String xAlgoliaUserID, @Non
461
473
* @param requestOptions The requestOptions to send along with the query, they will be merged with
462
474
* the transporter requestOptions.
463
475
* @throws AlgoliaRuntimeException If it fails to process the API call
476
+ * @deprecated
464
477
*/
478
+ @ Deprecated
465
479
public CompletableFuture <CreatedAtResponse > batchAssignUserIdsAsync (
466
480
@ Nonnull String xAlgoliaUserID ,
467
481
@ Nonnull BatchAssignUserIdsParams batchAssignUserIdsParams ,
@@ -490,7 +504,9 @@ public CompletableFuture<CreatedAtResponse> batchAssignUserIdsAsync(
490
504
* @param xAlgoliaUserID Unique identifier of the user who makes the search request. (required)
491
505
* @param batchAssignUserIdsParams (required)
492
506
* @throws AlgoliaRuntimeException If it fails to process the API call
507
+ * @deprecated
493
508
*/
509
+ @ Deprecated
494
510
public CompletableFuture <CreatedAtResponse > batchAssignUserIdsAsync (
495
511
@ Nonnull String xAlgoliaUserID ,
496
512
@ Nonnull BatchAssignUserIdsParams batchAssignUserIdsParams
@@ -2944,7 +2960,9 @@ public CompletableFuture<GetTaskResponse> getTaskAsync(@Nonnull String indexName
2944
2960
* @param requestOptions The requestOptions to send along with the query, they will be merged with
2945
2961
* the transporter requestOptions.
2946
2962
* @throws AlgoliaRuntimeException If it fails to process the API call
2963
+ * @deprecated
2947
2964
*/
2965
+ @ Deprecated
2948
2966
public GetTopUserIdsResponse getTopUserIds (@ Nullable RequestOptions requestOptions ) throws AlgoliaRuntimeException {
2949
2967
return LaunderThrowable .await (getTopUserIdsAsync (requestOptions ));
2950
2968
}
@@ -2954,7 +2972,9 @@ public GetTopUserIdsResponse getTopUserIds(@Nullable RequestOptions requestOptio
2954
2972
* few seconds to get the data from the different clusters, the response isn't real-time.
2955
2973
*
2956
2974
* @throws AlgoliaRuntimeException If it fails to process the API call
2975
+ * @deprecated
2957
2976
*/
2977
+ @ Deprecated
2958
2978
public GetTopUserIdsResponse getTopUserIds () throws AlgoliaRuntimeException {
2959
2979
return this .getTopUserIds (null );
2960
2980
}
@@ -2967,7 +2987,9 @@ public GetTopUserIdsResponse getTopUserIds() throws AlgoliaRuntimeException {
2967
2987
* @param requestOptions The requestOptions to send along with the query, they will be merged with
2968
2988
* the transporter requestOptions.
2969
2989
* @throws AlgoliaRuntimeException If it fails to process the API call
2990
+ * @deprecated
2970
2991
*/
2992
+ @ Deprecated
2971
2993
public CompletableFuture <GetTopUserIdsResponse > getTopUserIdsAsync (@ Nullable RequestOptions requestOptions )
2972
2994
throws AlgoliaRuntimeException {
2973
2995
HttpRequest request = HttpRequest .builder ().setPath ("/1/clusters/mapping/top" ).setMethod ("GET" ).build ();
@@ -2981,7 +3003,9 @@ public CompletableFuture<GetTopUserIdsResponse> getTopUserIdsAsync(@Nullable Req
2981
3003
* real-time.
2982
3004
*
2983
3005
* @throws AlgoliaRuntimeException If it fails to process the API call
3006
+ * @deprecated
2984
3007
*/
3008
+ @ Deprecated
2985
3009
public CompletableFuture <GetTopUserIdsResponse > getTopUserIdsAsync () throws AlgoliaRuntimeException {
2986
3010
return this .getTopUserIdsAsync (null );
2987
3011
}
@@ -2994,7 +3018,9 @@ public CompletableFuture<GetTopUserIdsResponse> getTopUserIdsAsync() throws Algo
2994
3018
* @param requestOptions The requestOptions to send along with the query, they will be merged with
2995
3019
* the transporter requestOptions.
2996
3020
* @throws AlgoliaRuntimeException If it fails to process the API call
3021
+ * @deprecated
2997
3022
*/
3023
+ @ Deprecated
2998
3024
public UserId getUserId (@ Nonnull String userID , @ Nullable RequestOptions requestOptions ) throws AlgoliaRuntimeException {
2999
3025
return LaunderThrowable .await (getUserIdAsync (userID , requestOptions ));
3000
3026
}
@@ -3005,7 +3031,9 @@ public UserId getUserId(@Nonnull String userID, @Nullable RequestOptions request
3005
3031
*
3006
3032
* @param userID Unique identifier of the user who makes the search request. (required)
3007
3033
* @throws AlgoliaRuntimeException If it fails to process the API call
3034
+ * @deprecated
3008
3035
*/
3036
+ @ Deprecated
3009
3037
public UserId getUserId (@ Nonnull String userID ) throws AlgoliaRuntimeException {
3010
3038
return this .getUserId (userID , null );
3011
3039
}
@@ -3018,7 +3046,9 @@ public UserId getUserId(@Nonnull String userID) throws AlgoliaRuntimeException {
3018
3046
* @param requestOptions The requestOptions to send along with the query, they will be merged with
3019
3047
* the transporter requestOptions.
3020
3048
* @throws AlgoliaRuntimeException If it fails to process the API call
3049
+ * @deprecated
3021
3050
*/
3051
+ @ Deprecated
3022
3052
public CompletableFuture <UserId > getUserIdAsync (@ Nonnull String userID , @ Nullable RequestOptions requestOptions )
3023
3053
throws AlgoliaRuntimeException {
3024
3054
Parameters .requireNonNull (userID , "Parameter `userID` is required when calling `getUserId`." );
@@ -3033,7 +3063,9 @@ public CompletableFuture<UserId> getUserIdAsync(@Nonnull String userID, @Nullabl
3033
3063
*
3034
3064
* @param userID Unique identifier of the user who makes the search request. (required)
3035
3065
* @throws AlgoliaRuntimeException If it fails to process the API call
3066
+ * @deprecated
3036
3067
*/
3068
+ @ Deprecated
3037
3069
public CompletableFuture <UserId > getUserIdAsync (@ Nonnull String userID ) throws AlgoliaRuntimeException {
3038
3070
return this .getUserIdAsync (userID , null );
3039
3071
}
@@ -3048,7 +3080,9 @@ public CompletableFuture<UserId> getUserIdAsync(@Nonnull String userID) throws A
3048
3080
* @param requestOptions The requestOptions to send along with the query, they will be merged with
3049
3081
* the transporter requestOptions.
3050
3082
* @throws AlgoliaRuntimeException If it fails to process the API call
3083
+ * @deprecated
3051
3084
*/
3085
+ @ Deprecated
3052
3086
public HasPendingMappingsResponse hasPendingMappings (Boolean getClusters , @ Nullable RequestOptions requestOptions )
3053
3087
throws AlgoliaRuntimeException {
3054
3088
return LaunderThrowable .await (hasPendingMappingsAsync (getClusters , requestOptions ));
@@ -3062,7 +3096,9 @@ public HasPendingMappingsResponse hasPendingMappings(Boolean getClusters, @Nulla
3062
3096
* @param getClusters Whether to include the cluster's pending mapping state in the response.
3063
3097
* (optional)
3064
3098
* @throws AlgoliaRuntimeException If it fails to process the API call
3099
+ * @deprecated
3065
3100
*/
3101
+ @ Deprecated
3066
3102
public HasPendingMappingsResponse hasPendingMappings (Boolean getClusters ) throws AlgoliaRuntimeException {
3067
3103
return this .hasPendingMappings (getClusters , null );
3068
3104
}
@@ -3101,7 +3137,9 @@ public HasPendingMappingsResponse hasPendingMappings() throws AlgoliaRuntimeExce
3101
3137
* @param requestOptions The requestOptions to send along with the query, they will be merged with
3102
3138
* the transporter requestOptions.
3103
3139
* @throws AlgoliaRuntimeException If it fails to process the API call
3140
+ * @deprecated
3104
3141
*/
3142
+ @ Deprecated
3105
3143
public CompletableFuture <HasPendingMappingsResponse > hasPendingMappingsAsync (
3106
3144
Boolean getClusters ,
3107
3145
@ Nullable RequestOptions requestOptions
@@ -3122,7 +3160,9 @@ public CompletableFuture<HasPendingMappingsResponse> hasPendingMappingsAsync(
3122
3160
* @param getClusters Whether to include the cluster's pending mapping state in the response.
3123
3161
* (optional)
3124
3162
* @throws AlgoliaRuntimeException If it fails to process the API call
3163
+ * @deprecated
3125
3164
*/
3165
+ @ Deprecated
3126
3166
public CompletableFuture <HasPendingMappingsResponse > hasPendingMappingsAsync (Boolean getClusters ) throws AlgoliaRuntimeException {
3127
3167
return this .hasPendingMappingsAsync (getClusters , null );
3128
3168
}
@@ -3204,7 +3244,9 @@ public CompletableFuture<ListApiKeysResponse> listApiKeysAsync() throws AlgoliaR
3204
3244
* @param requestOptions The requestOptions to send along with the query, they will be merged with
3205
3245
* the transporter requestOptions.
3206
3246
* @throws AlgoliaRuntimeException If it fails to process the API call
3247
+ * @deprecated
3207
3248
*/
3249
+ @ Deprecated
3208
3250
public ListClustersResponse listClusters (@ Nullable RequestOptions requestOptions ) throws AlgoliaRuntimeException {
3209
3251
return LaunderThrowable .await (listClustersAsync (requestOptions ));
3210
3252
}
@@ -3213,7 +3255,9 @@ public ListClustersResponse listClusters(@Nullable RequestOptions requestOptions
3213
3255
* Lists the available clusters in a multi-cluster setup.
3214
3256
*
3215
3257
* @throws AlgoliaRuntimeException If it fails to process the API call
3258
+ * @deprecated
3216
3259
*/
3260
+ @ Deprecated
3217
3261
public ListClustersResponse listClusters () throws AlgoliaRuntimeException {
3218
3262
return this .listClusters (null );
3219
3263
}
@@ -3224,7 +3268,9 @@ public ListClustersResponse listClusters() throws AlgoliaRuntimeException {
3224
3268
* @param requestOptions The requestOptions to send along with the query, they will be merged with
3225
3269
* the transporter requestOptions.
3226
3270
* @throws AlgoliaRuntimeException If it fails to process the API call
3271
+ * @deprecated
3227
3272
*/
3273
+ @ Deprecated
3228
3274
public CompletableFuture <ListClustersResponse > listClustersAsync (@ Nullable RequestOptions requestOptions ) throws AlgoliaRuntimeException {
3229
3275
HttpRequest request = HttpRequest .builder ().setPath ("/1/clusters" ).setMethod ("GET" ).build ();
3230
3276
@@ -3235,7 +3281,9 @@ public CompletableFuture<ListClustersResponse> listClustersAsync(@Nullable Reque
3235
3281
* (asynchronously) Lists the available clusters in a multi-cluster setup.
3236
3282
*
3237
3283
* @throws AlgoliaRuntimeException If it fails to process the API call
3284
+ * @deprecated
3238
3285
*/
3286
+ @ Deprecated
3239
3287
public CompletableFuture <ListClustersResponse > listClustersAsync () throws AlgoliaRuntimeException {
3240
3288
return this .listClustersAsync (null );
3241
3289
}
@@ -3361,7 +3409,9 @@ public CompletableFuture<ListIndicesResponse> listIndicesAsync() throws AlgoliaR
3361
3409
* @param requestOptions The requestOptions to send along with the query, they will be merged with
3362
3410
* the transporter requestOptions.
3363
3411
* @throws AlgoliaRuntimeException If it fails to process the API call
3412
+ * @deprecated
3364
3413
*/
3414
+ @ Deprecated
3365
3415
public ListUserIdsResponse listUserIds (Integer page , Integer hitsPerPage , @ Nullable RequestOptions requestOptions )
3366
3416
throws AlgoliaRuntimeException {
3367
3417
return LaunderThrowable .await (listUserIdsAsync (page , hitsPerPage , requestOptions ));
@@ -3375,7 +3425,9 @@ public ListUserIdsResponse listUserIds(Integer page, Integer hitsPerPage, @Nulla
3375
3425
* (optional)
3376
3426
* @param hitsPerPage Number of hits per page. (optional, default to 100)
3377
3427
* @throws AlgoliaRuntimeException If it fails to process the API call
3428
+ * @deprecated
3378
3429
*/
3430
+ @ Deprecated
3379
3431
public ListUserIdsResponse listUserIds (Integer page , Integer hitsPerPage ) throws AlgoliaRuntimeException {
3380
3432
return this .listUserIds (page , hitsPerPage , null );
3381
3433
}
@@ -3412,7 +3464,9 @@ public ListUserIdsResponse listUserIds() throws AlgoliaRuntimeException {
3412
3464
* @param requestOptions The requestOptions to send along with the query, they will be merged with
3413
3465
* the transporter requestOptions.
3414
3466
* @throws AlgoliaRuntimeException If it fails to process the API call
3467
+ * @deprecated
3415
3468
*/
3469
+ @ Deprecated
3416
3470
public CompletableFuture <ListUserIdsResponse > listUserIdsAsync (
3417
3471
Integer page ,
3418
3472
Integer hitsPerPage ,
@@ -3435,7 +3489,9 @@ public CompletableFuture<ListUserIdsResponse> listUserIdsAsync(
3435
3489
* (optional)
3436
3490
* @param hitsPerPage Number of hits per page. (optional, default to 100)
3437
3491
* @throws AlgoliaRuntimeException If it fails to process the API call
3492
+ * @deprecated
3438
3493
*/
3494
+ @ Deprecated
3439
3495
public CompletableFuture <ListUserIdsResponse > listUserIdsAsync (Integer page , Integer hitsPerPage ) throws AlgoliaRuntimeException {
3440
3496
return this .listUserIdsAsync (page , hitsPerPage , null );
3441
3497
}
@@ -4025,7 +4081,9 @@ public CompletableFuture<UpdatedAtWithObjectIdResponse> partialUpdateObjectAsync
4025
4081
* @param requestOptions The requestOptions to send along with the query, they will be merged with
4026
4082
* the transporter requestOptions.
4027
4083
* @throws AlgoliaRuntimeException If it fails to process the API call
4084
+ * @deprecated
4028
4085
*/
4086
+ @ Deprecated
4029
4087
public RemoveUserIdResponse removeUserId (@ Nonnull String userID , @ Nullable RequestOptions requestOptions ) throws AlgoliaRuntimeException {
4030
4088
return LaunderThrowable .await (removeUserIdAsync (userID , requestOptions ));
4031
4089
}
@@ -4035,7 +4093,9 @@ public RemoveUserIdResponse removeUserId(@Nonnull String userID, @Nullable Reque
4035
4093
*
4036
4094
* @param userID Unique identifier of the user who makes the search request. (required)
4037
4095
* @throws AlgoliaRuntimeException If it fails to process the API call
4096
+ * @deprecated
4038
4097
*/
4098
+ @ Deprecated
4039
4099
public RemoveUserIdResponse removeUserId (@ Nonnull String userID ) throws AlgoliaRuntimeException {
4040
4100
return this .removeUserId (userID , null );
4041
4101
}
@@ -4047,7 +4107,9 @@ public RemoveUserIdResponse removeUserId(@Nonnull String userID) throws AlgoliaR
4047
4107
* @param requestOptions The requestOptions to send along with the query, they will be merged with
4048
4108
* the transporter requestOptions.
4049
4109
* @throws AlgoliaRuntimeException If it fails to process the API call
4110
+ * @deprecated
4050
4111
*/
4112
+ @ Deprecated
4051
4113
public CompletableFuture <RemoveUserIdResponse > removeUserIdAsync (@ Nonnull String userID , @ Nullable RequestOptions requestOptions )
4052
4114
throws AlgoliaRuntimeException {
4053
4115
Parameters .requireNonNull (userID , "Parameter `userID` is required when calling `removeUserId`." );
@@ -4061,7 +4123,9 @@ public CompletableFuture<RemoveUserIdResponse> removeUserIdAsync(@Nonnull String
4061
4123
*
4062
4124
* @param userID Unique identifier of the user who makes the search request. (required)
4063
4125
* @throws AlgoliaRuntimeException If it fails to process the API call
4126
+ * @deprecated
4064
4127
*/
4128
+ @ Deprecated
4065
4129
public CompletableFuture <RemoveUserIdResponse > removeUserIdAsync (@ Nonnull String userID ) throws AlgoliaRuntimeException {
4066
4130
return this .removeUserIdAsync (userID , null );
4067
4131
}
@@ -5650,7 +5714,9 @@ public CompletableFuture<SearchSynonymsResponse> searchSynonymsAsync(@Nonnull St
5650
5714
* @param requestOptions The requestOptions to send along with the query, they will be merged with
5651
5715
* the transporter requestOptions.
5652
5716
* @throws AlgoliaRuntimeException If it fails to process the API call
5717
+ * @deprecated
5653
5718
*/
5719
+ @ Deprecated
5654
5720
public SearchUserIdsResponse searchUserIds (@ Nonnull SearchUserIdsParams searchUserIdsParams , @ Nullable RequestOptions requestOptions )
5655
5721
throws AlgoliaRuntimeException {
5656
5722
return LaunderThrowable .await (searchUserIdsAsync (searchUserIdsParams , requestOptions ));
@@ -5665,7 +5731,9 @@ public SearchUserIdsResponse searchUserIds(@Nonnull SearchUserIdsParams searchUs
5665
5731
*
5666
5732
* @param searchUserIdsParams (required)
5667
5733
* @throws AlgoliaRuntimeException If it fails to process the API call
5734
+ * @deprecated
5668
5735
*/
5736
+ @ Deprecated
5669
5737
public SearchUserIdsResponse searchUserIds (@ Nonnull SearchUserIdsParams searchUserIdsParams ) throws AlgoliaRuntimeException {
5670
5738
return this .searchUserIds (searchUserIdsParams , null );
5671
5739
}
@@ -5681,7 +5749,9 @@ public SearchUserIdsResponse searchUserIds(@Nonnull SearchUserIdsParams searchUs
5681
5749
* @param requestOptions The requestOptions to send along with the query, they will be merged with
5682
5750
* the transporter requestOptions.
5683
5751
* @throws AlgoliaRuntimeException If it fails to process the API call
5752
+ * @deprecated
5684
5753
*/
5754
+ @ Deprecated
5685
5755
public CompletableFuture <SearchUserIdsResponse > searchUserIdsAsync (
5686
5756
@ Nonnull SearchUserIdsParams searchUserIdsParams ,
5687
5757
@ Nullable RequestOptions requestOptions
@@ -5706,7 +5776,9 @@ public CompletableFuture<SearchUserIdsResponse> searchUserIdsAsync(
5706
5776
*
5707
5777
* @param searchUserIdsParams (required)
5708
5778
* @throws AlgoliaRuntimeException If it fails to process the API call
5779
+ * @deprecated
5709
5780
*/
5781
+ @ Deprecated
5710
5782
public CompletableFuture <SearchUserIdsResponse > searchUserIdsAsync (@ Nonnull SearchUserIdsParams searchUserIdsParams )
5711
5783
throws AlgoliaRuntimeException {
5712
5784
return this .searchUserIdsAsync (searchUserIdsParams , null );
0 commit comments