pulp_python_client 3.11.7 → 3.11.8

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 (34) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +5 -4
  3. data/docs/ContentPackagesApi.md +6 -0
  4. data/docs/DistributionsPypiApi.md +40 -12
  5. data/docs/PublicationsPypiApi.md +16 -4
  6. data/docs/PypiApi.md +2 -0
  7. data/docs/PypiLegacyApi.md +2 -0
  8. data/docs/PypiMetadataApi.md +2 -0
  9. data/docs/PypiSimpleApi.md +6 -0
  10. data/docs/RemotesPythonApi.md +42 -12
  11. data/docs/RepositoriesPythonApi.md +52 -16
  12. data/docs/RepositoriesPythonVersionsApi.md +16 -4
  13. data/lib/pulp_python_client/api/content_packages_api.rb +9 -0
  14. data/lib/pulp_python_client/api/distributions_pypi_api.rb +24 -0
  15. data/lib/pulp_python_client/api/publications_pypi_api.rb +12 -0
  16. data/lib/pulp_python_client/api/pypi_api.rb +3 -0
  17. data/lib/pulp_python_client/api/pypi_legacy_api.rb +3 -0
  18. data/lib/pulp_python_client/api/pypi_metadata_api.rb +3 -0
  19. data/lib/pulp_python_client/api/pypi_simple_api.rb +9 -0
  20. data/lib/pulp_python_client/api/remotes_python_api.rb +27 -0
  21. data/lib/pulp_python_client/api/repositories_python_api.rb +30 -0
  22. data/lib/pulp_python_client/api/repositories_python_versions_api.rb +12 -0
  23. data/lib/pulp_python_client/version.rb +1 -1
  24. data/spec/api/content_packages_api_spec.rb +3 -0
  25. data/spec/api/distributions_pypi_api_spec.rb +8 -0
  26. data/spec/api/publications_pypi_api_spec.rb +4 -0
  27. data/spec/api/pypi_api_spec.rb +1 -0
  28. data/spec/api/pypi_legacy_api_spec.rb +1 -0
  29. data/spec/api/pypi_metadata_api_spec.rb +1 -0
  30. data/spec/api/pypi_simple_api_spec.rb +3 -0
  31. data/spec/api/remotes_python_api_spec.rb +9 -0
  32. data/spec/api/repositories_python_api_spec.rb +10 -0
  33. data/spec/api/repositories_python_versions_api_spec.rb +4 -0
  34. metadata +37 -37
@@ -23,6 +23,7 @@ module PulpPythonClient
23
23
  # PythonRepository represents a single Python repository, to which content can be synced, added, or removed.
24
24
  # @param python_python_repository [PythonPythonRepository]
25
25
  # @param [Hash] opts the optional parameters
26
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
26
27
  # @return [PythonPythonRepositoryResponse]
27
28
  def create(python_python_repository, opts = {})
28
29
  data, _status_code, _headers = create_with_http_info(python_python_repository, opts)
@@ -33,6 +34,7 @@ module PulpPythonClient
33
34
  # PythonRepository represents a single Python repository, to which content can be synced, added, or removed.
34
35
  # @param python_python_repository [PythonPythonRepository]
35
36
  # @param [Hash] opts the optional parameters
37
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
36
38
  # @return [Array<(PythonPythonRepositoryResponse, Integer, Hash)>] PythonPythonRepositoryResponse data, response status code and response headers
37
39
  def create_with_http_info(python_python_repository, opts = {})
38
40
  if @api_client.config.debugging
@@ -54,6 +56,7 @@ module PulpPythonClient
54
56
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
55
57
  # HTTP header 'Content-Type'
56
58
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
59
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
57
60
 
58
61
  # form parameters
59
62
  form_params = opts[:form_params] || {}
@@ -87,6 +90,7 @@ module PulpPythonClient
87
90
  # Trigger an asynchronous delete task
88
91
  # @param python_python_repository_href [String]
89
92
  # @param [Hash] opts the optional parameters
93
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
90
94
  # @return [AsyncOperationResponse]
91
95
  def delete(python_python_repository_href, opts = {})
92
96
  data, _status_code, _headers = delete_with_http_info(python_python_repository_href, opts)
