pulp_python_client 3.15.1 → 3.17.0

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 (37) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +22 -17
  3. data/docs/ContentPackagesApi.md +58 -36
  4. data/docs/DistributionsPypiApi.md +72 -32
  5. data/docs/PublicationsPypiApi.md +40 -16
  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/PythonPythonPackageContentResponse.md +46 -36
  11. data/docs/RemotesPythonApi.md +74 -32
  12. data/docs/RepositoriesPythonApi.md +96 -44
  13. data/docs/RepositoriesPythonVersionsApi.md +22 -10
  14. data/lib/pulp_python_client/api/content_packages_api.rb +69 -42
  15. data/lib/pulp_python_client/api/distributions_pypi_api.rb +36 -0
  16. data/lib/pulp_python_client/api/publications_pypi_api.rb +24 -0
  17. data/lib/pulp_python_client/api/pypi_api.rb +3 -0
  18. data/lib/pulp_python_client/api/pypi_legacy_api.rb +3 -0
  19. data/lib/pulp_python_client/api/pypi_metadata_api.rb +3 -0
  20. data/lib/pulp_python_client/api/pypi_simple_api.rb +9 -0
  21. data/lib/pulp_python_client/api/remotes_python_api.rb +39 -0
  22. data/lib/pulp_python_client/api/repositories_python_api.rb +45 -0
  23. data/lib/pulp_python_client/api/repositories_python_versions_api.rb +15 -3
  24. data/lib/pulp_python_client/models/python_python_package_content_response.rb +199 -146
  25. data/lib/pulp_python_client/version.rb +1 -1
  26. data/spec/api/content_packages_api_spec.rb +23 -14
  27. data/spec/api/distributions_pypi_api_spec.rb +12 -0
  28. data/spec/api/publications_pypi_api_spec.rb +8 -0
  29. data/spec/api/pypi_api_spec.rb +1 -0
  30. data/spec/api/pypi_legacy_api_spec.rb +1 -0
  31. data/spec/api/pypi_metadata_api_spec.rb +1 -0
  32. data/spec/api/pypi_simple_api_spec.rb +3 -0
  33. data/spec/api/remotes_python_api_spec.rb +13 -0
  34. data/spec/api/repositories_python_api_spec.rb +15 -0
  35. data/spec/api/repositories_python_versions_api_spec.rb +5 -1
  36. data/spec/models/python_python_package_content_response_spec.rb +54 -24
  37. metadata +39 -39
@@ -24,6 +24,7 @@ module PulpPythonClient
24
24
  # @param python_python_distribution_href [String]
25
25
  # @param nested_role [NestedRole]
26
26
  # @param [Hash] opts the optional parameters
27
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
27
28
  # @return [NestedRoleResponse]
28
29
  def add_role(python_python_distribution_href, nested_role, opts = {})
29
30
  data, _status_code, _headers = add_role_with_http_info(python_python_distribution_href, nested_role, opts)
@@ -35,6 +36,7 @@ module PulpPythonClient
35
36
  # @param python_python_distribution_href [String]
36
37
  # @param nested_role [NestedRole]
37
38
  # @param [Hash] opts the optional parameters
39
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
38
40
  # @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
39
41
  def add_role_with_http_info(python_python_distribution_href, nested_role, opts = {})
40
42
  if @api_client.config.debugging
@@ -63,6 +65,7 @@ module PulpPythonClient
63
65
  if !content_type.nil?
64
66
  header_params['Content-Type'] = content_type
65
67
  end
68
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
66
69
 
67
70
  # form parameters
68
71
  form_params = opts[:form_params] || {}
@@ -97,6 +100,7 @@ module PulpPythonClient
97
100
  # Trigger an asynchronous create task
98
101
  # @param python_python_distribution [PythonPythonDistribution]
99
102
  # @param [Hash] opts the optional parameters
103
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
100
104
  # @return [AsyncOperationResponse]
101
105
  def create(python_python_distribution, opts = {})
102
106
  data, _status_code, _headers = create_with_http_info(python_python_distribution, opts)
@@ -107,6 +111,7 @@ module PulpPythonClient
107
111
  # Trigger an asynchronous create task
108
112
  # @param python_python_distribution [PythonPythonDistribution]
109
113
  # @param [Hash] opts the optional parameters
114
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
110
115
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
111
116
  def create_with_http_info(python_python_distribution, opts = {})
112
117
  if @api_client.config.debugging
@@ -131,6 +136,7 @@ module PulpPythonClient
131
136
  if !content_type.nil?
132
137
  header_params['Content-Type'] = content_type
133
138
  end
139
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
134
140
 
135
141
  # form parameters
136
142
  form_params = opts[:form_params] || {}
@@ -165,6 +171,7 @@ module PulpPythonClient
165
171
  # Trigger an asynchronous delete task
166
172
  # @param python_python_distribution_href [String]
167
173
  # @param [Hash] opts the optional parameters
174
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
168
175
  # @return [AsyncOperationResponse]
169
176
  def delete(python_python_distribution_href, opts = {})
170
177
  data, _status_code, _headers = delete_with_http_info(python_python_distribution_href, opts)
@@ -175,6 +182,7 @@ module PulpPythonClient
175
182
  # Trigger an asynchronous delete task
176
183
  # @param python_python_distribution_href [String]
177
184
  # @param [Hash] opts the optional parameters
185
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
178
186
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
179
187
  def delete_with_http_info(python_python_distribution_href, opts = {})
180
188
  if @api_client.config.debugging
@@ -194,6 +202,7 @@ module PulpPythonClient
194
202
  header_params = opts[:header_params] || {}
195
203
  # HTTP header 'Accept' (if needed)
196
204
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
205
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
197
206
 
198
207
  # form parameters
199
208
  form_params = opts[:form_params] || {}
@@ -227,6 +236,7 @@ module PulpPythonClient
227
236
  # List python distributions
228
237
  # Pulp Python Distributions are used to distribute Python content from Python Repositories or Python Publications. Pulp Python Distributions should not be confused with \"Python Distribution\" as defined by the Python community. In Pulp usage, Python content is referred to as Python Package Content.
229
238
  # @param [Hash] opts the optional parameters
239
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
230
240
  # @option opts [String] :base_path Filter results where base_path matches value
231
241
  # @option opts [String] :base_path__contains Filter results where base_path contains value
232
242
  # @option opts [String] :base_path__icontains Filter results where base_path contains value
@@ -263,6 +273,7 @@ module PulpPythonClient
263
273
  # List python distributions
264
274
  # 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.
265
275
  # @param [Hash] opts the optional parameters
276
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
266
277
  # @option opts [String] :base_path Filter results where base_path matches value
267
278
  # @option opts [String] :base_path__contains Filter results where base_path contains value
268
279
  # @option opts [String] :base_path__icontains Filter results where base_path contains value
@@ -336,6 +347,7 @@ module PulpPythonClient
336
347
  header_params = opts[:header_params] || {}
337
348
  # HTTP header 'Accept' (if needed)
338
349
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
350
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
339
351
 
340
352
  # form parameters
341
353
  form_params = opts[:form_params] || {}
@@ -370,6 +382,7 @@ module PulpPythonClient
370
382
  # List roles assigned to this object.
371
383
  # @param python_python_distribution_href [String]
372
384
  # @param [Hash] opts the optional parameters
385
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
373
386
  # @option opts [Array<String>] :fields A list of fields to include in the response.
374
387
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
375
388
  # @return [ObjectRolesResponse]
@@ -382,6 +395,7 @@ module PulpPythonClient
382
395
  # List roles assigned to this object.
383
396
  # @param python_python_distribution_href [String]
384
397
  # @param [Hash] opts the optional parameters
398
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
385
399
  # @option opts [Array<String>] :fields A list of fields to include in the response.
386
400
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
387
401
  # @return [Array<(ObjectRolesResponse, Integer, Hash)>] ObjectRolesResponse data, response status code and response headers
@@ -405,6 +419,7 @@ module PulpPythonClient
405
419
  header_params = opts[:header_params] || {}
406
420
  # HTTP header 'Accept' (if needed)
407
421
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
422
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
408
423
 
409
424
  # form parameters
410
425
  form_params = opts[:form_params] || {}
@@ -439,6 +454,7 @@ module PulpPythonClient
439
454
  # List permissions available to the current user on this object.
440
455
  # @param python_python_distribution_href [String]
441
456
  # @param [Hash] opts the optional parameters
457
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
442
458
  # @option opts [Array<String>] :fields A list of fields to include in the response.
443
459
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
444
460
  # @return [MyPermissionsResponse]
@@ -451,6 +467,7 @@ module PulpPythonClient
451
467
  # List permissions available to the current user on this object.
452
468
  # @param python_python_distribution_href [String]
453
469
  # @param [Hash] opts the optional parameters
470
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
454
471
  # @option opts [Array<String>] :fields A list of fields to include in the response.
455
472
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
456
473
  # @return [Array<(MyPermissionsResponse, Integer, Hash)>] MyPermissionsResponse data, response status code and response headers
@@ -474,6 +491,7 @@ module PulpPythonClient
474
491
  header_params = opts[:header_params] || {}
475
492
  # HTTP header 'Accept' (if needed)
476
493
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
494
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
477
495
 
478
496
  # form parameters
479
497
  form_params = opts[:form_params] || {}
@@ -509,6 +527,7 @@ module PulpPythonClient
509
527
  # @param python_python_distribution_href [String]
510
528
  # @param patchedpython_python_distribution [PatchedpythonPythonDistribution]
511
529
  # @param [Hash] opts the optional parameters
530
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
512
531
  # @return [AsyncOperationResponse]
513
532
  def partial_update(python_python_distribution_href, patchedpython_python_distribution, opts = {})
514
533
  data, _status_code, _headers = partial_update_with_http_info(python_python_distribution_href, patchedpython_python_distribution, opts)
@@ -520,6 +539,7 @@ module PulpPythonClient
520
539
  # @param python_python_distribution_href [String]
521
540
  # @param patchedpython_python_distribution [PatchedpythonPythonDistribution]
522
541
  # @param [Hash] opts the optional parameters
542
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
523
543
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
524
544
  def partial_update_with_http_info(python_python_distribution_href, patchedpython_python_distribution, opts = {})
525
545
  if @api_client.config.debugging
@@ -548,6 +568,7 @@ module PulpPythonClient
548
568
  if !content_type.nil?
549
569
  header_params['Content-Type'] = content_type
550
570
  end
571
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
551
572
 
552
573
  # form parameters
553
574
  form_params = opts[:form_params] || {}
@@ -582,6 +603,7 @@ module PulpPythonClient
582
603
  # Pulp Python Distributions are used to distribute Python content from Python Repositories or Python Publications. Pulp Python Distributions should not be confused with \"Python Distribution\" as defined by the Python community. In Pulp usage, Python content is referred to as Python Package Content.
583
604
  # @param python_python_distribution_href [String]
584
605
  # @param [Hash] opts the optional parameters
606
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
585
607
  # @option opts [Array<String>] :fields A list of fields to include in the response.
586
608
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
587
609
  # @return [PythonPythonDistributionResponse]
@@ -594,6 +616,7 @@ module PulpPythonClient
594
616
  # 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.
595
617
  # @param python_python_distribution_href [String]
596
618
  # @param [Hash] opts the optional parameters
619
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
597
620
  # @option opts [Array<String>] :fields A list of fields to include in the response.
598
621
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
599
622
  # @return [Array<(PythonPythonDistributionResponse, Integer, Hash)>] PythonPythonDistributionResponse data, response status code and response headers
@@ -617,6 +640,7 @@ module PulpPythonClient
617
640
  header_params = opts[:header_params] || {}
618
641
  # HTTP header 'Accept' (if needed)
619
642
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
643
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
620
644
 
621
645
  # form parameters
622
646
  form_params = opts[:form_params] || {}
@@ -652,6 +676,7 @@ module PulpPythonClient
652
676
  # @param python_python_distribution_href [String]
653
677
  # @param nested_role [NestedRole]
654
678
  # @param [Hash] opts the optional parameters
679
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
655
680
  # @return [NestedRoleResponse]
656
681
  def remove_role(python_python_distribution_href, nested_role, opts = {})
657
682
  data, _status_code, _headers = remove_role_with_http_info(python_python_distribution_href, nested_role, opts)
@@ -663,6 +688,7 @@ module PulpPythonClient
663
688
  # @param python_python_distribution_href [String]
664
689
  # @param nested_role [NestedRole]
665
690
  # @param [Hash] opts the optional parameters
691
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
666
692
  # @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
667
693
  def remove_role_with_http_info(python_python_distribution_href, nested_role, opts = {})
668
694
  if @api_client.config.debugging
@@ -691,6 +717,7 @@ module PulpPythonClient
691
717
  if !content_type.nil?
692
718
  header_params['Content-Type'] = content_type
693
719
  end
720
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
694
721
 
695
722
  # form parameters
696
723
  form_params = opts[:form_params] || {}
@@ -726,6 +753,7 @@ module PulpPythonClient
726
753
  # @param python_python_distribution_href [String]
727
754
  # @param set_label [SetLabel]
728
755
  # @param [Hash] opts the optional parameters
756
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
729
757
  # @return [SetLabelResponse]
730
758
  def set_label(python_python_distribution_href, set_label, opts = {})
731
759
  data, _status_code, _headers = set_label_with_http_info(python_python_distribution_href, set_label, opts)
@@ -737,6 +765,7 @@ module PulpPythonClient
737
765
  # @param python_python_distribution_href [String]
738
766
  # @param set_label [SetLabel]
739
767
  # @param [Hash] opts the optional parameters
768
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
740
769
  # @return [Array<(SetLabelResponse, Integer, Hash)>] SetLabelResponse data, response status code and response headers
741
770
  def set_label_with_http_info(python_python_distribution_href, set_label, opts = {})
742
771
  if @api_client.config.debugging
@@ -765,6 +794,7 @@ module PulpPythonClient
765
794
  if !content_type.nil?
766
795
  header_params['Content-Type'] = content_type
767
796
  end
797
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
768
798
 
769
799
  # form parameters
770
800
  form_params = opts[:form_params] || {}
@@ -800,6 +830,7 @@ module PulpPythonClient
800
830
  # @param python_python_distribution_href [String]
801
831
  # @param unset_label [UnsetLabel]
802
832
  # @param [Hash] opts the optional parameters
833
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
803
834
  # @return [UnsetLabelResponse]
804
835
  def unset_label(python_python_distribution_href, unset_label, opts = {})
805
836
  data, _status_code, _headers = unset_label_with_http_info(python_python_distribution_href, unset_label, opts)
@@ -811,6 +842,7 @@ module PulpPythonClient
811
842
  # @param python_python_distribution_href [String]
812
843
  # @param unset_label [UnsetLabel]
813
844
  # @param [Hash] opts the optional parameters
845
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
814
846
  # @return [Array<(UnsetLabelResponse, Integer, Hash)>] UnsetLabelResponse data, response status code and response headers
815
847
  def unset_label_with_http_info(python_python_distribution_href, unset_label, opts = {})
816
848
  if @api_client.config.debugging
@@ -839,6 +871,7 @@ module PulpPythonClient
839
871
  if !content_type.nil?
840
872
  header_params['Content-Type'] = content_type
841
873
  end
874
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
842
875
 
843
876
  # form parameters
844
877
  form_params = opts[:form_params] || {}
@@ -874,6 +907,7 @@ module PulpPythonClient
874
907
  # @param python_python_distribution_href [String]
875
908
  # @param python_python_distribution [PythonPythonDistribution]
876
909
  # @param [Hash] opts the optional parameters
910
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
877
911
  # @return [AsyncOperationResponse]
878
912
  def update(python_python_distribution_href, python_python_distribution, opts = {})
879
913
  data, _status_code, _headers = update_with_http_info(python_python_distribution_href, python_python_distribution, opts)
@@ -885,6 +919,7 @@ module PulpPythonClient
885
919
  # @param python_python_distribution_href [String]
886
920
  # @param python_python_distribution [PythonPythonDistribution]
887
921
  # @param [Hash] opts the optional parameters
922
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
888
923
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
889
924
  def update_with_http_info(python_python_distribution_href, python_python_distribution, opts = {})
890
925
  if @api_client.config.debugging
@@ -913,6 +948,7 @@ module PulpPythonClient
913
948
  if !content_type.nil?
914
949
  header_params['Content-Type'] = content_type
915
950
  end
951
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
916
952
 
917
953
  # form parameters
918
954
  form_params = opts[:form_params] || {}
@@ -24,6 +24,7 @@ module PulpPythonClient
24
24
  # @param python_python_publication_href [String]
25
25
  # @param nested_role [NestedRole]
26
26
  # @param [Hash] opts the optional parameters
27
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
27
28
  # @return [NestedRoleResponse]
28
29
  def add_role(python_python_publication_href, nested_role, opts = {})
29
30
  data, _status_code, _headers = add_role_with_http_info(python_python_publication_href, nested_role, opts)
@@ -35,6 +36,7 @@ module PulpPythonClient
35
36
  # @param python_python_publication_href [String]
36
37
  # @param nested_role [NestedRole]
37
38
  # @param [Hash] opts the optional parameters
39
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
38
40
  # @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
39
41
  def add_role_with_http_info(python_python_publication_href, nested_role, opts = {})
40
42
  if @api_client.config.debugging
@@ -63,6 +65,7 @@ module PulpPythonClient
63
65
  if !content_type.nil?
64
66
  header_params['Content-Type'] = content_type
65
67
  end
68
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
66
69
 
67
70
  # form parameters
68
71
  form_params = opts[:form_params] || {}
@@ -97,6 +100,7 @@ module PulpPythonClient
97
100
  # Dispatches a publish task, which generates metadata that will be used by pip.
98
101
  # @param python_python_publication [PythonPythonPublication]
99
102
  # @param [Hash] opts the optional parameters
103
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
100
104
  # @return [AsyncOperationResponse]
101
105
  def create(python_python_publication, opts = {})
102
106
  data, _status_code, _headers = create_with_http_info(python_python_publication, opts)
@@ -107,6 +111,7 @@ module PulpPythonClient
107
111
  # Dispatches a publish task, which generates metadata that will be used by pip.
108
112
  # @param python_python_publication [PythonPythonPublication]
109
113
  # @param [Hash] opts the optional parameters
114
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
110
115
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
111
116
  def create_with_http_info(python_python_publication, opts = {})
112
117
  if @api_client.config.debugging
@@ -131,6 +136,7 @@ module PulpPythonClient
131
136
  if !content_type.nil?
132
137
  header_params['Content-Type'] = content_type
133
138
  end
139
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
134
140
 
135
141
  # form parameters
136
142
  form_params = opts[:form_params] || {}
@@ -165,6 +171,7 @@ module PulpPythonClient
165
171
  # Python Publications refer to the Python Package content in a repository version, and include metadata about that content.
166
172
  # @param python_python_publication_href [String]
167
173
  # @param [Hash] opts the optional parameters
174
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
168
175
  # @return [nil]
169
176
  def delete(python_python_publication_href, opts = {})
170
177
  delete_with_http_info(python_python_publication_href, opts)
@@ -175,6 +182,7 @@ module PulpPythonClient
175
182
  # Python Publications refer to the Python Package content in a repository version, and include metadata about that content.
176
183
  # @param python_python_publication_href [String]
177
184
  # @param [Hash] opts the optional parameters
185
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
178
186
  # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
179
187
  def delete_with_http_info(python_python_publication_href, opts = {})
180
188
  if @api_client.config.debugging
@@ -192,6 +200,7 @@ module PulpPythonClient
192
200
 
193
201
  # header parameters
194
202
  header_params = opts[:header_params] || {}
203
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
195
204
 
196
205
  # form parameters
197
206
  form_params = opts[:form_params] || {}
@@ -225,6 +234,7 @@ module PulpPythonClient
225
234
  # List python publications
226
235
  # Python Publications refer to the Python Package content in a repository version, and include metadata about that content.
227
236
  # @param [Hash] opts the optional parameters
237
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
228
238
  # @option opts [Boolean] :checkpoint Filter results where checkpoint matches value
229
239
  # @option opts [String] :content Content Unit referenced by HREF/PRN
230
240
  # @option opts [Array<String>] :content__in Multiple values may be separated by commas.
@@ -255,6 +265,7 @@ module PulpPythonClient
255
265
  # List python publications
256
266
  # Python Publications refer to the Python Package content in a repository version, and include metadata about that content.
257
267
  # @param [Hash] opts the optional parameters
268
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
258
269
  # @option opts [Boolean] :checkpoint Filter results where checkpoint matches value
259
270
  # @option opts [String] :content Content Unit referenced by HREF/PRN
260
271
  # @option opts [Array<String>] :content__in Multiple values may be separated by commas.
@@ -316,6 +327,7 @@ module PulpPythonClient
316
327
  header_params = opts[:header_params] || {}
317
328
  # HTTP header 'Accept' (if needed)
318
329
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
330
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
319
331
 
320
332
  # form parameters
321
333
  form_params = opts[:form_params] || {}
@@ -350,6 +362,7 @@ module PulpPythonClient
350
362
  # List roles assigned to this object.
351
363
  # @param python_python_publication_href [String]
352
364
  # @param [Hash] opts the optional parameters
365
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
353
366
  # @option opts [Array<String>] :fields A list of fields to include in the response.
354
367
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
355
368
  # @return [ObjectRolesResponse]
@@ -362,6 +375,7 @@ module PulpPythonClient
362
375
  # List roles assigned to this object.
363
376
  # @param python_python_publication_href [String]
364
377
  # @param [Hash] opts the optional parameters
378
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
365
379
  # @option opts [Array<String>] :fields A list of fields to include in the response.
366
380
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
367
381
  # @return [Array<(ObjectRolesResponse, Integer, Hash)>] ObjectRolesResponse data, response status code and response headers
@@ -385,6 +399,7 @@ module PulpPythonClient
385
399
  header_params = opts[:header_params] || {}
386
400
  # HTTP header 'Accept' (if needed)
387
401
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
402
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
388
403
 
389
404
  # form parameters
390
405
  form_params = opts[:form_params] || {}
@@ -419,6 +434,7 @@ module PulpPythonClient
419
434
  # List permissions available to the current user on this object.
420
435
  # @param python_python_publication_href [String]
421
436
  # @param [Hash] opts the optional parameters
437
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
422
438
  # @option opts [Array<String>] :fields A list of fields to include in the response.
423
439
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
424
440
  # @return [MyPermissionsResponse]
@@ -431,6 +447,7 @@ module PulpPythonClient
431
447
  # List permissions available to the current user on this object.
432
448
  # @param python_python_publication_href [String]
433
449
  # @param [Hash] opts the optional parameters
450
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
434
451
  # @option opts [Array<String>] :fields A list of fields to include in the response.
435
452
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
436
453
  # @return [Array<(MyPermissionsResponse, Integer, Hash)>] MyPermissionsResponse data, response status code and response headers
@@ -454,6 +471,7 @@ module PulpPythonClient
454
471
  header_params = opts[:header_params] || {}
455
472
  # HTTP header 'Accept' (if needed)
456
473
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
474
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
457
475
 
458
476
  # form parameters
459
477
  form_params = opts[:form_params] || {}
@@ -488,6 +506,7 @@ module PulpPythonClient
488
506
  # Python Publications refer to the Python Package content in a repository version, and include metadata about that content.
489
507
  # @param python_python_publication_href [String]
490
508
  # @param [Hash] opts the optional parameters
509
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
491
510
  # @option opts [Array<String>] :fields A list of fields to include in the response.
492
511
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
493
512
  # @return [PythonPythonPublicationResponse]
@@ -500,6 +519,7 @@ module PulpPythonClient
500
519
  # Python Publications refer to the Python Package content in a repository version, and include metadata about that content.
501
520
  # @param python_python_publication_href [String]
502
521
  # @param [Hash] opts the optional parameters
522
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
503
523
  # @option opts [Array<String>] :fields A list of fields to include in the response.
504
524
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
505
525
  # @return [Array<(PythonPythonPublicationResponse, Integer, Hash)>] PythonPythonPublicationResponse data, response status code and response headers
