@@ -144,7 +144,7 @@ def __init__(self, api_client=None):
144144 settings = {
145145 "response_type" : (PersonalAccessTokenResponse ,),
146146 "auth" : ["apiKeyAuth" , "appKeyAuth" ],
147- "endpoint_path" : "/api/v2/service_accounts/{service_account_id}/access_tokens/{pat_uuid }" ,
147+ "endpoint_path" : "/api/v2/service_accounts/{service_account_id}/access_tokens/{pat_id }" ,
148148 "operation_id" : "get_service_account_access_token" ,
149149 "http_method" : "GET" ,
150150 "version" : "v2" ,
@@ -156,10 +156,10 @@ def __init__(self, api_client=None):
156156 "attribute" : "service_account_id" ,
157157 "location" : "path" ,
158158 },
159- "pat_uuid " : {
159+ "pat_id " : {
160160 "required" : True ,
161161 "openapi_types" : (str ,),
162- "attribute" : "pat_uuid " ,
162+ "attribute" : "pat_id " ,
163163 "location" : "path" ,
164164 },
165165 },
@@ -298,7 +298,7 @@ def __init__(self, api_client=None):
298298 settings = {
299299 "response_type" : None ,
300300 "auth" : ["apiKeyAuth" , "appKeyAuth" ],
301- "endpoint_path" : "/api/v2/service_accounts/{service_account_id}/access_tokens/{pat_uuid }" ,
301+ "endpoint_path" : "/api/v2/service_accounts/{service_account_id}/access_tokens/{pat_id }" ,
302302 "operation_id" : "revoke_service_account_access_token" ,
303303 "http_method" : "DELETE" ,
304304 "version" : "v2" ,
@@ -310,10 +310,10 @@ def __init__(self, api_client=None):
310310 "attribute" : "service_account_id" ,
311311 "location" : "path" ,
312312 },
313- "pat_uuid " : {
313+ "pat_id " : {
314314 "required" : True ,
315315 "openapi_types" : (str ,),
316- "attribute" : "pat_uuid " ,
316+ "attribute" : "pat_id " ,
317317 "location" : "path" ,
318318 },
319319 },
@@ -327,7 +327,7 @@ def __init__(self, api_client=None):
327327 settings = {
328328 "response_type" : (PersonalAccessTokenResponse ,),
329329 "auth" : ["apiKeyAuth" , "appKeyAuth" ],
330- "endpoint_path" : "/api/v2/service_accounts/{service_account_id}/access_tokens/{pat_uuid }" ,
330+ "endpoint_path" : "/api/v2/service_accounts/{service_account_id}/access_tokens/{pat_id }" ,
331331 "operation_id" : "update_service_account_access_token" ,
332332 "http_method" : "PATCH" ,
333333 "version" : "v2" ,
@@ -339,10 +339,10 @@ def __init__(self, api_client=None):
339339 "attribute" : "service_account_id" ,
340340 "location" : "path" ,
341341 },
342- "pat_uuid " : {
342+ "pat_id " : {
343343 "required" : True ,
344344 "openapi_types" : (str ,),
345- "attribute" : "pat_uuid " ,
345+ "attribute" : "pat_id " ,
346346 "location" : "path" ,
347347 },
348348 "body" : {
@@ -470,22 +470,22 @@ def delete_service_account_application_key(
470470 def get_service_account_access_token (
471471 self ,
472472 service_account_id : str ,
473- pat_uuid : str ,
473+ pat_id : str ,
474474 ) -> PersonalAccessTokenResponse :
475475 """Get an access token for a service account.
476476
477477 Get a specific access token for a service account by its UUID.
478478
479479 :param service_account_id: The ID of the service account.
480480 :type service_account_id: str
481- :param pat_uuid : The UUID of the personal access token.
482- :type pat_uuid : str
481+ :param pat_id : The ID of the personal access token.
482+ :type pat_id : str
483483 :rtype: PersonalAccessTokenResponse
484484 """
485485 kwargs : Dict [str , Any ] = {}
486486 kwargs ["service_account_id" ] = service_account_id
487487
488- kwargs ["pat_uuid " ] = pat_uuid
488+ kwargs ["pat_id " ] = pat_id
489489
490490 return self ._get_service_account_access_token_endpoint .call_with_http_info (** kwargs )
491491
@@ -614,29 +614,29 @@ def list_service_account_application_keys(
614614 def revoke_service_account_access_token (
615615 self ,
616616 service_account_id : str ,
617- pat_uuid : str ,
617+ pat_id : str ,
618618 ) -> None :
619619 """Revoke an access token for a service account.
620620
621621 Revoke a specific access token for a service account.
622622
623623 :param service_account_id: The ID of the service account.
624624 :type service_account_id: str
625- :param pat_uuid : The UUID of the personal access token.
626- :type pat_uuid : str
625+ :param pat_id : The ID of the personal access token.
626+ :type pat_id : str
627627 :rtype: None
628628 """
629629 kwargs : Dict [str , Any ] = {}
630630 kwargs ["service_account_id" ] = service_account_id
631631
632- kwargs ["pat_uuid " ] = pat_uuid
632+ kwargs ["pat_id " ] = pat_id
633633
634634 return self ._revoke_service_account_access_token_endpoint .call_with_http_info (** kwargs )
635635
636636 def update_service_account_access_token (
637637 self ,
638638 service_account_id : str ,
639- pat_uuid : str ,
639+ pat_id : str ,
640640 body : PersonalAccessTokenUpdateRequest ,
641641 ) -> PersonalAccessTokenResponse :
642642 """Update an access token for a service account.
@@ -645,15 +645,15 @@ def update_service_account_access_token(
645645
646646 :param service_account_id: The ID of the service account.
647647 :type service_account_id: str
648- :param pat_uuid : The UUID of the personal access token.
649- :type pat_uuid : str
648+ :param pat_id : The ID of the personal access token.
649+ :type pat_id : str
650650 :type body: PersonalAccessTokenUpdateRequest
651651 :rtype: PersonalAccessTokenResponse
652652 """
653653 kwargs : Dict [str , Any ] = {}
654654 kwargs ["service_account_id" ] = service_account_id
655655
656- kwargs ["pat_uuid " ] = pat_uuid
656+ kwargs ["pat_id " ] = pat_id
657657
658658 kwargs ["body" ] = body
659659
0 commit comments