@@ -97,6 +101,7 @@ module PulpPythonClient
97
101
  # Trigger an asynchronous delete task
98
102
  # @param python_python_repository_href [String]
99
103
  # @param [Hash] opts the optional parameters
104
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
100
105
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
101
106
  def delete_with_http_info(python_python_repository_href, opts = {})
102
107
  if @api_client.config.debugging
@@ -116,6 +121,7 @@ module PulpPythonClient
116
121
  header_params = opts[:header_params] || {}
117
122
  # HTTP header 'Accept' (if needed)
118
123
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
124
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
119
125
 
120
126
  # form parameters
121
127
  form_params = opts[:form_params] || {}
@@ -148,6 +154,7 @@ module PulpPythonClient
148
154
  # List python repositorys
149
155
  # PythonRepository represents a single Python repository, to which content can be synced, added, or removed.
150
156
  # @param [Hash] opts the optional parameters
157
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
151
158
  # @option opts [String] :latest_with_content Content Unit referenced by HREF
152
159
  # @option opts [Integer] :limit Number of results to return per page.
153
160
  # @option opts [String] :name Filter results where name matches value
@@ -186,6 +193,7 @@ module PulpPythonClient
186
193
  # List python repositorys
187
194
  # PythonRepository represents a single Python repository, to which content can be synced, added, or removed.
188
195
  # @param [Hash] opts the optional parameters
196
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
189
197
  # @option opts [String] :latest_with_content Content Unit referenced by HREF
190
198
  # @option opts [Integer] :limit Number of results to return per page.
191
199
  # @option opts [String] :name Filter results where name matches value
@@ -263,6 +271,7 @@ module PulpPythonClient
263
271
  header_params = opts[:header_params] || {}
264
272
  # HTTP header 'Accept' (if needed)
265
273
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
274
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
266
275
 
267
276
  # form parameters
268
277
  form_params = opts[:form_params] || {}
@@ -297,6 +306,7 @@ module PulpPythonClient
297
306
  # @param python_python_repository_href [String]
298
307
  # @param repository_add_remove_content [RepositoryAddRemoveContent]
299
308
  # @param [Hash] opts the optional parameters
309
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
300
310
  # @return [AsyncOperationResponse]
301
311
  def modify(python_python_repository_href, repository_add_remove_content, opts = {})
302
312
  data, _status_code, _headers = modify_with_http_info(python_python_repository_href, repository_add_remove_content, opts)
@@ -308,6 +318,7 @@ module PulpPythonClient
308
318
  # @param python_python_repository_href [String]
309
319
  # @param repository_add_remove_content [RepositoryAddRemoveContent]
310
320
  # @param [Hash] opts the optional parameters
321
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
311
322
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
312
323
  def modify_with_http_info(python_python_repository_href, repository_add_remove_content, opts = {})
313
324
  if @api_client.config.debugging
@@ -333,6 +344,7 @@ module PulpPythonClient
333
344
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
334
345
  # HTTP header 'Content-Type'
335
346
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
347
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
336
348
 
337
349
  # form parameters
338
350
  form_params = opts[:form_params] || {}
@@ -367,6 +379,7 @@ module PulpPythonClient
367
379
  # @param python_python_repository_href [String]
368
380
  # @param patchedpython_python_repository [PatchedpythonPythonRepository]
369
381
  # @param [Hash] opts the optional parameters
382
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
370
383
  # @return [AsyncOperationResponse]
371
384
  def partial_update(python_python_repository_href, patchedpython_python_repository, opts = {})
372
385
  data, _status_code, _headers = partial_update_with_http_info(python_python_repository_href, patchedpython_python_repository, opts)
@@ -378,6 +391,7 @@ module PulpPythonClient
378
391
  # @param python_python_repository_href [String]
379
392
  # @param patchedpython_python_repository [PatchedpythonPythonRepository]
380
393
  # @param [Hash] opts the optional parameters
394
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
381
395
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
382
396
  def partial_update_with_http_info(python_python_repository_href, patchedpython_python_repository, opts = {})
383
397
  if @api_client.config.debugging
@@ -403,6 +417,7 @@ module PulpPythonClient
403
417
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
404
418
  # HTTP header 'Content-Type'
405
419
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
420
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
406
421
 
407
422
  # form parameters
408
423
  form_params = opts[:form_params] || {}
@@ -436,6 +451,7 @@ module PulpPythonClient
436
451
  # PythonRepository represents a single Python repository, to which content can be synced, added, or removed.
437
452
  # @param python_python_repository_href [String]
438
453
  # @param [Hash] opts the optional parameters
454
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
439
455
  # @option opts [Array<String>] :fields A list of fields to include in the response.
440
456
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
441
457
  # @return [PythonPythonRepositoryResponse]
@@ -448,6 +464,7 @@ module PulpPythonClient
448
464
  # PythonRepository represents a single Python repository, to which content can be synced, added, or removed.
449
465
  # @param python_python_repository_href [String]
450
466
  # @param [Hash] opts the optional parameters
467
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
451
468
  # @option opts [Array<String>] :fields A list of fields to include in the response.
452
469
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
453
470
  # @return [Array<(PythonPythonRepositoryResponse, Integer, Hash)>] PythonPythonRepositoryResponse data, response status code and response headers
@@ -471,6 +488,7 @@ module PulpPythonClient
471
488
  header_params = opts[:header_params] || {}
472
489
  # HTTP header 'Accept' (if needed)
473
490
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
491
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
474
492
 
475
493
  # form parameters
476
494
  form_params = opts[:form_params] || {}
@@ -505,6 +523,7 @@ module PulpPythonClient
505
523
  # @param python_python_repository_href [String]
506
524
  # @param set_label [SetLabel]
507
525
  # @param [Hash] opts the optional parameters
526
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
508
527
  # @return [SetLabelResponse]
509
528
  def set_label(python_python_repository_href, set_label, opts = {})
510
529
  data, _status_code, _headers = set_label_with_http_info(python_python_repository_href, set_label, opts)
@@ -516,6 +535,7 @@ module PulpPythonClient
516
535
  # @param python_python_repository_href [String]
517
536
  # @param set_label [SetLabel]
518
537
  # @param [Hash] opts the optional parameters
538
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
519
539
  # @return [Array<(SetLabelResponse, Integer, Hash)>] SetLabelResponse data, response status code and response headers
520
540
  def set_label_with_http_info(python_python_repository_href, set_label, opts = {})
521
541
  if @api_client.config.debugging
@@ -541,6 +561,7 @@ module PulpPythonClient
541
561
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
542
562
  # HTTP header 'Content-Type'
543
563
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
564
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
544
565
 
545
566
  # form parameters
546
567
  form_params = opts[:form_params] || {}
@@ -575,6 +596,7 @@ module PulpPythonClient
575
596
  # @param python_python_repository_href [String]
576
597
  # @param repository_sync_url [RepositorySyncURL]
577
598
  # @param [Hash] opts the optional parameters
599
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
578
600
  # @return [AsyncOperationResponse]
579
601
  def sync(python_python_repository_href, repository_sync_url, opts = {})
580
602
  data, _status_code, _headers = sync_with_http_info(python_python_repository_href, repository_sync_url, opts)
@@ -586,6 +608,7 @@ module PulpPythonClient
586
608
  # @param python_python_repository_href [String]
587
609
  # @param repository_sync_url [RepositorySyncURL]
588
610
  # @param [Hash] opts the optional parameters
611
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
589
612
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
590
613
  def sync_with_http_info(python_python_repository_href, repository_sync_url, opts = {})
591
614
  if @api_client.config.debugging
@@ -611,6 +634,7 @@ module PulpPythonClient
611
634
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
612
635
  # HTTP header 'Content-Type'
613
636
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
637
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
614
638
 
615
639
  # form parameters
616
640
  form_params = opts[:form_params] || {}
@@ -645,6 +669,7 @@ module PulpPythonClient
645
669
  # @param python_python_repository_href [String]
646
670
  # @param unset_label [UnsetLabel]
647
671
  # @param [Hash] opts the optional parameters
672
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
648
673
  # @return [UnsetLabelResponse]
649
674
  def unset_label(python_python_repository_href, unset_label, opts = {})
650
675
  data, _status_code, _headers = unset_label_with_http_info(python_python_repository_href, unset_label, opts)
@@ -656,6 +681,7 @@ module PulpPythonClient
656
681
  # @param python_python_repository_href [String]
657
682
  # @param unset_label [UnsetLabel]
658
683
  # @param [Hash] opts the optional parameters
684
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
659
685
  # @return [Array<(UnsetLabelResponse, Integer, Hash)>] UnsetLabelResponse data, response status code and response headers
660
686
  def unset_label_with_http_info(python_python_repository_href, unset_label, opts = {})
661
687
  if @api_client.config.debugging
@@ -681,6 +707,7 @@ module PulpPythonClient
681
707
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
682
708
  # HTTP header 'Content-Type'
683
709
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
710
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
684
711
 
685
712
  # form parameters
686
713
  form_params = opts[:form_params] || {}
@@ -715,6 +742,7 @@ module PulpPythonClient
715
742
  # @param python_python_repository_href [String]
716
743
  # @param python_python_repository [PythonPythonRepository]
717
744
  # @param [Hash] opts the optional parameters
745
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
718
746
  # @return [AsyncOperationResponse]
719
747
  def update(python_python_repository_href, python_python_repository, opts = {})
720
748
  data, _status_code, _headers = update_with_http_info(python_python_repository_href, python_python_repository, opts)
@@ -726,6 +754,7 @@ module PulpPythonClient
726
754
  # @param python_python_repository_href [String]
727
755
  # @param python_python_repository [PythonPythonRepository]
728
756
  # @param [Hash] opts the optional parameters
757
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
729
758
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
730
759
  def update_with_http_info(python_python_repository_href, python_python_repository, opts = {})
731
760
  if @api_client.config.debugging
@@ -751,6 +780,7 @@ module PulpPythonClient
751
780
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
752
781
  # HTTP header 'Content-Type'
753
782
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
783
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
754
784
 
755
785
  # form parameters
756
786
  form_params = opts[:form_params] || {}
@@ -23,6 +23,7 @@ module PulpPythonClient
23
23
  # Trigger an asynchronous task to delete a repository version.
24
24
  # @param python_python_repository_version_href [String]
25
25
  # @param [Hash] opts the optional parameters
26
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
26
27
  # @return [AsyncOperationResponse]
27
28
  def delete(python_python_repository_version_href, opts = {})
28
29
  data, _status_code, _headers = delete_with_http_info(python_python_repository_version_href, opts)
@@ -33,6 +34,7 @@ module PulpPythonClient
33
34
  # Trigger an asynchronous task to delete a repository version.
34
35
  # @param python_python_repository_version_href [String]
35
36
  # @param [Hash] opts the optional parameters
37
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
36
38
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
37
39
  def delete_with_http_info(python_python_repository_version_href, opts = {})
38
40
  if @api_client.config.debugging
@@ -52,6 +54,7 @@ module PulpPythonClient
52
54
  header_params = opts[:header_params] || {}
53
55
  # HTTP header 'Accept' (if needed)
54
56
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
57
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
55
58
 
56
59
  # form parameters
57
60
  form_params = opts[:form_params] || {}
@@ -85,6 +88,7 @@ module PulpPythonClient
85
88
  # PythonRepositoryVersion represents a single Python repository version.
86
89
  # @param python_python_repository_href [String]
87
90
  # @param [Hash] opts the optional parameters
91
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
88
92
  # @option opts [String] :content Content Unit referenced by HREF
89
93
  # @option opts [String] :content__in Content Unit referenced by HREF
90
94
  # @option opts [Integer] :limit Number of results to return per page.
@@ -116,6 +120,7 @@ module PulpPythonClient
116
120
  # PythonRepositoryVersion represents a single Python repository version.
117
121
  # @param python_python_repository_href [String]
118
122
  # @param [Hash] opts the optional parameters
123
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
119
124
  # @option opts [String] :content Content Unit referenced by HREF
120
125
  # @option opts [String] :content__in Content Unit referenced by HREF
121
126
  # @option opts [Integer] :limit Number of results to return per page.
@@ -181,6 +186,7 @@ module PulpPythonClient
181
186
  header_params = opts[:header_params] || {}
182
187
  # HTTP header 'Accept' (if needed)
183
188
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
189
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
184
190
 
185
191
  # form parameters
186
192
  form_params = opts[:form_params] || {}
@@ -214,6 +220,7 @@ module PulpPythonClient
214
220
  # PythonRepositoryVersion represents a single Python repository version.
215
221
  # @param python_python_repository_version_href [String]
216
222
  # @param [Hash] opts the optional parameters
223
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
217
224
  # @option opts [Array<String>] :fields A list of fields to include in the response.
218
225
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
219
226
  # @return [RepositoryVersionResponse]
@@ -226,6 +233,7 @@ module PulpPythonClient
226
233
  # PythonRepositoryVersion represents a single Python repository version.
227
234
  # @param python_python_repository_version_href [String]
228
235
  # @param [Hash] opts the optional parameters
236
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
229
237
  # @option opts [Array<String>] :fields A list of fields to include in the response.
230
238
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
231
239
  # @return [Array<(RepositoryVersionResponse, Integer, Hash)>] RepositoryVersionResponse data, response status code and response headers
@@ -249,6 +257,7 @@ module PulpPythonClient
249
257
  header_params = opts[:header_params] || {}
250
258
  # HTTP header 'Accept' (if needed)
251
259
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
260
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
252
261
 
253
262
  # form parameters
254
263
  form_params = opts[:form_params] || {}
@@ -282,6 +291,7 @@ module PulpPythonClient
282
291
  # @param python_python_repository_version_href [String]
283
292
  # @param repair [Repair]
284
293
  # @param [Hash] opts the optional parameters
294
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
285
295
  # @return [AsyncOperationResponse]
286
296
  def repair(python_python_repository_version_href, repair, opts = {})
287
297
  data, _status_code, _headers = repair_with_http_info(python_python_repository_version_href, repair, opts)
@@ -292,6 +302,7 @@ module PulpPythonClient
292
302
  # @param python_python_repository_version_href [String]
293
303
  # @param repair [Repair]
294
304
  # @param [Hash] opts the optional parameters
305
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
295
306
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
296
307
  def repair_with_http_info(python_python_repository_version_href, repair, opts = {})
297
308
  if @api_client.config.debugging
@@ -317,6 +328,7 @@ module PulpPythonClient
317
328
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
318
329
  # HTTP header 'Content-Type'
319
330
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
331
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
320
332
 
321
333
  # form parameters
322
334
  form_params = opts[:form_params] || {}
@@ -11,5 +11,5 @@ OpenAPI Generator version: 4.3.1
11
11
  =end
12
12
 
13
13
  module PulpPythonClient
14
- VERSION = '3.11.7'
14
+ VERSION = '3.11.8'
15
15
  end
@@ -37,6 +37,7 @@ describe 'ContentPackagesApi' do
37
37
  # Trigger an asynchronous task to create content,optionally create new repository version.
38
38
  # @param relative_path Path where the artifact is located relative to distributions base_path
39
39
  # @param [Hash] opts the optional parameters
40
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
40
41
  # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
41
42
  # @option opts [String] :artifact Artifact file representing the physical content
42
43
  # @option opts [File] :file An uploaded file that may be turned into the content unit.
@@ -74,6 +75,7 @@ describe 'ContentPackagesApi' do
74
75
  # List python package contents
75
76
  # PythonPackageContent represents each individually installable Python package. In the Python ecosystem, this is called a Python Distribution, sometimes (ambiguously) refered to as a package. In Pulp Python, we refer to it as PythonPackageContent. Each PythonPackageContent corresponds to a single filename, for example &#x60;pulpcore-3.0.0rc1-py3-none-any.whl&#x60; or &#x60;pulpcore-3.0.0rc1.tar.gz&#x60;.
76
77
  # @param [Hash] opts the optional parameters
78
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
77
79
  # @option opts [String] :author Filter results where author matches value
78
80
  # @option opts [Array<String>] :author__in Filter results where author is in a comma-separated list of values
79
81
  # @option opts [String] :filename Filter results where filename matches value
@@ -119,6 +121,7 @@ describe 'ContentPackagesApi' do
119
121
  # PythonPackageContent represents each individually installable Python package. In the Python ecosystem, this is called a Python Distribution, sometimes (ambiguously) refered to as a package. In Pulp Python, we refer to it as PythonPackageContent. Each PythonPackageContent corresponds to a single filename, for example &#x60;pulpcore-3.0.0rc1-py3-none-any.whl&#x60; or &#x60;pulpcore-3.0.0rc1.tar.gz&#x60;.
120
122
  # @param python_python_package_content_href
121
123
  # @param [Hash] opts the optional parameters
124
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
122
125
  # @option opts [Array<String>] :fields A list of fields to include in the response.
123
126
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
124
127
  # @return [PythonPythonPackageContentResponse]
@@ -37,6 +37,7 @@ describe 'DistributionsPypiApi' do
37
37
  # Trigger an asynchronous create task
38
38
  # @param python_python_distribution
39
39
  # @param [Hash] opts the optional parameters
40
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
40
41
  # @return [AsyncOperationResponse]
41
42
  describe 'create test' do
42
43
  it 'should work' do
@@ -49,6 +50,7 @@ describe 'DistributionsPypiApi' do
49
50
  # Trigger an asynchronous delete task
50
51
  # @param python_python_distribution_href
51
52
  # @param [Hash] opts the optional parameters
53
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
52
54
  # @return [AsyncOperationResponse]
53
55
  describe 'delete test' do
54
56
  it 'should work' do
@@ -60,6 +62,7 @@ describe 'DistributionsPypiApi' do
60
62
  # List python distributions
61
63
  # Pulp Python Distributions are used to distribute Python content from Python Repositories or Python Publications. Pulp Python Distributions should not be confused with \&quot;Python Distribution\&quot; as defined by the Python community. In Pulp usage, Python content is referred to as Python Package Content.
62
64
  # @param [Hash] opts the optional parameters
65
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
63
66
  # @option opts [String] :base_path Filter results where base_path matches value
64
67
  # @option opts [String] :base_path__contains Filter results where base_path contains value
65
68
  # @option opts [String] :base_path__icontains Filter results where base_path contains value
@@ -98,6 +101,7 @@ describe 'DistributionsPypiApi' do
98
101
  # @param python_python_distribution_href
99
102
  # @param patchedpython_python_distribution
100
103
  # @param [Hash] opts the optional parameters
104
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
101
105
  # @return [AsyncOperationResponse]
102
106
  describe 'partial_update test' do
103
107
  it 'should work' do
@@ -110,6 +114,7 @@ describe 'DistributionsPypiApi' do
110
114
  # Pulp Python Distributions are used to distribute Python content from Python Repositories or Python Publications. Pulp Python Distributions should not be confused with \&quot;Python Distribution\&quot; as defined by the Python community. In Pulp usage, Python content is referred to as Python Package Content.
111
115
  # @param python_python_distribution_href
112
116
  # @param [Hash] opts the optional parameters
117
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
113
118
  # @option opts [Array<String>] :fields A list of fields to include in the response.
114
119
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
115
120
  # @return [PythonPythonDistributionResponse]
@@ -125,6 +130,7 @@ describe 'DistributionsPypiApi' do
125
130
  # @param python_python_distribution_href
126
131
  # @param set_label
127
132
  # @param [Hash] opts the optional parameters
133
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
128
134
  # @return [SetLabelResponse]
129
135
  describe 'set_label test' do
130
136
  it 'should work' do
@@ -138,6 +144,7 @@ describe 'DistributionsPypiApi' do
138
144
  # @param python_python_distribution_href
139
145
  # @param unset_label
140
146
  # @param [Hash] opts the optional parameters
147
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
141
148
  # @return [UnsetLabelResponse]
142
149
  describe 'unset_label test' do
143
150
  it 'should work' do
@@ -151,6 +158,7 @@ describe 'DistributionsPypiApi' do
151
158
  # @param python_python_distribution_href
152
159
  # @param python_python_distribution
153
160
  # @param [Hash] opts the optional parameters
161
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
154
162
  # @return [AsyncOperationResponse]
155
163
  describe 'update test' do
156
164
  it 'should work' do
@@ -37,6 +37,7 @@ describe 'PublicationsPypiApi' do
37
37
  # Dispatches a publish task, which generates metadata that will be used by pip.
38
38
  # @param python_python_publication
39
39
  # @param [Hash] opts the optional parameters
40
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
40
41
  # @return [AsyncOperationResponse]
41
42
  describe 'create test' do
42
43
  it 'should work' do
@@ -49,6 +50,7 @@ describe 'PublicationsPypiApi' do
49
50
  # Python Publications refer to the Python Package content in a repository version, and include metadata about that content.
50
51
  # @param python_python_publication_href
51
52
  # @param [Hash] opts the optional parameters
53
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
52
54
  # @return [nil]
53
55
  describe 'delete test' do
54
56
  it 'should work' do
@@ -60,6 +62,7 @@ describe 'PublicationsPypiApi' do
60
62
  # List python publications
61
63
  # Python Publications refer to the Python Package content in a repository version, and include metadata about that content.
62
64
  # @param [Hash] opts the optional parameters
65
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
63
66
  # @option opts [String] :content Content Unit referenced by HREF
64
67
  # @option opts [String] :content__in Content Unit referenced by HREF
65
68
  # @option opts [Integer] :limit Number of results to return per page.
@@ -90,6 +93,7 @@ describe 'PublicationsPypiApi' do
90
93
  # Python Publications refer to the Python Package content in a repository version, and include metadata about that content.
91
94
  # @param python_python_publication_href
92
95
  # @param [Hash] opts the optional parameters
96
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
93
97
  # @option opts [Array<String>] :fields A list of fields to include in the response.
94
98
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
95
99
  # @return [PythonPythonPublicationResponse]
@@ -37,6 +37,7 @@ describe 'PypiApi' do
37
37
  # Gets package summary stats of index.
38
38
  # @param path
39
39
  # @param [Hash] opts the optional parameters
40
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
40
41
  # @option opts [Array<String>] :fields A list of fields to include in the response.
41
42
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
42
43
  # @return [SummaryResponse]
@@ -39,6 +39,7 @@ describe 'PypiLegacyApi' do
39
39
  # @param content A Python package release file to upload to the index.
40
40
  # @param sha256_digest SHA256 of package to validate upload integrity.
41
41
  # @param [Hash] opts the optional parameters
42
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
42
43
  # @option opts [String] :action Defaults to &#x60;file_upload&#x60;, don&#39;t change it or request will fail!
43
44
  # @return [PackageUploadTaskResponse]
44
45
  describe 'create test' do
@@ -38,6 +38,7 @@ describe 'PypiMetadataApi' do
38
38
  # @param meta
39
39
  # @param path
40
40
  # @param [Hash] opts the optional parameters
41
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
41
42
  # @option opts [Array<String>] :fields A list of fields to include in the response.
42
43
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
43
44
  # @return [PackageMetadataResponse]
@@ -39,6 +39,7 @@ describe 'PypiSimpleApi' do
39
39
  # @param content A Python package release file to upload to the index.
40
40
  # @param sha256_digest SHA256 of package to validate upload integrity.
41
41
  # @param [Hash] opts the optional parameters
42
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
42
43
  # @option opts [String] :action Defaults to &#x60;file_upload&#x60;, don&#39;t change it or request will fail!
43
44
  # @return [PackageUploadTaskResponse]
44
45
  describe 'create test' do
@@ -53,6 +54,7 @@ describe 'PypiSimpleApi' do
53
54
  # @param package
54
55
  # @param path
55
56
  # @param [Hash] opts the optional parameters
57
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
56
58
  # @option opts [Array<String>] :fields A list of fields to include in the response.
57
59
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
58
60
  # @return [nil]
@@ -67,6 +69,7 @@ describe 'PypiSimpleApi' do
67
69
  # Gets the simple api html page for the index.
68
70
  # @param path
69
71
  # @param [Hash] opts the optional parameters
72
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
70
73
  # @option opts [Array<String>] :fields A list of fields to include in the response.
71
74
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
72
75
  # @return [nil]
@@ -37,6 +37,7 @@ describe 'RemotesPythonApi' do
37
37
  # Python Remotes are representations of an external repository of Python content, eg. PyPI. Fields include upstream repository config. Python Remotes are also used to &#x60;sync&#x60; from upstream repositories, and contains sync settings.
38
38
  # @param python_python_remote
39
39
  # @param [Hash] opts the optional parameters
40
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
40
41
  # @return [PythonPythonRemoteResponse]
41
42
  describe 'create test' do
42
43
  it 'should work' do
@@ -49,6 +50,7 @@ describe 'RemotesPythonApi' do
49
50
  # Trigger an asynchronous delete task
50
51
  # @param python_python_remote_href
51
52
  # @param [Hash] opts the optional parameters
53
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
52
54
  # @return [AsyncOperationResponse]
53
55
  describe 'delete test' do
54
56
  it 'should work' do
@@ -62,6 +64,7 @@ describe 'RemotesPythonApi' do
62
64
  # @param config A Bandersnatch config that may be used to construct a Python Remote.
63
65
  # @param name A unique name for this remote
64
66
  # @param [Hash] opts the optional parameters
67
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
65
68
  # @option opts [PolicyEnum] :policy The policy to use when downloading content. The possible values include: &#39;immediate&#39;, &#39;on_demand&#39;, and &#39;streamed&#39;. &#39;on_demand&#39; is the default. * &#x60;immediate&#x60; - When syncing, download all metadata and content now. * &#x60;on_demand&#x60; - When syncing, download metadata, but do not download content now. Instead, download content as clients request it, and save it in Pulp to be served for future client requests. * &#x60;streamed&#x60; - When syncing, download metadata, but do not download content now. Instead,download content as clients request it, but never save it in Pulp. This causes future requests for that same content to have to be downloaded again.
66
69
  # @return [PythonPythonRemoteResponse]
67
70
  describe 'from_bandersnatch test' do
@@ -74,6 +77,7 @@ describe 'RemotesPythonApi' do
74
77
  # List python remotes
75
78
  # Python Remotes are representations of an external repository of Python content, eg. PyPI. Fields include upstream repository config. Python Remotes are also used to &#x60;sync&#x60; from upstream repositories, and contains sync settings.
76
79
  # @param [Hash] opts the optional parameters
80
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
77
81
  # @option opts [Integer] :limit Number of results to return per page.
78
82
  # @option opts [String] :name Filter results where name matches value
79
83
  # @option opts [String] :name__contains Filter results where name contains value
@@ -111,6 +115,7 @@ describe 'RemotesPythonApi' do
111
115
  # @param python_python_remote_href
112
116
  # @param patchedpython_python_remote
113
117
  # @param [Hash] opts the optional parameters
118
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
114
119
  # @return [AsyncOperationResponse]
115
120
  describe 'partial_update test' do
116
121
  it 'should work' do
@@ -123,6 +128,7 @@ describe 'RemotesPythonApi' do
123
128
  # Python Remotes are representations of an external repository of Python content, eg. PyPI. Fields include upstream repository config. Python Remotes are also used to &#x60;sync&#x60; from upstream repositories, and contains sync settings.
124
129
  # @param python_python_remote_href
125
130
  # @param [Hash] opts the optional parameters
131
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
126
132
  # @option opts [Array<String>] :fields A list of fields to include in the response.
127
133
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
128
134
  # @return [PythonPythonRemoteResponse]
@@ -138,6 +144,7 @@ describe 'RemotesPythonApi' do
138
144
  # @param python_python_remote_href
139
145
  # @param set_label
140
146
  # @param [Hash] opts the optional parameters
147
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
141
148
  # @return [SetLabelResponse]
142
149
  describe 'set_label test' do
143
150
  it 'should work' do
@@ -151,6 +158,7 @@ describe 'RemotesPythonApi' do
151
158
  # @param python_python_remote_href
152
159
  # @param unset_label
153
160
  # @param [Hash] opts the optional parameters
161
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
154
162
  # @return [UnsetLabelResponse]
155
163
  describe 'unset_label test' do
156
164
  it 'should work' do
@@ -164,6 +172,7 @@ describe 'RemotesPythonApi' do
164
172
  # @param python_python_remote_href
165
173
  # @param python_python_remote
166
174
  # @param [Hash] opts the optional parameters
175
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
167
176
  # @return [AsyncOperationResponse]
168
177
  describe 'update test' do
169
178
  it 'should work' do