@@ -523,6 +543,7 @@ module PulpPythonClient
523
543
  header_params = opts[:header_params] || {}
524
544
  # HTTP header 'Accept' (if needed)
525
545
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
546
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
526
547
 
527
548
  # form parameters
528
549
  form_params = opts[:form_params] || {}
@@ -558,6 +579,7 @@ module PulpPythonClient
558
579
  # @param python_python_publication_href [String]
559
580
  # @param nested_role [NestedRole]
560
581
  # @param [Hash] opts the optional parameters
582
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
561
583
  # @return [NestedRoleResponse]
562
584
  def remove_role(python_python_publication_href, nested_role, opts = {})
563
585
  data, _status_code, _headers = remove_role_with_http_info(python_python_publication_href, nested_role, opts)
@@ -569,6 +591,7 @@ module PulpPythonClient
569
591
  # @param python_python_publication_href [String]
570
592
  # @param nested_role [NestedRole]
571
593
  # @param [Hash] opts the optional parameters
594
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
572
595
  # @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
573
596
  def remove_role_with_http_info(python_python_publication_href, nested_role, opts = {})
574
597
  if @api_client.config.debugging
@@ -597,6 +620,7 @@ module PulpPythonClient
597
620
  if !content_type.nil?
598
621
  header_params['Content-Type'] = content_type
599
622
  end
623
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
600
624
 
601
625
  # form parameters
602
626
  form_params = opts[:form_params] || {}
@@ -23,6 +23,7 @@ module PulpPythonClient
23
23
  # Gets package summary stats of index.
24
24
  # @param path [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
  # @option opts [Array<String>] :fields A list of fields to include in the response.
27
28
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
28
29
  # @return [SummaryResponse]
@@ -35,6 +36,7 @@ module PulpPythonClient
35
36
  # Gets package summary stats of index.
36
37
  # @param path [String]
37
38
  # @param [Hash] opts the optional parameters
39
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
38
40
  # @option opts [Array<String>] :fields A list of fields to include in the response.
39
41
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
40
42
  # @return [Array<(SummaryResponse, Integer, Hash)>] SummaryResponse data, response status code and response headers
@@ -58,6 +60,7 @@ module PulpPythonClient
58
60
  header_params = opts[:header_params] || {}
59
61
  # HTTP header 'Accept' (if needed)
60
62
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
63
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
61
64
 
62
65
  # form parameters
63
66
  form_params = opts[:form_params] || {}
@@ -25,6 +25,7 @@ module PulpPythonClient
25
25
  # @param content [File] A Python package release file to upload to the index.
26
26
  # @param sha256_digest [String] SHA256 of package to validate upload integrity.
27
27
  # @param [Hash] opts the optional parameters
28
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
28
29
  # @option opts [String] :action Defaults to &#x60;file_upload&#x60;, don&#39;t change it or request will fail! (default to 'file_upload')
29
30
  # @return [PackageUploadTaskResponse]
30
31
  def create(path, content, sha256_digest, opts = {})
@@ -38,6 +39,7 @@ module PulpPythonClient
38
39
  # @param content [File] A Python package release file to upload to the index.
39
40
  # @param sha256_digest [String] SHA256 of package to validate upload integrity.
40
41
  # @param [Hash] opts the optional parameters
42
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
41
43
  # @option opts [String] :action Defaults to &#x60;file_upload&#x60;, don&#39;t change it or request will fail! (default to 'file_upload')
42
44
  # @return [Array<(PackageUploadTaskResponse, Integer, Hash)>] PackageUploadTaskResponse data, response status code and response headers
43
45
  def create_with_http_info(path, content, sha256_digest, opts = {})
@@ -83,6 +85,7 @@ module PulpPythonClient
83
85
  if !content_type.nil?
84
86
  header_params['Content-Type'] = content_type
85
87
  end
88
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
86
89
 
87
90
  # form parameters
88
91
  form_params = opts[:form_params] || {}
@@ -24,6 +24,7 @@ module PulpPythonClient
24
24
  # @param meta [String]
25
25
  # @param path [String]
26
26
  # @param [Hash] opts the optional parameters
27
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
27
28
  # @option opts [Array<String>] :fields A list of fields to include in the response.
28
29
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
29
30
  # @return [PackageMetadataResponse]
@@ -37,6 +38,7 @@ module PulpPythonClient
37
38
  # @param meta [String]
38
39
  # @param path [String]
39
40
  # @param [Hash] opts the optional parameters
41
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
40
42
  # @option opts [Array<String>] :fields A list of fields to include in the response.
41
43
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
42
44
  # @return [Array<(PackageMetadataResponse, Integer, Hash)>] PackageMetadataResponse data, response status code and response headers
@@ -64,6 +66,7 @@ module PulpPythonClient
64
66
  header_params = opts[:header_params] || {}
65
67
  # HTTP header 'Accept' (if needed)
66
68
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
69
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
67
70
 
68
71
  # form parameters
69
72
  form_params = opts[:form_params] || {}
@@ -25,6 +25,7 @@ module PulpPythonClient
25
25
  # @param content [File] A Python package release file to upload to the index.
26
26
  # @param sha256_digest [String] SHA256 of package to validate upload integrity.
27
27
  # @param [Hash] opts the optional parameters
28
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
28
29
  # @option opts [String] :action Defaults to &#x60;file_upload&#x60;, don&#39;t change it or request will fail! (default to 'file_upload')
29
30
  # @return [PackageUploadTaskResponse]
30
31
  def create(path, content, sha256_digest, opts = {})
@@ -38,6 +39,7 @@ module PulpPythonClient
38
39
  # @param content [File] A Python package release file to upload to the index.
39
40
  # @param sha256_digest [String] SHA256 of package to validate upload integrity.
40
41
  # @param [Hash] opts the optional parameters
42
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
41
43
  # @option opts [String] :action Defaults to &#x60;file_upload&#x60;, don&#39;t change it or request will fail! (default to 'file_upload')
42
44
  # @return [Array<(PackageUploadTaskResponse, Integer, Hash)>] PackageUploadTaskResponse data, response status code and response headers
43
45
  def create_with_http_info(path, content, sha256_digest, opts = {})
@@ -83,6 +85,7 @@ module PulpPythonClient
83
85
  if !content_type.nil?
84
86
  header_params['Content-Type'] = content_type
85
87
  end
88
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
86
89
 
87
90
  # form parameters
88
91
  form_params = opts[:form_params] || {}
@@ -121,6 +124,7 @@ module PulpPythonClient
121
124
  # @param package [String]
122
125
  # @param path [String]
123
126
  # @param [Hash] opts the optional parameters
127
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
124
128
  # @option opts [Array<String>] :fields A list of fields to include in the response.
125
129
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
126
130
  # @return [nil]
@@ -134,6 +138,7 @@ module PulpPythonClient
134
138
  # @param package [String]
135
139
  # @param path [String]
136
140
  # @param [Hash] opts the optional parameters
141
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
137
142
  # @option opts [Array<String>] :fields A list of fields to include in the response.
138
143
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
139
144
  # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
@@ -159,6 +164,7 @@ module PulpPythonClient
159
164
 
160
165
  # header parameters
161
166
  header_params = opts[:header_params] || {}
167
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
162
168
 
163
169
  # form parameters
164
170
  form_params = opts[:form_params] || {}
@@ -193,6 +199,7 @@ module PulpPythonClient
193
199
  # Gets the simple api html page for the index.
194
200
  # @param path [String]
195
201
  # @param [Hash] opts the optional parameters
202
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
196
203
  # @option opts [Array<String>] :fields A list of fields to include in the response.
197
204
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
198
205
  # @return [nil]
@@ -205,6 +212,7 @@ module PulpPythonClient
205
212
  # Gets the simple api html page for the index.
206
213
  # @param path [String]
207
214
  # @param [Hash] opts the optional parameters
215
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
208
216
  # @option opts [Array<String>] :fields A list of fields to include in the response.
209
217
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
210
218
  # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
@@ -226,6 +234,7 @@ module PulpPythonClient
226
234
 
227
235
  # header parameters
228
236
  header_params = opts[:header_params] || {}
237
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
229
238
 
230
239
  # form parameters
231
240
  form_params = opts[:form_params] || {}