pulpcore-client 3.81.0__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.
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 +16 -16
  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.81.0.dist-info → pulpcore_client-3.82.0.dist-info}/METADATA +1 -1
  62. {pulpcore_client-3.81.0.dist-info → pulpcore_client-3.82.0.dist-info}/RECORD +64 -64
  63. {pulpcore_client-3.81.0.dist-info → pulpcore_client-3.82.0.dist-info}/WHEEL +0 -0
  64. {pulpcore_client-3.81.0.dist-info → pulpcore_client-3.82.0.dist-info}/top_level.txt +0 -0
@@ -44,6 +44,7 @@ class SigningServicesApi:
44
44
  @validate_call
45
45
  def list(
46
46
  self,
47
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
47
48
  limit: Annotated[Optional[StrictInt], Field(description="Number of results to return per page.")] = None,
48
49
  name: Annotated[Optional[StrictStr], Field(description="Filter results where name matches value")] = None,
49
50
  offset: Annotated[Optional[StrictInt], Field(description="The initial index from which to return the results.")] = None,
@@ -71,6 +72,8 @@ class SigningServicesApi:
71
72
 
72
73
  A ViewSet that supports browsing of existing signing services.
73
74
 
75
+ :param x_task_diagnostics: List of profilers to use on tasks.
76
+ :type x_task_diagnostics: List[str]
74
77
  :param limit: Number of results to return per page.
75
78
  :type limit: int
76
79
  :param name: Filter results where name matches value
@@ -114,6 +117,7 @@ class SigningServicesApi:
114
117
  """ # noqa: E501
115
118
 
116
119
  _param = self._list_serialize(
120
+ x_task_diagnostics=x_task_diagnostics,
117
121
  limit=limit,
118
122
  name=name,
119
123
  offset=offset,
@@ -147,6 +151,7 @@ class SigningServicesApi:
147
151
  @validate_call
148
152
  def list_with_http_info(
149
153
  self,
154
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
150
155
  limit: Annotated[Optional[StrictInt], Field(description="Number of results to return per page.")] = None,
151
156
  name: Annotated[Optional[StrictStr], Field(description="Filter results where name matches value")] = None,
152
157
  offset: Annotated[Optional[StrictInt], Field(description="The initial index from which to return the results.")] = None,
@@ -174,6 +179,8 @@ class SigningServicesApi:
174
179
 
175
180
  A ViewSet that supports browsing of existing signing services.
176
181
 
182
+ :param x_task_diagnostics: List of profilers to use on tasks.
183
+ :type x_task_diagnostics: List[str]
177
184
  :param limit: Number of results to return per page.
178
185
  :type limit: int
179
186
  :param name: Filter results where name matches value
@@ -217,6 +224,7 @@ class SigningServicesApi:
217
224
  """ # noqa: E501
218
225
 
219
226
  _param = self._list_serialize(
227
+ x_task_diagnostics=x_task_diagnostics,
220
228
  limit=limit,
221
229
  name=name,
222
230
  offset=offset,
@@ -250,6 +258,7 @@ class SigningServicesApi:
250
258
  @validate_call
251
259
  def list_without_preload_content(
252
260
  self,
261
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
253
262
  limit: Annotated[Optional[StrictInt], Field(description="Number of results to return per page.")] = None,
254
263
  name: Annotated[Optional[StrictStr], Field(description="Filter results where name matches value")] = None,
255
264
  offset: Annotated[Optional[StrictInt], Field(description="The initial index from which to return the results.")] = None,
@@ -277,6 +286,8 @@ class SigningServicesApi:
277
286
 
278
287
  A ViewSet that supports browsing of existing signing services.
279
288
 
289
+ :param x_task_diagnostics: List of profilers to use on tasks.
290
+ :type x_task_diagnostics: List[str]
280
291
  :param limit: Number of results to return per page.
281
292
  :type limit: int
282
293
  :param name: Filter results where name matches value
@@ -320,6 +331,7 @@ class SigningServicesApi:
320
331
  """ # noqa: E501
321
332
 
322
333
  _param = self._list_serialize(
334
+ x_task_diagnostics=x_task_diagnostics,
323
335
  limit=limit,
324
336
  name=name,
325
337
  offset=offset,
@@ -348,6 +360,7 @@ class SigningServicesApi:
348
360
 
349
361
  def _list_serialize(
350
362
  self,
363
+ x_task_diagnostics,
351
364
  limit,
352
365
  name,
353
366
  offset,
@@ -367,6 +380,7 @@ class SigningServicesApi:
367
380
  _host = None
368
381
 
369
382
  _collection_formats: Dict[str, str] = {
383
+ 'X-Task-Diagnostics': 'csv',
370
384
  'ordering': 'csv',
371
385
  'prn__in': 'csv',
372
386
  'pulp_href__in': 'csv',
@@ -427,6 +441,8 @@ class SigningServicesApi:
427
441
  _query_params.append(('exclude_fields', exclude_fields))
428
442
 
429
443
  # process the header parameters
444
+ if x_task_diagnostics is not None:
445
+ _header_params['X-Task-Diagnostics'] = x_task_diagnostics
430
446
  # process the form parameters
431
447
  # process the body parameter
432
448
 
@@ -468,6 +484,7 @@ class SigningServicesApi:
468
484
  def read(
469
485
  self,
470
486
  signing_service_href: StrictStr,
487
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
471
488
  fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
472
489
  exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
473
490
  _request_timeout: Union[
@@ -489,6 +506,8 @@ class SigningServicesApi:
489
506
 
490
507
  :param signing_service_href: (required)
491
508
  :type signing_service_href: str
509
+ :param x_task_diagnostics: List of profilers to use on tasks.
510
+ :type x_task_diagnostics: List[str]
492
511
  :param fields: A list of fields to include in the response.
493
512
  :type fields: List[str]
494
513
  :param exclude_fields: A list of fields to exclude from the response.
@@ -517,6 +536,7 @@ class SigningServicesApi:
517
536
 
518
537
  _param = self._read_serialize(
519
538
  signing_service_href=signing_service_href,
539
+ x_task_diagnostics=x_task_diagnostics,
520
540
  fields=fields,
521
541
  exclude_fields=exclude_fields,
522
542
  _request_auth=_request_auth,
@@ -543,6 +563,7 @@ class SigningServicesApi:
543
563
  def read_with_http_info(
544
564
  self,
545
565
  signing_service_href: StrictStr,
566
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
546
567
  fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
547
568
  exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
548
569
  _request_timeout: Union[
@@ -564,6 +585,8 @@ class SigningServicesApi:
564
585
 
565
586
  :param signing_service_href: (required)
566
587
  :type signing_service_href: str
588
+ :param x_task_diagnostics: List of profilers to use on tasks.
589
+ :type x_task_diagnostics: List[str]
567
590
  :param fields: A list of fields to include in the response.
568
591
  :type fields: List[str]
569
592
  :param exclude_fields: A list of fields to exclude from the response.
@@ -592,6 +615,7 @@ class SigningServicesApi:
592
615
 
593
616
  _param = self._read_serialize(
594
617
  signing_service_href=signing_service_href,
618
+ x_task_diagnostics=x_task_diagnostics,
595
619
  fields=fields,
596
620
  exclude_fields=exclude_fields,
597
621
  _request_auth=_request_auth,
@@ -618,6 +642,7 @@ class SigningServicesApi:
618
642
  def read_without_preload_content(
619
643
  self,
620
644
  signing_service_href: StrictStr,
645
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
621
646
  fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
622
647
  exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
623
648
  _request_timeout: Union[
@@ -639,6 +664,8 @@ class SigningServicesApi:
639
664
 
640
665
  :param signing_service_href: (required)
641
666
  :type signing_service_href: str
667
+ :param x_task_diagnostics: List of profilers to use on tasks.
668
+ :type x_task_diagnostics: List[str]
642
669
  :param fields: A list of fields to include in the response.
643
670
  :type fields: List[str]
644
671
  :param exclude_fields: A list of fields to exclude from the response.
@@ -667,6 +694,7 @@ class SigningServicesApi:
667
694
 
668
695
  _param = self._read_serialize(
669
696
  signing_service_href=signing_service_href,
697
+ x_task_diagnostics=x_task_diagnostics,
670
698
  fields=fields,
671
699
  exclude_fields=exclude_fields,
672
700
  _request_auth=_request_auth,
@@ -688,6 +716,7 @@ class SigningServicesApi:
688
716
  def _read_serialize(
689
717
  self,
690
718
  signing_service_href,
719
+ x_task_diagnostics,
691
720
  fields,
692
721
  exclude_fields,
693
722
  _request_auth,
@@ -699,6 +728,7 @@ class SigningServicesApi:
699
728
  _host = None
700
729
 
701
730
  _collection_formats: Dict[str, str] = {
731
+ 'X-Task-Diagnostics': 'csv',
702
732
  'fields': 'multi',
703
733
  'exclude_fields': 'multi',
704
734
  }
@@ -725,6 +755,8 @@ class SigningServicesApi:
725
755
  _query_params.append(('exclude_fields', exclude_fields))
726
756
 
727
757
  # process the header parameters
758
+ if x_task_diagnostics is not None:
759
+ _header_params['X-Task-Diagnostics'] = x_task_diagnostics
728
760
  # process the form parameters
729
761
  # process the body parameter
730
762
 
@@ -17,6 +17,9 @@ from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
17
17
  from typing import Any, Dict, List, Optional, Tuple, Union
18
18
  from typing_extensions import Annotated
19
19
 
20
+ from pydantic import Field, StrictStr
21
+ from typing import List, Optional
22
+ from typing_extensions import Annotated
20
23
  from pulpcore.client.pulpcore.models.status_response import StatusResponse
21
24
 
22
25
  from pulpcore.client.pulpcore.api_client import ApiClient, RequestSerialized
@@ -40,6 +43,9 @@ class StatusApi:
40
43
  @validate_call
41
44
  def status_read(
42
45
  self,
46
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
47
+ fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
48
+ exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
43
49
  _request_timeout: Union[
44
50
  None,
45
51
  Annotated[StrictFloat, Field(gt=0)],
@@ -57,6 +63,12 @@ class StatusApi:
57
63
 
58
64
  Returns status and app information about Pulp. Information includes: * version of pulpcore and loaded pulp plugins * known workers * known content apps * database connection status * redis connection status * disk usage information
59
65
 
66
+ :param x_task_diagnostics: List of profilers to use on tasks.
67
+ :type x_task_diagnostics: List[str]
68
+ :param fields: A list of fields to include in the response.
69
+ :type fields: List[str]
70
+ :param exclude_fields: A list of fields to exclude from the response.
71
+ :type exclude_fields: List[str]
60
72
  :param _request_timeout: timeout setting for this request. If one
61
73
  number provided, it will be total request
62
74
  timeout. It can also be a pair (tuple) of
@@ -80,6 +92,9 @@ class StatusApi:
80
92
  """ # noqa: E501
81
93
 
82
94
  _param = self._status_read_serialize(
95
+ x_task_diagnostics=x_task_diagnostics,
96
+ fields=fields,
97
+ exclude_fields=exclude_fields,
83
98
  _request_auth=_request_auth,
84
99
  _content_type=_content_type,
85
100
  _headers=_headers,
@@ -103,6 +118,9 @@ class StatusApi:
103
118
  @validate_call
104
119
  def status_read_with_http_info(
105
120
  self,
121
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
122
+ fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
123
+ exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
106
124
  _request_timeout: Union[
107
125
  None,
108
126
  Annotated[StrictFloat, Field(gt=0)],
@@ -120,6 +138,12 @@ class StatusApi:
120
138
 
121
139
  Returns status and app information about Pulp. Information includes: * version of pulpcore and loaded pulp plugins * known workers * known content apps * database connection status * redis connection status * disk usage information
122
140
 
141
+ :param x_task_diagnostics: List of profilers to use on tasks.
142
+ :type x_task_diagnostics: List[str]
143
+ :param fields: A list of fields to include in the response.
144
+ :type fields: List[str]
145
+ :param exclude_fields: A list of fields to exclude from the response.
146
+ :type exclude_fields: List[str]
123
147
  :param _request_timeout: timeout setting for this request. If one
124
148
  number provided, it will be total request
125
149
  timeout. It can also be a pair (tuple) of
@@ -143,6 +167,9 @@ class StatusApi:
143
167
  """ # noqa: E501
144
168
 
145
169
  _param = self._status_read_serialize(
170
+ x_task_diagnostics=x_task_diagnostics,
171
+ fields=fields,
172
+ exclude_fields=exclude_fields,
146
173
  _request_auth=_request_auth,
147
174
  _content_type=_content_type,
148
175
  _headers=_headers,
@@ -166,6 +193,9 @@ class StatusApi:
166
193
  @validate_call
167
194
  def status_read_without_preload_content(
168
195
  self,
196
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
197
+ fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
198
+ exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
169
199
  _request_timeout: Union[
170
200
  None,
171
201
  Annotated[StrictFloat, Field(gt=0)],
@@ -183,6 +213,12 @@ class StatusApi:
183
213
 
184
214
  Returns status and app information about Pulp. Information includes: * version of pulpcore and loaded pulp plugins * known workers * known content apps * database connection status * redis connection status * disk usage information
185
215
 
216
+ :param x_task_diagnostics: List of profilers to use on tasks.
217
+ :type x_task_diagnostics: List[str]
218
+ :param fields: A list of fields to include in the response.
219
+ :type fields: List[str]
220
+ :param exclude_fields: A list of fields to exclude from the response.
221
+ :type exclude_fields: List[str]
186
222
  :param _request_timeout: timeout setting for this request. If one
187
223
  number provided, it will be total request
188
224
  timeout. It can also be a pair (tuple) of
@@ -206,6 +242,9 @@ class StatusApi:
206
242
  """ # noqa: E501
207
243
 
208
244
  _param = self._status_read_serialize(
245
+ x_task_diagnostics=x_task_diagnostics,
246
+ fields=fields,
247
+ exclude_fields=exclude_fields,
209
248
  _request_auth=_request_auth,
210
249
  _content_type=_content_type,
211
250
  _headers=_headers,
@@ -224,6 +263,9 @@ class StatusApi:
224
263
 
225
264
  def _status_read_serialize(
226
265
  self,
266
+ x_task_diagnostics,
267
+ fields,
268
+ exclude_fields,
227
269
  _request_auth,
228
270
  _content_type,
229
271
  _headers,
@@ -233,6 +275,9 @@ class StatusApi:
233
275
  _host = None
234
276
 
235
277
  _collection_formats: Dict[str, str] = {
278
+ 'X-Task-Diagnostics': 'csv',
279
+ 'fields': 'multi',
280
+ 'exclude_fields': 'multi',
236
281
  }
237
282
 
238
283
  _path_params: Dict[str, str] = {}
@@ -246,7 +291,17 @@ class StatusApi:
246
291
 
247
292
  # process the path parameters
248
293
  # process the query parameters
294
+ if fields is not None:
295
+
296
+ _query_params.append(('fields', fields))
297
+
298
+ if exclude_fields is not None:
299
+
300
+ _query_params.append(('exclude_fields', exclude_fields))
301
+
249
302
  # process the header parameters
303
+ if x_task_diagnostics is not None:
304
+ _header_params['X-Task-Diagnostics'] = x_task_diagnostics
250
305
  # process the form parameters
251
306
  # process the body parameter
252
307
 
@@ -45,6 +45,7 @@ class TaskGroupsApi:
45
45
  @validate_call
46
46
  def list(
47
47
  self,
48
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
48
49
  limit: Annotated[Optional[StrictInt], Field(description="Number of results to return per page.")] = None,
49
50
  offset: Annotated[Optional[StrictInt], Field(description="The initial index from which to return the results.")] = None,
50
51
  fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
@@ -65,6 +66,8 @@ class TaskGroupsApi:
65
66
  """List task groups
66
67
 
67
68
 
69
+ :param x_task_diagnostics: List of profilers to use on tasks.
70
+ :type x_task_diagnostics: List[str]
68
71
  :param limit: Number of results to return per page.
69
72
  :type limit: int
70
73
  :param offset: The initial index from which to return the results.
@@ -96,6 +99,7 @@ class TaskGroupsApi:
96
99
  """ # noqa: E501
97
100
 
98
101
  _param = self._list_serialize(
102
+ x_task_diagnostics=x_task_diagnostics,
99
103
  limit=limit,
100
104
  offset=offset,
101
105
  fields=fields,
@@ -123,6 +127,7 @@ class TaskGroupsApi:
123
127
  @validate_call
124
128
  def list_with_http_info(
125
129
  self,
130
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
126
131
  limit: Annotated[Optional[StrictInt], Field(description="Number of results to return per page.")] = None,
127
132
  offset: Annotated[Optional[StrictInt], Field(description="The initial index from which to return the results.")] = None,
128
133
  fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
@@ -143,6 +148,8 @@ class TaskGroupsApi:
143
148
  """List task groups
144
149
 
145
150
 
151
+ :param x_task_diagnostics: List of profilers to use on tasks.
152
+ :type x_task_diagnostics: List[str]
146
153
  :param limit: Number of results to return per page.
147
154
  :type limit: int
148
155
  :param offset: The initial index from which to return the results.
@@ -174,6 +181,7 @@ class TaskGroupsApi:
174
181
  """ # noqa: E501
175
182
 
176
183
  _param = self._list_serialize(
184
+ x_task_diagnostics=x_task_diagnostics,
177
185
  limit=limit,
178
186
  offset=offset,
179
187
  fields=fields,
@@ -201,6 +209,7 @@ class TaskGroupsApi:
201
209
  @validate_call
202
210
  def list_without_preload_content(
203
211
  self,
212
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
204
213
  limit: Annotated[Optional[StrictInt], Field(description="Number of results to return per page.")] = None,
205
214
  offset: Annotated[Optional[StrictInt], Field(description="The initial index from which to return the results.")] = None,
206
215
  fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
@@ -221,6 +230,8 @@ class TaskGroupsApi:
221
230
  """List task groups
222
231
 
223
232
 
233
+ :param x_task_diagnostics: List of profilers to use on tasks.
234
+ :type x_task_diagnostics: List[str]
224
235
  :param limit: Number of results to return per page.
225
236
  :type limit: int
226
237
  :param offset: The initial index from which to return the results.
@@ -252,6 +263,7 @@ class TaskGroupsApi:
252
263
  """ # noqa: E501
253
264
 
254
265
  _param = self._list_serialize(
266
+ x_task_diagnostics=x_task_diagnostics,
255
267
  limit=limit,
256
268
  offset=offset,
257
269
  fields=fields,
@@ -274,6 +286,7 @@ class TaskGroupsApi:
274
286
 
275
287
  def _list_serialize(
276
288
  self,
289
+ x_task_diagnostics,
277
290
  limit,
278
291
  offset,
279
292
  fields,
@@ -287,6 +300,7 @@ class TaskGroupsApi:
287
300
  _host = None
288
301
 
289
302
  _collection_formats: Dict[str, str] = {
303
+ 'X-Task-Diagnostics': 'csv',
290
304
  'fields': 'multi',
291
305
  'exclude_fields': 'multi',
292
306
  }
@@ -319,6 +333,8 @@ class TaskGroupsApi:
319
333
  _query_params.append(('exclude_fields', exclude_fields))
320
334
 
321
335
  # process the header parameters
336
+ if x_task_diagnostics is not None:
337
+ _header_params['X-Task-Diagnostics'] = x_task_diagnostics
322
338
  # process the form parameters
323
339
  # process the body parameter
324
340
 
@@ -360,6 +376,7 @@ class TaskGroupsApi:
360
376
  def read(
361
377
  self,
362
378
  task_group_href: StrictStr,
379
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
363
380
  fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
364
381
  exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
365
382
  _request_timeout: Union[
@@ -380,6 +397,8 @@ class TaskGroupsApi:
380
397
 
381
398
  :param task_group_href: (required)
382
399
  :type task_group_href: str
400
+ :param x_task_diagnostics: List of profilers to use on tasks.
401
+ :type x_task_diagnostics: List[str]
383
402
  :param fields: A list of fields to include in the response.
384
403
  :type fields: List[str]
385
404
  :param exclude_fields: A list of fields to exclude from the response.
@@ -408,6 +427,7 @@ class TaskGroupsApi:
408
427
 
409
428
  _param = self._read_serialize(
410
429
  task_group_href=task_group_href,
430
+ x_task_diagnostics=x_task_diagnostics,
411
431
  fields=fields,
412
432
  exclude_fields=exclude_fields,
413
433
  _request_auth=_request_auth,
@@ -434,6 +454,7 @@ class TaskGroupsApi:
434
454
  def read_with_http_info(
435
455
  self,
436
456
  task_group_href: StrictStr,
457
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
437
458
  fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
438
459
  exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
439
460
  _request_timeout: Union[
@@ -454,6 +475,8 @@ class TaskGroupsApi:
454
475
 
455
476
  :param task_group_href: (required)
456
477
  :type task_group_href: str
478
+ :param x_task_diagnostics: List of profilers to use on tasks.
479
+ :type x_task_diagnostics: List[str]
457
480
  :param fields: A list of fields to include in the response.
458
481
  :type fields: List[str]
459
482
  :param exclude_fields: A list of fields to exclude from the response.
@@ -482,6 +505,7 @@ class TaskGroupsApi:
482
505
 
483
506
  _param = self._read_serialize(
484
507
  task_group_href=task_group_href,
508
+ x_task_diagnostics=x_task_diagnostics,
485
509
  fields=fields,
486
510
  exclude_fields=exclude_fields,
487
511
  _request_auth=_request_auth,
@@ -508,6 +532,7 @@ class TaskGroupsApi:
508
532
  def read_without_preload_content(
509
533
  self,
510
534
  task_group_href: StrictStr,
535
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
511
536
  fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
512
537
  exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
513
538
  _request_timeout: Union[
@@ -528,6 +553,8 @@ class TaskGroupsApi:
528
553
 
529
554
  :param task_group_href: (required)
530
555
  :type task_group_href: str
556
+ :param x_task_diagnostics: List of profilers to use on tasks.
557
+ :type x_task_diagnostics: List[str]
531
558
  :param fields: A list of fields to include in the response.
532
559
  :type fields: List[str]
533
560
  :param exclude_fields: A list of fields to exclude from the response.
@@ -556,6 +583,7 @@ class TaskGroupsApi:
556
583
 
557
584
  _param = self._read_serialize(
558
585
  task_group_href=task_group_href,
586
+ x_task_diagnostics=x_task_diagnostics,
559
587
  fields=fields,
560
588
  exclude_fields=exclude_fields,
561
589
  _request_auth=_request_auth,
@@ -577,6 +605,7 @@ class TaskGroupsApi:
577
605
  def _read_serialize(
578
606
  self,
579
607
  task_group_href,
608
+ x_task_diagnostics,
580
609
  fields,
581
610
  exclude_fields,
582
611
  _request_auth,
@@ -588,6 +617,7 @@ class TaskGroupsApi:
588
617
  _host = None
589
618
 
590
619
  _collection_formats: Dict[str, str] = {
620
+ 'X-Task-Diagnostics': 'csv',
591
621
  'fields': 'multi',
592
622
  'exclude_fields': 'multi',
593
623
  }
@@ -614,6 +644,8 @@ class TaskGroupsApi:
614
644
  _query_params.append(('exclude_fields', exclude_fields))
615
645
 
616
646
  # process the header parameters
647
+ if x_task_diagnostics is not None:
648
+ _header_params['X-Task-Diagnostics'] = x_task_diagnostics
617
649
  # process the form parameters
618
650
  # process the body parameter
619
651
 
@@ -656,6 +688,7 @@ class TaskGroupsApi:
656
688
  self,
657
689
  task_group_href: StrictStr,
658
690
  patched_task_cancel: PatchedTaskCancel,
691
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
659
692
  _request_timeout: Union[
660
693
  None,
661
694
  Annotated[StrictFloat, Field(gt=0)],
@@ -677,6 +710,8 @@ class TaskGroupsApi:
677
710
  :type task_group_href: str
678
711
  :param patched_task_cancel: (required)
679
712
  :type patched_task_cancel: PatchedTaskCancel
713
+ :param x_task_diagnostics: List of profilers to use on tasks.
714
+ :type x_task_diagnostics: List[str]
680
715
  :param _request_timeout: timeout setting for this request. If one
681
716
  number provided, it will be total request
682
717
  timeout. It can also be a pair (tuple) of
@@ -702,6 +737,7 @@ class TaskGroupsApi:
702
737
  _param = self._task_groups_cancel_serialize(
703
738
  task_group_href=task_group_href,
704
739
  patched_task_cancel=patched_task_cancel,
740
+ x_task_diagnostics=x_task_diagnostics,
705
741
  _request_auth=_request_auth,
706
742
  _content_type=_content_type,
707
743
  _headers=_headers,
@@ -728,6 +764,7 @@ class TaskGroupsApi:
728
764
  self,
729
765
  task_group_href: StrictStr,
730
766
  patched_task_cancel: PatchedTaskCancel,
767
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
731
768
  _request_timeout: Union[
732
769
  None,
733
770
  Annotated[StrictFloat, Field(gt=0)],
@@ -749,6 +786,8 @@ class TaskGroupsApi:
749
786
  :type task_group_href: str
750
787
  :param patched_task_cancel: (required)
751
788
  :type patched_task_cancel: PatchedTaskCancel
789
+ :param x_task_diagnostics: List of profilers to use on tasks.
790
+ :type x_task_diagnostics: List[str]
752
791
  :param _request_timeout: timeout setting for this request. If one
753
792
  number provided, it will be total request
754
793
  timeout. It can also be a pair (tuple) of
@@ -774,6 +813,7 @@ class TaskGroupsApi:
774
813
  _param = self._task_groups_cancel_serialize(
775
814
  task_group_href=task_group_href,
776
815
  patched_task_cancel=patched_task_cancel,
816
+ x_task_diagnostics=x_task_diagnostics,
777
817
  _request_auth=_request_auth,
778
818
  _content_type=_content_type,
779
819
  _headers=_headers,
@@ -800,6 +840,7 @@ class TaskGroupsApi:
800
840
  self,
801
841
  task_group_href: StrictStr,
802
842
  patched_task_cancel: PatchedTaskCancel,
843
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
803
844
  _request_timeout: Union[
804
845
  None,
805
846
  Annotated[StrictFloat, Field(gt=0)],
@@ -821,6 +862,8 @@ class TaskGroupsApi:
821
862
  :type task_group_href: str
822
863
  :param patched_task_cancel: (required)
823
864
  :type patched_task_cancel: PatchedTaskCancel
865
+ :param x_task_diagnostics: List of profilers to use on tasks.
866
+ :type x_task_diagnostics: List[str]
824
867
  :param _request_timeout: timeout setting for this request. If one
825
868
  number provided, it will be total request
826
869
  timeout. It can also be a pair (tuple) of
@@ -846,6 +889,7 @@ class TaskGroupsApi:
846
889
  _param = self._task_groups_cancel_serialize(
847
890
  task_group_href=task_group_href,
848
891
  patched_task_cancel=patched_task_cancel,
892
+ x_task_diagnostics=x_task_diagnostics,
849
893
  _request_auth=_request_auth,
850
894
  _content_type=_content_type,
851
895
  _headers=_headers,
@@ -867,6 +911,7 @@ class TaskGroupsApi:
867
911
  self,
868
912
  task_group_href,
869
913
  patched_task_cancel,
914
+ x_task_diagnostics,
870
915
  _request_auth,
871
916
  _content_type,
872
917
  _headers,
@@ -876,6 +921,7 @@ class TaskGroupsApi:
876
921
  _host = None
877
922
 
878
923
  _collection_formats: Dict[str, str] = {
924
+ 'X-Task-Diagnostics': 'csv',
879
925
  }
880
926
 
881
927
  _path_params: Dict[str, str] = {}
@@ -892,6 +938,8 @@ class TaskGroupsApi:
892
938
  _path_params['task_group_href'] = task_group_href
893
939
  # process the query parameters
894
940
  # process the header parameters
941
+ if x_task_diagnostics is not None:
942
+ _header_params['X-Task-Diagnostics'] = x_task_diagnostics
895
943
  # process the form parameters
896
944
  # process the body parameter
897
945
  if patched_task_cancel is not None: