@@ -1402,25 +1402,24 @@ public ApiResponse<ApplicationKeyResponse> getCurrentUserApplicationKeyWithHttpI
14021402 *
14031403 * <p>See {@link #getPersonalAccessTokenWithHttpInfo}.
14041404 *
1405- * @param patUuid The UUID of the personal access token. (required)
1405+ * @param patId The ID of the personal access token. (required)
14061406 * @return PersonalAccessTokenResponse
14071407 * @throws ApiException if fails to make API call
14081408 */
1409- public PersonalAccessTokenResponse getPersonalAccessToken (String patUuid ) throws ApiException {
1410- return getPersonalAccessTokenWithHttpInfo (patUuid ).getData ();
1409+ public PersonalAccessTokenResponse getPersonalAccessToken (String patId ) throws ApiException {
1410+ return getPersonalAccessTokenWithHttpInfo (patId ).getData ();
14111411 }
14121412
14131413 /**
14141414 * Get a personal access token.
14151415 *
14161416 * <p>See {@link #getPersonalAccessTokenWithHttpInfoAsync}.
14171417 *
1418- * @param patUuid The UUID of the personal access token. (required)
1418+ * @param patId The ID of the personal access token. (required)
14191419 * @return CompletableFuture<PersonalAccessTokenResponse>
14201420 */
1421- public CompletableFuture <PersonalAccessTokenResponse > getPersonalAccessTokenAsync (
1422- String patUuid ) {
1423- return getPersonalAccessTokenWithHttpInfoAsync (patUuid )
1421+ public CompletableFuture <PersonalAccessTokenResponse > getPersonalAccessTokenAsync (String patId ) {
1422+ return getPersonalAccessTokenWithHttpInfoAsync (patId )
14241423 .thenApply (
14251424 response -> {
14261425 return response .getData ();
@@ -1430,7 +1429,7 @@ public CompletableFuture<PersonalAccessTokenResponse> getPersonalAccessTokenAsyn
14301429 /**
14311430 * Get a specific personal access token by its UUID.
14321431 *
1433- * @param patUuid The UUID of the personal access token. (required)
1432+ * @param patId The ID of the personal access token. (required)
14341433 * @return ApiResponse<PersonalAccessTokenResponse>
14351434 * @throws ApiException if fails to make API call
14361435 * @http.response.details
@@ -1443,19 +1442,19 @@ public CompletableFuture<PersonalAccessTokenResponse> getPersonalAccessTokenAsyn
14431442 * <tr><td> 429 </td><td> Too many requests </td><td> - </td></tr>
14441443 * </table>
14451444 */
1446- public ApiResponse <PersonalAccessTokenResponse > getPersonalAccessTokenWithHttpInfo (String patUuid )
1445+ public ApiResponse <PersonalAccessTokenResponse > getPersonalAccessTokenWithHttpInfo (String patId )
14471446 throws ApiException {
14481447 Object localVarPostBody = null ;
14491448
1450- // verify the required parameter 'patUuid ' is set
1451- if (patUuid == null ) {
1449+ // verify the required parameter 'patId ' is set
1450+ if (patId == null ) {
14521451 throw new ApiException (
1453- 400 , "Missing the required parameter 'patUuid ' when calling getPersonalAccessToken" );
1452+ 400 , "Missing the required parameter 'patId ' when calling getPersonalAccessToken" );
14541453 }
14551454 // create path and map variables
14561455 String localVarPath =
1457- "/api/v2/personal_access_tokens/{pat_uuid }"
1458- .replaceAll ("\\ {" + "pat_uuid " + "\\ }" , apiClient .escapeString (patUuid .toString ()));
1456+ "/api/v2/personal_access_tokens/{pat_id }"
1457+ .replaceAll ("\\ {" + "pat_id " + "\\ }" , apiClient .escapeString (patId .toString ()));
14591458
14601459 Map <String , String > localVarHeaderParams = new HashMap <String , String >();
14611460
@@ -1484,26 +1483,26 @@ public ApiResponse<PersonalAccessTokenResponse> getPersonalAccessTokenWithHttpIn
14841483 *
14851484 * <p>See {@link #getPersonalAccessTokenWithHttpInfo}.
14861485 *
1487- * @param patUuid The UUID of the personal access token. (required)
1486+ * @param patId The ID of the personal access token. (required)
14881487 * @return CompletableFuture<ApiResponse<PersonalAccessTokenResponse>>
14891488 */
14901489 public CompletableFuture <ApiResponse <PersonalAccessTokenResponse >>
1491- getPersonalAccessTokenWithHttpInfoAsync (String patUuid ) {
1490+ getPersonalAccessTokenWithHttpInfoAsync (String patId ) {
14921491 Object localVarPostBody = null ;
14931492
1494- // verify the required parameter 'patUuid ' is set
1495- if (patUuid == null ) {
1493+ // verify the required parameter 'patId ' is set
1494+ if (patId == null ) {
14961495 CompletableFuture <ApiResponse <PersonalAccessTokenResponse >> result =
14971496 new CompletableFuture <>();
14981497 result .completeExceptionally (
14991498 new ApiException (
1500- 400 , "Missing the required parameter 'patUuid ' when calling getPersonalAccessToken" ));
1499+ 400 , "Missing the required parameter 'patId ' when calling getPersonalAccessToken" ));
15011500 return result ;
15021501 }
15031502 // create path and map variables
15041503 String localVarPath =
1505- "/api/v2/personal_access_tokens/{pat_uuid }"
1506- .replaceAll ("\\ {" + "pat_uuid " + "\\ }" , apiClient .escapeString (patUuid .toString ()));
1504+ "/api/v2/personal_access_tokens/{pat_id }"
1505+ .replaceAll ("\\ {" + "pat_id " + "\\ }" , apiClient .escapeString (patId .toString ()));
15071506
15081507 Map <String , String > localVarHeaderParams = new HashMap <String , String >();
15091508
@@ -2695,23 +2694,23 @@ public ApiResponse<ListPersonalAccessTokensResponse> listPersonalAccessTokensWit
26952694 *
26962695 * <p>See {@link #revokePersonalAccessTokenWithHttpInfo}.
26972696 *
2698- * @param patUuid The UUID of the personal access token. (required)
2697+ * @param patId The ID of the personal access token. (required)
26992698 * @throws ApiException if fails to make API call
27002699 */
2701- public void revokePersonalAccessToken (String patUuid ) throws ApiException {
2702- revokePersonalAccessTokenWithHttpInfo (patUuid );
2700+ public void revokePersonalAccessToken (String patId ) throws ApiException {
2701+ revokePersonalAccessTokenWithHttpInfo (patId );
27032702 }
27042703
27052704 /**
27062705 * Revoke a personal access token.
27072706 *
27082707 * <p>See {@link #revokePersonalAccessTokenWithHttpInfoAsync}.
27092708 *
2710- * @param patUuid The UUID of the personal access token. (required)
2709+ * @param patId The ID of the personal access token. (required)
27112710 * @return CompletableFuture
27122711 */
2713- public CompletableFuture <Void > revokePersonalAccessTokenAsync (String patUuid ) {
2714- return revokePersonalAccessTokenWithHttpInfoAsync (patUuid )
2712+ public CompletableFuture <Void > revokePersonalAccessTokenAsync (String patId ) {
2713+ return revokePersonalAccessTokenWithHttpInfoAsync (patId )
27152714 .thenApply (
27162715 response -> {
27172716 return response .getData ();
@@ -2721,7 +2720,7 @@ public CompletableFuture<Void> revokePersonalAccessTokenAsync(String patUuid) {
27212720 /**
27222721 * Revoke a specific personal access token.
27232722 *
2724- * @param patUuid The UUID of the personal access token. (required)
2723+ * @param patId The ID of the personal access token. (required)
27252724 * @return ApiResponse<Void>
27262725 * @throws ApiException if fails to make API call
27272726 * @http.response.details
@@ -2734,19 +2733,18 @@ public CompletableFuture<Void> revokePersonalAccessTokenAsync(String patUuid) {
27342733 * <tr><td> 429 </td><td> Too many requests </td><td> - </td></tr>
27352734 * </table>
27362735 */
2737- public ApiResponse <Void > revokePersonalAccessTokenWithHttpInfo (String patUuid )
2738- throws ApiException {
2736+ public ApiResponse <Void > revokePersonalAccessTokenWithHttpInfo (String patId ) throws ApiException {
27392737 Object localVarPostBody = null ;
27402738
2741- // verify the required parameter 'patUuid ' is set
2742- if (patUuid == null ) {
2739+ // verify the required parameter 'patId ' is set
2740+ if (patId == null ) {
27432741 throw new ApiException (
2744- 400 , "Missing the required parameter 'patUuid ' when calling revokePersonalAccessToken" );
2742+ 400 , "Missing the required parameter 'patId ' when calling revokePersonalAccessToken" );
27452743 }
27462744 // create path and map variables
27472745 String localVarPath =
2748- "/api/v2/personal_access_tokens/{pat_uuid }"
2749- .replaceAll ("\\ {" + "pat_uuid " + "\\ }" , apiClient .escapeString (patUuid .toString ()));
2746+ "/api/v2/personal_access_tokens/{pat_id }"
2747+ .replaceAll ("\\ {" + "pat_id " + "\\ }" , apiClient .escapeString (patId .toString ()));
27502748
27512749 Map <String , String > localVarHeaderParams = new HashMap <String , String >();
27522750
@@ -2775,26 +2773,26 @@ public ApiResponse<Void> revokePersonalAccessTokenWithHttpInfo(String patUuid)
27752773 *
27762774 * <p>See {@link #revokePersonalAccessTokenWithHttpInfo}.
27772775 *
2778- * @param patUuid The UUID of the personal access token. (required)
2776+ * @param patId The ID of the personal access token. (required)
27792777 * @return CompletableFuture<ApiResponse<Void>>
27802778 */
27812779 public CompletableFuture <ApiResponse <Void >> revokePersonalAccessTokenWithHttpInfoAsync (
2782- String patUuid ) {
2780+ String patId ) {
27832781 Object localVarPostBody = null ;
27842782
2785- // verify the required parameter 'patUuid ' is set
2786- if (patUuid == null ) {
2783+ // verify the required parameter 'patId ' is set
2784+ if (patId == null ) {
27872785 CompletableFuture <ApiResponse <Void >> result = new CompletableFuture <>();
27882786 result .completeExceptionally (
27892787 new ApiException (
27902788 400 ,
2791- "Missing the required parameter 'patUuid ' when calling revokePersonalAccessToken" ));
2789+ "Missing the required parameter 'patId ' when calling revokePersonalAccessToken" ));
27922790 return result ;
27932791 }
27942792 // create path and map variables
27952793 String localVarPath =
2796- "/api/v2/personal_access_tokens/{pat_uuid }"
2797- .replaceAll ("\\ {" + "pat_uuid " + "\\ }" , apiClient .escapeString (patUuid .toString ()));
2794+ "/api/v2/personal_access_tokens/{pat_id }"
2795+ .replaceAll ("\\ {" + "pat_id " + "\\ }" , apiClient .escapeString (patId .toString ()));
27982796
27992797 Map <String , String > localVarHeaderParams = new HashMap <String , String >();
28002798
@@ -3310,28 +3308,28 @@ public ApiResponse<ApplicationKeyResponse> updateCurrentUserApplicationKeyWithHt
33103308 *
33113309 * <p>See {@link #updatePersonalAccessTokenWithHttpInfo}.
33123310 *
3313- * @param patUuid The UUID of the personal access token. (required)
3311+ * @param patId The ID of the personal access token. (required)
33143312 * @param body (required)
33153313 * @return PersonalAccessTokenResponse
33163314 * @throws ApiException if fails to make API call
33173315 */
33183316 public PersonalAccessTokenResponse updatePersonalAccessToken (
3319- String patUuid , PersonalAccessTokenUpdateRequest body ) throws ApiException {
3320- return updatePersonalAccessTokenWithHttpInfo (patUuid , body ).getData ();
3317+ String patId , PersonalAccessTokenUpdateRequest body ) throws ApiException {
3318+ return updatePersonalAccessTokenWithHttpInfo (patId , body ).getData ();
33213319 }
33223320
33233321 /**
33243322 * Update a personal access token.
33253323 *
33263324 * <p>See {@link #updatePersonalAccessTokenWithHttpInfoAsync}.
33273325 *
3328- * @param patUuid The UUID of the personal access token. (required)
3326+ * @param patId The ID of the personal access token. (required)
33293327 * @param body (required)
33303328 * @return CompletableFuture<PersonalAccessTokenResponse>
33313329 */
33323330 public CompletableFuture <PersonalAccessTokenResponse > updatePersonalAccessTokenAsync (
3333- String patUuid , PersonalAccessTokenUpdateRequest body ) {
3334- return updatePersonalAccessTokenWithHttpInfoAsync (patUuid , body )
3331+ String patId , PersonalAccessTokenUpdateRequest body ) {
3332+ return updatePersonalAccessTokenWithHttpInfoAsync (patId , body )
33353333 .thenApply (
33363334 response -> {
33373335 return response .getData ();
@@ -3341,7 +3339,7 @@ public CompletableFuture<PersonalAccessTokenResponse> updatePersonalAccessTokenA
33413339 /**
33423340 * Update a specific personal access token.
33433341 *
3344- * @param patUuid The UUID of the personal access token. (required)
3342+ * @param patId The ID of the personal access token. (required)
33453343 * @param body (required)
33463344 * @return ApiResponse<PersonalAccessTokenResponse>
33473345 * @throws ApiException if fails to make API call
@@ -3357,13 +3355,13 @@ public CompletableFuture<PersonalAccessTokenResponse> updatePersonalAccessTokenA
33573355 * </table>
33583356 */
33593357 public ApiResponse <PersonalAccessTokenResponse > updatePersonalAccessTokenWithHttpInfo (
3360- String patUuid , PersonalAccessTokenUpdateRequest body ) throws ApiException {
3358+ String patId , PersonalAccessTokenUpdateRequest body ) throws ApiException {
33613359 Object localVarPostBody = body ;
33623360
3363- // verify the required parameter 'patUuid ' is set
3364- if (patUuid == null ) {
3361+ // verify the required parameter 'patId ' is set
3362+ if (patId == null ) {
33653363 throw new ApiException (
3366- 400 , "Missing the required parameter 'patUuid ' when calling updatePersonalAccessToken" );
3364+ 400 , "Missing the required parameter 'patId ' when calling updatePersonalAccessToken" );
33673365 }
33683366
33693367 // verify the required parameter 'body' is set
@@ -3373,8 +3371,8 @@ public ApiResponse<PersonalAccessTokenResponse> updatePersonalAccessTokenWithHtt
33733371 }
33743372 // create path and map variables
33753373 String localVarPath =
3376- "/api/v2/personal_access_tokens/{pat_uuid }"
3377- .replaceAll ("\\ {" + "pat_uuid " + "\\ }" , apiClient .escapeString (patUuid .toString ()));
3374+ "/api/v2/personal_access_tokens/{pat_id }"
3375+ .replaceAll ("\\ {" + "pat_id " + "\\ }" , apiClient .escapeString (patId .toString ()));
33783376
33793377 Map <String , String > localVarHeaderParams = new HashMap <String , String >();
33803378
@@ -3403,23 +3401,23 @@ public ApiResponse<PersonalAccessTokenResponse> updatePersonalAccessTokenWithHtt
34033401 *
34043402 * <p>See {@link #updatePersonalAccessTokenWithHttpInfo}.
34053403 *
3406- * @param patUuid The UUID of the personal access token. (required)
3404+ * @param patId The ID of the personal access token. (required)
34073405 * @param body (required)
34083406 * @return CompletableFuture<ApiResponse<PersonalAccessTokenResponse>>
34093407 */
34103408 public CompletableFuture <ApiResponse <PersonalAccessTokenResponse >>
34113409 updatePersonalAccessTokenWithHttpInfoAsync (
3412- String patUuid , PersonalAccessTokenUpdateRequest body ) {
3410+ String patId , PersonalAccessTokenUpdateRequest body ) {
34133411 Object localVarPostBody = body ;
34143412
3415- // verify the required parameter 'patUuid ' is set
3416- if (patUuid == null ) {
3413+ // verify the required parameter 'patId ' is set
3414+ if (patId == null ) {
34173415 CompletableFuture <ApiResponse <PersonalAccessTokenResponse >> result =
34183416 new CompletableFuture <>();
34193417 result .completeExceptionally (
34203418 new ApiException (
34213419 400 ,
3422- "Missing the required parameter 'patUuid ' when calling updatePersonalAccessToken" ));
3420+ "Missing the required parameter 'patId ' when calling updatePersonalAccessToken" ));
34233421 return result ;
34243422 }
34253423
@@ -3434,8 +3432,8 @@ public ApiResponse<PersonalAccessTokenResponse> updatePersonalAccessTokenWithHtt
34343432 }
34353433 // create path and map variables
34363434 String localVarPath =
3437- "/api/v2/personal_access_tokens/{pat_uuid }"
3438- .replaceAll ("\\ {" + "pat_uuid " + "\\ }" , apiClient .escapeString (patUuid .toString ()));
3435+ "/api/v2/personal_access_tokens/{pat_id }"
3436+ .replaceAll ("\\ {" + "pat_id " + "\\ }" , apiClient .escapeString (patId .toString ()));
34393437
34403438 Map <String , String > localVarHeaderParams = new HashMap <String , String >();
34413439
0 commit comments