3
3
* API Explorer provides access and documentation for Sematext REST API. The REST API requires the API Key to be sent as part of `Authorization` header. E.g.: `Authorization : apiKey e5f18450-205a-48eb-8589-7d49edaea813`.
4
4
*
5
5
* OpenAPI spec version: v3
6
- *
6
+ *
7
7
*
8
8
* NOTE: This class is auto generated by the swagger code generator program.
9
9
* https://github.com/swagger-api/swagger-codegen.git
@@ -109,17 +109,17 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch
109
109
110
110
@ SuppressWarnings ("rawtypes" )
111
111
private com .squareup .okhttp .Call createAppTokenValidateBeforeCall (Long appId , CreateTokenDto dto , final ProgressResponseBody .ProgressListener progressListener , final ProgressRequestBody .ProgressRequestListener progressRequestListener ) throws ApiException {
112
-
112
+
113
113
// verify the required parameter 'appId' is set
114
114
if (appId == null ) {
115
115
throw new ApiException ("Missing the required parameter 'appId' when calling createAppToken(Async)" );
116
116
}
117
-
117
+
118
118
// verify the required parameter 'dto' is set
119
119
if (dto == null ) {
120
120
throw new ApiException ("Missing the required parameter 'dto' when calling createAppToken(Async)" );
121
121
}
122
-
122
+
123
123
124
124
com .squareup .okhttp .Call call = createAppTokenCall (appId , dto , progressListener , progressRequestListener );
125
125
return call ;
@@ -128,7 +128,7 @@ private com.squareup.okhttp.Call createAppTokenValidateBeforeCall(Long appId, Cr
128
128
129
129
/**
130
130
* Create new app token
131
- *
131
+ *
132
132
* @param appId appId (required)
133
133
* @param dto dto (required)
134
134
* @return GenericApiResponse
@@ -141,7 +141,7 @@ public GenericApiResponse createAppToken(Long appId, CreateTokenDto dto) throws
141
141
142
142
/**
143
143
* Create new app token
144
- *
144
+ *
145
145
* @param appId appId (required)
146
146
* @param dto dto (required)
147
147
* @return ApiResponse<GenericApiResponse>
@@ -155,7 +155,7 @@ public ApiResponse<GenericApiResponse> createAppTokenWithHttpInfo(Long appId, Cr
155
155
156
156
/**
157
157
* Create new app token (asynchronously)
158
- *
158
+ *
159
159
* @param appId appId (required)
160
160
* @param dto dto (required)
161
161
* @param callback The callback to be executed when the API call finishes
@@ -242,17 +242,17 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch
242
242
243
243
@ SuppressWarnings ("rawtypes" )
244
244
private com .squareup .okhttp .Call deleteAppToken1ValidateBeforeCall (Long appId , Long tokenId , final ProgressResponseBody .ProgressListener progressListener , final ProgressRequestBody .ProgressRequestListener progressRequestListener ) throws ApiException {
245
-
245
+
246
246
// verify the required parameter 'appId' is set
247
247
if (appId == null ) {
248
248
throw new ApiException ("Missing the required parameter 'appId' when calling deleteAppToken1(Async)" );
249
249
}
250
-
250
+
251
251
// verify the required parameter 'tokenId' is set
252
252
if (tokenId == null ) {
253
253
throw new ApiException ("Missing the required parameter 'tokenId' when calling deleteAppToken1(Async)" );
254
254
}
255
-
255
+
256
256
257
257
com .squareup .okhttp .Call call = deleteAppToken1Call (appId , tokenId , progressListener , progressRequestListener );
258
258
return call ;
@@ -261,7 +261,7 @@ private com.squareup.okhttp.Call deleteAppToken1ValidateBeforeCall(Long appId, L
261
261
262
262
/**
263
263
* Delete app token
264
- *
264
+ *
265
265
* @param appId appId (required)
266
266
* @param tokenId tokenId (required)
267
267
* @return GenericApiResponse
@@ -274,7 +274,7 @@ public GenericApiResponse deleteAppToken1(Long appId, Long tokenId) throws ApiEx
274
274
275
275
/**
276
276
* Delete app token
277
- *
277
+ *
278
278
* @param appId appId (required)
279
279
* @param tokenId tokenId (required)
280
280
* @return ApiResponse<GenericApiResponse>
@@ -288,7 +288,7 @@ public ApiResponse<GenericApiResponse> deleteAppToken1WithHttpInfo(Long appId, L
288
288
289
289
/**
290
290
* Delete app token (asynchronously)
291
- *
291
+ *
292
292
* @param appId appId (required)
293
293
* @param tokenId tokenId (required)
294
294
* @param callback The callback to be executed when the API call finishes
@@ -373,12 +373,12 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch
373
373
374
374
@ SuppressWarnings ("rawtypes" )
375
375
private com .squareup .okhttp .Call getAppTokens1ValidateBeforeCall (Long appId , final ProgressResponseBody .ProgressListener progressListener , final ProgressRequestBody .ProgressRequestListener progressRequestListener ) throws ApiException {
376
-
376
+
377
377
// verify the required parameter 'appId' is set
378
378
if (appId == null ) {
379
379
throw new ApiException ("Missing the required parameter 'appId' when calling getAppTokens1(Async)" );
380
380
}
381
-
381
+
382
382
383
383
com .squareup .okhttp .Call call = getAppTokens1Call (appId , progressListener , progressRequestListener );
384
384
return call ;
@@ -387,7 +387,7 @@ private com.squareup.okhttp.Call getAppTokens1ValidateBeforeCall(Long appId, fin
387
387
388
388
/**
389
389
* Get app available tokens
390
- *
390
+ *
391
391
* @param appId appId (required)
392
392
* @return GenericApiResponse
393
393
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
@@ -399,7 +399,7 @@ public GenericApiResponse getAppTokens1(Long appId) throws ApiException {
399
399
400
400
/**
401
401
* Get app available tokens
402
- *
402
+ *
403
403
* @param appId appId (required)
404
404
* @return ApiResponse<GenericApiResponse>
405
405
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
@@ -412,7 +412,7 @@ public ApiResponse<GenericApiResponse> getAppTokens1WithHttpInfo(Long appId) thr
412
412
413
413
/**
414
414
* Get app available tokens (asynchronously)
415
- *
415
+ *
416
416
* @param appId appId (required)
417
417
* @param callback The callback to be executed when the API call finishes
418
418
* @return The request call
@@ -498,17 +498,17 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch
498
498
499
499
@ SuppressWarnings ("rawtypes" )
500
500
private com .squareup .okhttp .Call regenerateAppTokenValidateBeforeCall (Long appId , Long tokenId , final ProgressResponseBody .ProgressListener progressListener , final ProgressRequestBody .ProgressRequestListener progressRequestListener ) throws ApiException {
501
-
501
+
502
502
// verify the required parameter 'appId' is set
503
503
if (appId == null ) {
504
504
throw new ApiException ("Missing the required parameter 'appId' when calling regenerateAppToken(Async)" );
505
505
}
506
-
506
+
507
507
// verify the required parameter 'tokenId' is set
508
508
if (tokenId == null ) {
509
509
throw new ApiException ("Missing the required parameter 'tokenId' when calling regenerateAppToken(Async)" );
510
510
}
511
-
511
+
512
512
513
513
com .squareup .okhttp .Call call = regenerateAppTokenCall (appId , tokenId , progressListener , progressRequestListener );
514
514
return call ;
@@ -517,7 +517,7 @@ private com.squareup.okhttp.Call regenerateAppTokenValidateBeforeCall(Long appId
517
517
518
518
/**
519
519
* Regenerate app token)
520
- *
520
+ *
521
521
* @param appId appId (required)
522
522
* @param tokenId tokenId (required)
523
523
* @return GenericApiResponse
@@ -530,7 +530,7 @@ public GenericApiResponse regenerateAppToken(Long appId, Long tokenId) throws Ap
530
530
531
531
/**
532
532
* Regenerate app token)
533
- *
533
+ *
534
534
* @param appId appId (required)
535
535
* @param tokenId tokenId (required)
536
536
* @return ApiResponse<GenericApiResponse>
@@ -544,7 +544,7 @@ public ApiResponse<GenericApiResponse> regenerateAppTokenWithHttpInfo(Long appId
544
544
545
545
/**
546
546
* Regenerate app token) (asynchronously)
547
- *
547
+ *
548
548
* @param appId appId (required)
549
549
* @param tokenId tokenId (required)
550
550
* @param callback The callback to be executed when the API call finishes
@@ -632,22 +632,22 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch
632
632
633
633
@ SuppressWarnings ("rawtypes" )
634
634
private com .squareup .okhttp .Call updateAppTokenValidateBeforeCall (Long appId , Long tokenId , UpdateTokenDto dto , final ProgressResponseBody .ProgressListener progressListener , final ProgressRequestBody .ProgressRequestListener progressRequestListener ) throws ApiException {
635
-
635
+
636
636
// verify the required parameter 'appId' is set
637
637
if (appId == null ) {
638
638
throw new ApiException ("Missing the required parameter 'appId' when calling updateAppToken(Async)" );
639
639
}
640
-
640
+
641
641
// verify the required parameter 'tokenId' is set
642
642
if (tokenId == null ) {
643
643
throw new ApiException ("Missing the required parameter 'tokenId' when calling updateAppToken(Async)" );
644
644
}
645
-
645
+
646
646
// verify the required parameter 'dto' is set
647
647
if (dto == null ) {
648
648
throw new ApiException ("Missing the required parameter 'dto' when calling updateAppToken(Async)" );
649
649
}
650
-
650
+
651
651
652
652
com .squareup .okhttp .Call call = updateAppTokenCall (appId , tokenId , dto , progressListener , progressRequestListener );
653
653
return call ;
@@ -656,7 +656,7 @@ private com.squareup.okhttp.Call updateAppTokenValidateBeforeCall(Long appId, Lo
656
656
657
657
/**
658
658
* Update app token (enable/disable)
659
- *
659
+ *
660
660
* @param appId appId (required)
661
661
* @param tokenId tokenId (required)
662
662
* @param dto dto (required)
@@ -669,8 +669,8 @@ public GenericApiResponse updateAppToken(Long appId, Long tokenId, UpdateTokenDt
669
669
}
670
670
671
671
/**
672
- * Update app token (enable/disable)
673
- *
672
+ * Update app token (enable/disable or name )
673
+ *
674
674
* @param appId appId (required)
675
675
* @param tokenId tokenId (required)
676
676
* @param dto dto (required)
@@ -684,8 +684,8 @@ public ApiResponse<GenericApiResponse> updateAppTokenWithHttpInfo(Long appId, Lo
684
684
}
685
685
686
686
/**
687
- * Update app token (enable/disable) (asynchronously)
688
- *
687
+ * Update app token (enable/disable or name ) (asynchronously)
688
+ *
689
689
* @param appId appId (required)
690
690
* @param tokenId tokenId (required)
691
691
* @param dto dto (required)
0 commit comments