pulpcore-client 3.80.2__py3-none-any.whl → 3.82.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of pulpcore-client might be problematic. Click here for more details.

Files changed (64) hide show
  1. pulpcore/client/pulpcore/__init__.py +1 -1
  2. pulpcore/client/pulpcore/api/access_policies_api.py +80 -0
  3. pulpcore/client/pulpcore/api/artifacts_api.py +64 -0
  4. pulpcore/client/pulpcore/api/content_api.py +16 -0
  5. pulpcore/client/pulpcore/api/content_openpgp_publickey_api.py +80 -0
  6. pulpcore/client/pulpcore/api/content_openpgp_publicsubkey_api.py +64 -0
  7. pulpcore/client/pulpcore/api/content_openpgp_signature_api.py +64 -0
  8. pulpcore/client/pulpcore/api/content_openpgp_userattribute_api.py +64 -0
  9. pulpcore/client/pulpcore/api/content_openpgp_userid_api.py +64 -0
  10. pulpcore/client/pulpcore/api/contentguards_api.py +16 -0
  11. pulpcore/client/pulpcore/api/contentguards_composite_api.py +160 -0
  12. pulpcore/client/pulpcore/api/contentguards_content_redirect_api.py +160 -0
  13. pulpcore/client/pulpcore/api/contentguards_header_api.py +160 -0
  14. pulpcore/client/pulpcore/api/contentguards_rbac_api.py +160 -0
  15. pulpcore/client/pulpcore/api/distributions_api.py +16 -0
  16. pulpcore/client/pulpcore/api/distributions_artifacts_api.py +32 -0
  17. pulpcore/client/pulpcore/api/distributions_openpgp_api.py +128 -0
  18. pulpcore/client/pulpcore/api/domains_api.py +144 -0
  19. pulpcore/client/pulpcore/api/exporters_filesystem_api.py +96 -0
  20. pulpcore/client/pulpcore/api/exporters_filesystem_exports_api.py +64 -0
  21. pulpcore/client/pulpcore/api/exporters_pulp_api.py +96 -0
  22. pulpcore/client/pulpcore/api/exporters_pulp_exports_api.py +64 -0
  23. pulpcore/client/pulpcore/api/groups_api.py +160 -0
  24. pulpcore/client/pulpcore/api/groups_roles_api.py +64 -0
  25. pulpcore/client/pulpcore/api/groups_users_api.py +48 -0
  26. pulpcore/client/pulpcore/api/importers_pulp_api.py +96 -0
  27. pulpcore/client/pulpcore/api/importers_pulp_import_check_api.py +19 -0
  28. pulpcore/client/pulpcore/api/importers_pulp_imports_api.py +64 -0
  29. pulpcore/client/pulpcore/api/livez_api.py +55 -0
  30. pulpcore/client/pulpcore/api/login_api.py +87 -0
  31. pulpcore/client/pulpcore/api/orphans_api.py +19 -0
  32. pulpcore/client/pulpcore/api/orphans_cleanup_api.py +19 -0
  33. pulpcore/client/pulpcore/api/publications_api.py +16 -0
  34. pulpcore/client/pulpcore/api/remotes_api.py +16 -0
  35. pulpcore/client/pulpcore/api/repair_api.py +19 -0
  36. pulpcore/client/pulpcore/api/repositories_api.py +16 -0
  37. pulpcore/client/pulpcore/api/repositories_openpgp_keyring_api.py +208 -0
  38. pulpcore/client/pulpcore/api/repositories_reclaim_space_api.py +19 -0
  39. pulpcore/client/pulpcore/api/repository_versions_api.py +16 -0
  40. pulpcore/client/pulpcore/api/roles_api.py +96 -0
  41. pulpcore/client/pulpcore/api/signing_services_api.py +32 -0
  42. pulpcore/client/pulpcore/api/status_api.py +55 -0
  43. pulpcore/client/pulpcore/api/task_groups_api.py +48 -0
  44. pulpcore/client/pulpcore/api/task_schedules_api.py +96 -0
  45. pulpcore/client/pulpcore/api/tasks_api.py +166 -6
  46. pulpcore/client/pulpcore/api/uploads_api.py +160 -0
  47. pulpcore/client/pulpcore/api/upstream_pulps_api.py +176 -0
  48. pulpcore/client/pulpcore/api/users_api.py +96 -0
  49. pulpcore/client/pulpcore/api/users_roles_api.py +64 -0
  50. pulpcore/client/pulpcore/api/workers_api.py +32 -0
  51. pulpcore/client/pulpcore/api_client.py +1 -1
  52. pulpcore/client/pulpcore/configuration.py +1 -1
  53. pulpcore/client/pulpcore/models/artifact_distribution_response.py +17 -17
  54. pulpcore/client/pulpcore/models/composite_content_guard.py +1 -1
  55. pulpcore/client/pulpcore/models/composite_content_guard_response.py +1 -1
  56. pulpcore/client/pulpcore/models/content_guard_response.py +1 -1
  57. pulpcore/client/pulpcore/models/patched_composite_content_guard.py +1 -1
  58. pulpcore/client/pulpcore/models/patched_rbac_content_guard.py +1 -1
  59. pulpcore/client/pulpcore/models/rbac_content_guard.py +1 -1
  60. pulpcore/client/pulpcore/models/rbac_content_guard_response.py +1 -1
  61. {pulpcore_client-3.80.2.dist-info → pulpcore_client-3.82.0.dist-info}/METADATA +1 -1
  62. {pulpcore_client-3.80.2.dist-info → pulpcore_client-3.82.0.dist-info}/RECORD +64 -64
  63. {pulpcore_client-3.80.2.dist-info → pulpcore_client-3.82.0.dist-info}/WHEEL +0 -0
  64. {pulpcore_client-3.80.2.dist-info → pulpcore_client-3.82.0.dist-info}/top_level.txt +0 -0
@@ -47,6 +47,7 @@ class RolesApi:
47
47
  def create(
48
48
  self,
49
49
  role: Role,
50
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
50
51
  _request_timeout: Union[
51
52
  None,
52
53
  Annotated[StrictFloat, Field(gt=0)],
@@ -66,6 +67,8 @@ class RolesApi:
66
67
 
67
68
  :param role: (required)
68
69
  :type role: Role
70
+ :param x_task_diagnostics: List of profilers to use on tasks.
71
+ :type x_task_diagnostics: List[str]
69
72
  :param _request_timeout: timeout setting for this request. If one
70
73
  number provided, it will be total request
71
74
  timeout. It can also be a pair (tuple) of
@@ -90,6 +93,7 @@ class RolesApi:
90
93
 
91
94
  _param = self._create_serialize(
92
95
  role=role,
96
+ x_task_diagnostics=x_task_diagnostics,
93
97
  _request_auth=_request_auth,
94
98
  _content_type=_content_type,
95
99
  _headers=_headers,
@@ -114,6 +118,7 @@ class RolesApi:
114
118
  def create_with_http_info(
115
119
  self,
116
120
  role: Role,
121
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
117
122
  _request_timeout: Union[
118
123
  None,
119
124
  Annotated[StrictFloat, Field(gt=0)],
@@ -133,6 +138,8 @@ class RolesApi:
133
138
 
134
139
  :param role: (required)
135
140
  :type role: Role
141
+ :param x_task_diagnostics: List of profilers to use on tasks.
142
+ :type x_task_diagnostics: List[str]
136
143
  :param _request_timeout: timeout setting for this request. If one
137
144
  number provided, it will be total request
138
145
  timeout. It can also be a pair (tuple) of
@@ -157,6 +164,7 @@ class RolesApi:
157
164
 
158
165
  _param = self._create_serialize(
159
166
  role=role,
167
+ x_task_diagnostics=x_task_diagnostics,
160
168
  _request_auth=_request_auth,
161
169
  _content_type=_content_type,
162
170
  _headers=_headers,
@@ -181,6 +189,7 @@ class RolesApi:
181
189
  def create_without_preload_content(
182
190
  self,
183
191
  role: Role,
192
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
184
193
  _request_timeout: Union[
185
194
  None,
186
195
  Annotated[StrictFloat, Field(gt=0)],
@@ -200,6 +209,8 @@ class RolesApi:
200
209
 
201
210
  :param role: (required)
202
211
  :type role: Role
212
+ :param x_task_diagnostics: List of profilers to use on tasks.
213
+ :type x_task_diagnostics: List[str]
203
214
  :param _request_timeout: timeout setting for this request. If one
204
215
  number provided, it will be total request
205
216
  timeout. It can also be a pair (tuple) of
@@ -224,6 +235,7 @@ class RolesApi:
224
235
 
225
236
  _param = self._create_serialize(
226
237
  role=role,
238
+ x_task_diagnostics=x_task_diagnostics,
227
239
  _request_auth=_request_auth,
228
240
  _content_type=_content_type,
229
241
  _headers=_headers,
@@ -243,6 +255,7 @@ class RolesApi:
243
255
  def _create_serialize(
244
256
  self,
245
257
  role,
258
+ x_task_diagnostics,
246
259
  _request_auth,
247
260
  _content_type,
248
261
  _headers,
@@ -252,6 +265,7 @@ class RolesApi:
252
265
  _host = None
253
266
 
254
267
  _collection_formats: Dict[str, str] = {
268
+ 'X-Task-Diagnostics': 'csv',
255
269
  }
256
270
 
257
271
  _path_params: Dict[str, str] = {}
@@ -266,6 +280,8 @@ class RolesApi:
266
280
  # process the path parameters
267
281
  # process the query parameters
268
282
  # process the header parameters
283
+ if x_task_diagnostics is not None:
284
+ _header_params['X-Task-Diagnostics'] = x_task_diagnostics
269
285
  # process the form parameters
270
286
  # process the body parameter
271
287
  if role is not None:
@@ -324,6 +340,7 @@ class RolesApi:
324
340
  def delete(
325
341
  self,
326
342
  role_href: StrictStr,
343
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
327
344
  _request_timeout: Union[
328
345
  None,
329
346
  Annotated[StrictFloat, Field(gt=0)],
@@ -343,6 +360,8 @@ class RolesApi:
343
360
 
344
361
  :param role_href: (required)
345
362
  :type role_href: str
363
+ :param x_task_diagnostics: List of profilers to use on tasks.
364
+ :type x_task_diagnostics: List[str]
346
365
  :param _request_timeout: timeout setting for this request. If one
347
366
  number provided, it will be total request
348
367
  timeout. It can also be a pair (tuple) of
@@ -367,6 +386,7 @@ class RolesApi:
367
386
 
368
387
  _param = self._delete_serialize(
369
388
  role_href=role_href,
389
+ x_task_diagnostics=x_task_diagnostics,
370
390
  _request_auth=_request_auth,
371
391
  _content_type=_content_type,
372
392
  _headers=_headers,
@@ -391,6 +411,7 @@ class RolesApi:
391
411
  def delete_with_http_info(
392
412
  self,
393
413
  role_href: StrictStr,
414
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
394
415
  _request_timeout: Union[
395
416
  None,
396
417
  Annotated[StrictFloat, Field(gt=0)],
@@ -410,6 +431,8 @@ class RolesApi:
410
431
 
411
432
  :param role_href: (required)
412
433
  :type role_href: str
434
+ :param x_task_diagnostics: List of profilers to use on tasks.
435
+ :type x_task_diagnostics: List[str]
413
436
  :param _request_timeout: timeout setting for this request. If one
414
437
  number provided, it will be total request
415
438
  timeout. It can also be a pair (tuple) of
@@ -434,6 +457,7 @@ class RolesApi:
434
457
 
435
458
  _param = self._delete_serialize(
436
459
  role_href=role_href,
460
+ x_task_diagnostics=x_task_diagnostics,
437
461
  _request_auth=_request_auth,
438
462
  _content_type=_content_type,
439
463
  _headers=_headers,
@@ -458,6 +482,7 @@ class RolesApi:
458
482
  def delete_without_preload_content(
459
483
  self,
460
484
  role_href: StrictStr,
485
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
461
486
  _request_timeout: Union[
462
487
  None,
463
488
  Annotated[StrictFloat, Field(gt=0)],
@@ -477,6 +502,8 @@ class RolesApi:
477
502
 
478
503
  :param role_href: (required)
479
504
  :type role_href: str
505
+ :param x_task_diagnostics: List of profilers to use on tasks.
506
+ :type x_task_diagnostics: List[str]
480
507
  :param _request_timeout: timeout setting for this request. If one
481
508
  number provided, it will be total request
482
509
  timeout. It can also be a pair (tuple) of
@@ -501,6 +528,7 @@ class RolesApi:
501
528
 
502
529
  _param = self._delete_serialize(
503
530
  role_href=role_href,
531
+ x_task_diagnostics=x_task_diagnostics,
504
532
  _request_auth=_request_auth,
505
533
  _content_type=_content_type,
506
534
  _headers=_headers,
@@ -520,6 +548,7 @@ class RolesApi:
520
548
  def _delete_serialize(
521
549
  self,
522
550
  role_href,
551
+ x_task_diagnostics,
523
552
  _request_auth,
524
553
  _content_type,
525
554
  _headers,
@@ -529,6 +558,7 @@ class RolesApi:
529
558
  _host = None
530
559
 
531
560
  _collection_formats: Dict[str, str] = {
561
+ 'X-Task-Diagnostics': 'csv',
532
562
  }
533
563
 
534
564
  _path_params: Dict[str, str] = {}
@@ -545,6 +575,8 @@ class RolesApi:
545
575
  _path_params['role_href'] = role_href
546
576
  # process the query parameters
547
577
  # process the header parameters
578
+ if x_task_diagnostics is not None:
579
+ _header_params['X-Task-Diagnostics'] = x_task_diagnostics
548
580
  # process the form parameters
549
581
  # process the body parameter
550
582
 
@@ -578,6 +610,7 @@ class RolesApi:
578
610
  @validate_call
579
611
  def list(
580
612
  self,
613
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
581
614
  contains_permission: Annotated[Optional[List[StrictStr]], Field(description="Filter roles that have any of the permissions in the list.")] = None,
582
615
  description: Annotated[Optional[StrictStr], Field(description="Filter results where description matches value")] = None,
583
616
  description__contains: Annotated[Optional[StrictStr], Field(description="Filter results where description contains value")] = None,
@@ -620,6 +653,8 @@ class RolesApi:
620
653
 
621
654
  ViewSet for Role.
622
655
 
656
+ :param x_task_diagnostics: List of profilers to use on tasks.
657
+ :type x_task_diagnostics: List[str]
623
658
  :param contains_permission: Filter roles that have any of the permissions in the list.
624
659
  :type contains_permission: List[str]
625
660
  :param description: Filter results where description matches value
@@ -693,6 +728,7 @@ class RolesApi:
693
728
  """ # noqa: E501
694
729
 
695
730
  _param = self._list_serialize(
731
+ x_task_diagnostics=x_task_diagnostics,
696
732
  contains_permission=contains_permission,
697
733
  description=description,
698
734
  description__contains=description__contains,
@@ -741,6 +777,7 @@ class RolesApi:
741
777
  @validate_call
742
778
  def list_with_http_info(
743
779
  self,
780
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
744
781
  contains_permission: Annotated[Optional[List[StrictStr]], Field(description="Filter roles that have any of the permissions in the list.")] = None,
745
782
  description: Annotated[Optional[StrictStr], Field(description="Filter results where description matches value")] = None,
746
783
  description__contains: Annotated[Optional[StrictStr], Field(description="Filter results where description contains value")] = None,
@@ -783,6 +820,8 @@ class RolesApi:
783
820
 
784
821
  ViewSet for Role.
785
822
 
823
+ :param x_task_diagnostics: List of profilers to use on tasks.
824
+ :type x_task_diagnostics: List[str]
786
825
  :param contains_permission: Filter roles that have any of the permissions in the list.
787
826
  :type contains_permission: List[str]
788
827
  :param description: Filter results where description matches value
@@ -856,6 +895,7 @@ class RolesApi:
856
895
  """ # noqa: E501
857
896
 
858
897
  _param = self._list_serialize(
898
+ x_task_diagnostics=x_task_diagnostics,
859
899
  contains_permission=contains_permission,
860
900
  description=description,
861
901
  description__contains=description__contains,
@@ -904,6 +944,7 @@ class RolesApi:
904
944
  @validate_call
905
945
  def list_without_preload_content(
906
946
  self,
947
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
907
948
  contains_permission: Annotated[Optional[List[StrictStr]], Field(description="Filter roles that have any of the permissions in the list.")] = None,
908
949
  description: Annotated[Optional[StrictStr], Field(description="Filter results where description matches value")] = None,
909
950
  description__contains: Annotated[Optional[StrictStr], Field(description="Filter results where description contains value")] = None,
@@ -946,6 +987,8 @@ class RolesApi:
946
987
 
947
988
  ViewSet for Role.
948
989
 
990
+ :param x_task_diagnostics: List of profilers to use on tasks.
991
+ :type x_task_diagnostics: List[str]
949
992
  :param contains_permission: Filter roles that have any of the permissions in the list.
950
993
  :type contains_permission: List[str]
951
994
  :param description: Filter results where description matches value
@@ -1019,6 +1062,7 @@ class RolesApi:
1019
1062
  """ # noqa: E501
1020
1063
 
1021
1064
  _param = self._list_serialize(
1065
+ x_task_diagnostics=x_task_diagnostics,
1022
1066
  contains_permission=contains_permission,
1023
1067
  description=description,
1024
1068
  description__contains=description__contains,
@@ -1062,6 +1106,7 @@ class RolesApi:
1062
1106
 
1063
1107
  def _list_serialize(
1064
1108
  self,
1109
+ x_task_diagnostics,
1065
1110
  contains_permission,
1066
1111
  description,
1067
1112
  description__contains,
@@ -1096,6 +1141,7 @@ class RolesApi:
1096
1141
  _host = None
1097
1142
 
1098
1143
  _collection_formats: Dict[str, str] = {
1144
+ 'X-Task-Diagnostics': 'csv',
1099
1145
  'contains_permission': 'multi',
1100
1146
  'name__in': 'csv',
1101
1147
  'ordering': 'csv',
@@ -1218,6 +1264,8 @@ class RolesApi:
1218
1264
  _query_params.append(('exclude_fields', exclude_fields))
1219
1265
 
1220
1266
  # process the header parameters
1267
+ if x_task_diagnostics is not None:
1268
+ _header_params['X-Task-Diagnostics'] = x_task_diagnostics
1221
1269
  # process the form parameters
1222
1270
  # process the body parameter
1223
1271
 
@@ -1260,6 +1308,7 @@ class RolesApi:
1260
1308
  self,
1261
1309
  role_href: StrictStr,
1262
1310
  patched_role: PatchedRole,
1311
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
1263
1312
  _request_timeout: Union[
1264
1313
  None,
1265
1314
  Annotated[StrictFloat, Field(gt=0)],
@@ -1281,6 +1330,8 @@ class RolesApi:
1281
1330
  :type role_href: str
1282
1331
  :param patched_role: (required)
1283
1332
  :type patched_role: PatchedRole
1333
+ :param x_task_diagnostics: List of profilers to use on tasks.
1334
+ :type x_task_diagnostics: List[str]
1284
1335
  :param _request_timeout: timeout setting for this request. If one
1285
1336
  number provided, it will be total request
1286
1337
  timeout. It can also be a pair (tuple) of
@@ -1306,6 +1357,7 @@ class RolesApi:
1306
1357
  _param = self._partial_update_serialize(
1307
1358
  role_href=role_href,
1308
1359
  patched_role=patched_role,
1360
+ x_task_diagnostics=x_task_diagnostics,
1309
1361
  _request_auth=_request_auth,
1310
1362
  _content_type=_content_type,
1311
1363
  _headers=_headers,
@@ -1331,6 +1383,7 @@ class RolesApi:
1331
1383
  self,
1332
1384
  role_href: StrictStr,
1333
1385
  patched_role: PatchedRole,
1386
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
1334
1387
  _request_timeout: Union[
1335
1388
  None,
1336
1389
  Annotated[StrictFloat, Field(gt=0)],
@@ -1352,6 +1405,8 @@ class RolesApi:
1352
1405
  :type role_href: str
1353
1406
  :param patched_role: (required)
1354
1407
  :type patched_role: PatchedRole
1408
+ :param x_task_diagnostics: List of profilers to use on tasks.
1409
+ :type x_task_diagnostics: List[str]
1355
1410
  :param _request_timeout: timeout setting for this request. If one
1356
1411
  number provided, it will be total request
1357
1412
  timeout. It can also be a pair (tuple) of
@@ -1377,6 +1432,7 @@ class RolesApi:
1377
1432
  _param = self._partial_update_serialize(
1378
1433
  role_href=role_href,
1379
1434
  patched_role=patched_role,
1435
+ x_task_diagnostics=x_task_diagnostics,
1380
1436
  _request_auth=_request_auth,
1381
1437
  _content_type=_content_type,
1382
1438
  _headers=_headers,
@@ -1402,6 +1458,7 @@ class RolesApi:
1402
1458
  self,
1403
1459
  role_href: StrictStr,
1404
1460
  patched_role: PatchedRole,
1461
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
1405
1462
  _request_timeout: Union[
1406
1463
  None,
1407
1464
  Annotated[StrictFloat, Field(gt=0)],
@@ -1423,6 +1480,8 @@ class RolesApi:
1423
1480
  :type role_href: str
1424
1481
  :param patched_role: (required)
1425
1482
  :type patched_role: PatchedRole
1483
+ :param x_task_diagnostics: List of profilers to use on tasks.
1484
+ :type x_task_diagnostics: List[str]
1426
1485
  :param _request_timeout: timeout setting for this request. If one
1427
1486
  number provided, it will be total request
1428
1487
  timeout. It can also be a pair (tuple) of
@@ -1448,6 +1507,7 @@ class RolesApi:
1448
1507
  _param = self._partial_update_serialize(
1449
1508
  role_href=role_href,
1450
1509
  patched_role=patched_role,
1510
+ x_task_diagnostics=x_task_diagnostics,
1451
1511
  _request_auth=_request_auth,
1452
1512
  _content_type=_content_type,
1453
1513
  _headers=_headers,
@@ -1468,6 +1528,7 @@ class RolesApi:
1468
1528
  self,
1469
1529
  role_href,
1470
1530
  patched_role,
1531
+ x_task_diagnostics,
1471
1532
  _request_auth,
1472
1533
  _content_type,
1473
1534
  _headers,
@@ -1477,6 +1538,7 @@ class RolesApi:
1477
1538
  _host = None
1478
1539
 
1479
1540
  _collection_formats: Dict[str, str] = {
1541
+ 'X-Task-Diagnostics': 'csv',
1480
1542
  }
1481
1543
 
1482
1544
  _path_params: Dict[str, str] = {}
@@ -1493,6 +1555,8 @@ class RolesApi:
1493
1555
  _path_params['role_href'] = role_href
1494
1556
  # process the query parameters
1495
1557
  # process the header parameters
1558
+ if x_task_diagnostics is not None:
1559
+ _header_params['X-Task-Diagnostics'] = x_task_diagnostics
1496
1560
  # process the form parameters
1497
1561
  # process the body parameter
1498
1562
  if patched_role is not None:
@@ -1551,6 +1615,7 @@ class RolesApi:
1551
1615
  def read(
1552
1616
  self,
1553
1617
  role_href: StrictStr,
1618
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
1554
1619
  fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
1555
1620
  exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
1556
1621
  _request_timeout: Union[
@@ -1572,6 +1637,8 @@ class RolesApi:
1572
1637
 
1573
1638
  :param role_href: (required)
1574
1639
  :type role_href: str
1640
+ :param x_task_diagnostics: List of profilers to use on tasks.
1641
+ :type x_task_diagnostics: List[str]
1575
1642
  :param fields: A list of fields to include in the response.
1576
1643
  :type fields: List[str]
1577
1644
  :param exclude_fields: A list of fields to exclude from the response.
@@ -1600,6 +1667,7 @@ class RolesApi:
1600
1667
 
1601
1668
  _param = self._read_serialize(
1602
1669
  role_href=role_href,
1670
+ x_task_diagnostics=x_task_diagnostics,
1603
1671
  fields=fields,
1604
1672
  exclude_fields=exclude_fields,
1605
1673
  _request_auth=_request_auth,
@@ -1626,6 +1694,7 @@ class RolesApi:
1626
1694
  def read_with_http_info(
1627
1695
  self,
1628
1696
  role_href: StrictStr,
1697
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
1629
1698
  fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
1630
1699
  exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
1631
1700
  _request_timeout: Union[
@@ -1647,6 +1716,8 @@ class RolesApi:
1647
1716
 
1648
1717
  :param role_href: (required)
1649
1718
  :type role_href: str
1719
+ :param x_task_diagnostics: List of profilers to use on tasks.
1720
+ :type x_task_diagnostics: List[str]
1650
1721
  :param fields: A list of fields to include in the response.
1651
1722
  :type fields: List[str]
1652
1723
  :param exclude_fields: A list of fields to exclude from the response.
@@ -1675,6 +1746,7 @@ class RolesApi:
1675
1746
 
1676
1747
  _param = self._read_serialize(
1677
1748
  role_href=role_href,
1749
+ x_task_diagnostics=x_task_diagnostics,
1678
1750
  fields=fields,
1679
1751
  exclude_fields=exclude_fields,
1680
1752
  _request_auth=_request_auth,
@@ -1701,6 +1773,7 @@ class RolesApi:
1701
1773
  def read_without_preload_content(
1702
1774
  self,
1703
1775
  role_href: StrictStr,
1776
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
1704
1777
  fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
1705
1778
  exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
1706
1779
  _request_timeout: Union[
@@ -1722,6 +1795,8 @@ class RolesApi:
1722
1795
 
1723
1796
  :param role_href: (required)
1724
1797
  :type role_href: str
1798
+ :param x_task_diagnostics: List of profilers to use on tasks.
1799
+ :type x_task_diagnostics: List[str]
1725
1800
  :param fields: A list of fields to include in the response.
1726
1801
  :type fields: List[str]
1727
1802
  :param exclude_fields: A list of fields to exclude from the response.
@@ -1750,6 +1825,7 @@ class RolesApi:
1750
1825
 
1751
1826
  _param = self._read_serialize(
1752
1827
  role_href=role_href,
1828
+ x_task_diagnostics=x_task_diagnostics,
1753
1829
  fields=fields,
1754
1830
  exclude_fields=exclude_fields,
1755
1831
  _request_auth=_request_auth,
@@ -1771,6 +1847,7 @@ class RolesApi:
1771
1847
  def _read_serialize(
1772
1848
  self,
1773
1849
  role_href,
1850
+ x_task_diagnostics,
1774
1851
  fields,
1775
1852
  exclude_fields,
1776
1853
  _request_auth,
@@ -1782,6 +1859,7 @@ class RolesApi:
1782
1859
  _host = None
1783
1860
 
1784
1861
  _collection_formats: Dict[str, str] = {
1862
+ 'X-Task-Diagnostics': 'csv',
1785
1863
  'fields': 'multi',
1786
1864
  'exclude_fields': 'multi',
1787
1865
  }
@@ -1808,6 +1886,8 @@ class RolesApi:
1808
1886
  _query_params.append(('exclude_fields', exclude_fields))
1809
1887
 
1810
1888
  # process the header parameters
1889
+ if x_task_diagnostics is not None:
1890
+ _header_params['X-Task-Diagnostics'] = x_task_diagnostics
1811
1891
  # process the form parameters
1812
1892
  # process the body parameter
1813
1893
 
@@ -1850,6 +1930,7 @@ class RolesApi:
1850
1930
  self,
1851
1931
  role_href: StrictStr,
1852
1932
  role: Role,
1933
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
1853
1934
  _request_timeout: Union[
1854
1935
  None,
1855
1936
  Annotated[StrictFloat, Field(gt=0)],
@@ -1871,6 +1952,8 @@ class RolesApi:
1871
1952
  :type role_href: str
1872
1953
  :param role: (required)
1873
1954
  :type role: Role
1955
+ :param x_task_diagnostics: List of profilers to use on tasks.
1956
+ :type x_task_diagnostics: List[str]
1874
1957
  :param _request_timeout: timeout setting for this request. If one
1875
1958
  number provided, it will be total request
1876
1959
  timeout. It can also be a pair (tuple) of
@@ -1896,6 +1979,7 @@ class RolesApi:
1896
1979
  _param = self._update_serialize(
1897
1980
  role_href=role_href,
1898
1981
  role=role,
1982
+ x_task_diagnostics=x_task_diagnostics,
1899
1983
  _request_auth=_request_auth,
1900
1984
  _content_type=_content_type,
1901
1985
  _headers=_headers,
@@ -1921,6 +2005,7 @@ class RolesApi:
1921
2005
  self,
1922
2006
  role_href: StrictStr,
1923
2007
  role: Role,
2008
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
1924
2009
  _request_timeout: Union[
1925
2010
  None,
1926
2011
  Annotated[StrictFloat, Field(gt=0)],
@@ -1942,6 +2027,8 @@ class RolesApi:
1942
2027
  :type role_href: str
1943
2028
  :param role: (required)
1944
2029
  :type role: Role
2030
+ :param x_task_diagnostics: List of profilers to use on tasks.
2031
+ :type x_task_diagnostics: List[str]
1945
2032
  :param _request_timeout: timeout setting for this request. If one
1946
2033
  number provided, it will be total request
1947
2034
  timeout. It can also be a pair (tuple) of
@@ -1967,6 +2054,7 @@ class RolesApi:
1967
2054
  _param = self._update_serialize(
1968
2055
  role_href=role_href,
1969
2056
  role=role,
2057
+ x_task_diagnostics=x_task_diagnostics,
1970
2058
  _request_auth=_request_auth,
1971
2059
  _content_type=_content_type,
1972
2060
  _headers=_headers,
@@ -1992,6 +2080,7 @@ class RolesApi:
1992
2080
  self,
1993
2081
  role_href: StrictStr,
1994
2082
  role: Role,
2083
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
1995
2084
  _request_timeout: Union[
1996
2085
  None,
1997
2086
  Annotated[StrictFloat, Field(gt=0)],
@@ -2013,6 +2102,8 @@ class RolesApi:
2013
2102
  :type role_href: str
2014
2103
  :param role: (required)
2015
2104
  :type role: Role
2105
+ :param x_task_diagnostics: List of profilers to use on tasks.
2106
+ :type x_task_diagnostics: List[str]
2016
2107
  :param _request_timeout: timeout setting for this request. If one
2017
2108
  number provided, it will be total request
2018
2109
  timeout. It can also be a pair (tuple) of
@@ -2038,6 +2129,7 @@ class RolesApi:
2038
2129
  _param = self._update_serialize(
2039
2130
  role_href=role_href,
2040
2131
  role=role,
2132
+ x_task_diagnostics=x_task_diagnostics,
2041
2133
  _request_auth=_request_auth,
2042
2134
  _content_type=_content_type,
2043
2135
  _headers=_headers,
@@ -2058,6 +2150,7 @@ class RolesApi:
2058
2150
  self,
2059
2151
  role_href,
2060
2152
  role,
2153
+ x_task_diagnostics,
2061
2154
  _request_auth,
2062
2155
  _content_type,
2063
2156
  _headers,
@@ -2067,6 +2160,7 @@ class RolesApi:
2067
2160
  _host = None
2068
2161
 
2069
2162
  _collection_formats: Dict[str, str] = {
2163
+ 'X-Task-Diagnostics': 'csv',
2070
2164
  }
2071
2165
 
2072
2166
  _path_params: Dict[str, str] = {}
@@ -2083,6 +2177,8 @@ class RolesApi:
2083
2177
  _path_params['role_href'] = role_href
2084
2178
  # process the query parameters
2085
2179
  # process the header parameters
2180
+ if x_task_diagnostics is not None:
2181
+ _header_params['X-Task-Diagnostics'] = x_task_diagnostics
2086
2182
  # process the form parameters
2087
2183
  # process the body parameter
2088
2184
  if role is not None: