pulp_python_client 3.11.6 → 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 +32 -32
@@ -23,6 +23,7 @@ module PulpPythonClient
23
23
  # Trigger an asynchronous create task
24
24
  # @param python_python_distribution [PythonPythonDistribution]
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 create(python_python_distribution, opts = {})
28
29
  data, _status_code, _headers = create_with_http_info(python_python_distribution, opts)
@@ -33,6 +34,7 @@ module PulpPythonClient
33
34
  # Trigger an asynchronous create task
34
35
  # @param python_python_distribution [PythonPythonDistribution]
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 create_with_http_info(python_python_distribution, 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_distribution_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_distribution_href, opts = {})
92
96
  data, _status_code, _headers = delete_with_http_info(python_python_distribution_href, opts)
@@ -97,6 +101,7 @@ module PulpPythonClient
97
101
  # Trigger an asynchronous delete task
98
102
  # @param python_python_distribution_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_distribution_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 distributions
149
155
  # 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.
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] :base_path Filter results where base_path matches value
152
159
  # @option opts [String] :base_path__contains Filter results where base_path contains value
153
160
  # @option opts [String] :base_path__icontains Filter results where base_path contains value
@@ -182,6 +189,7 @@ module PulpPythonClient
182
189
  # List python distributions
183
190
  # 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.
184
191
  # @param [Hash] opts the optional parameters
192
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
185
193
  # @option opts [String] :base_path Filter results where base_path matches value
186
194
  # @option opts [String] :base_path__contains Filter results where base_path contains value
187
195
  # @option opts [String] :base_path__icontains Filter results where base_path contains value
@@ -251,6 +259,7 @@ module PulpPythonClient
251
259
  header_params = opts[:header_params] || {}
252
260
  # HTTP header 'Accept' (if needed)
253
261
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
262
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
254
263
 
255
264
  # form parameters
256
265
  form_params = opts[:form_params] || {}
@@ -285,6 +294,7 @@ module PulpPythonClient
285
294
  # @param python_python_distribution_href [String]
286
295
  # @param patchedpython_python_distribution [PatchedpythonPythonDistribution]
287
296
  # @param [Hash] opts the optional parameters
297
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
288
298
  # @return [AsyncOperationResponse]
289
299
  def partial_update(python_python_distribution_href, patchedpython_python_distribution, opts = {})
290
300
  data, _status_code, _headers = partial_update_with_http_info(python_python_distribution_href, patchedpython_python_distribution, opts)
@@ -296,6 +306,7 @@ module PulpPythonClient
296
306
  # @param python_python_distribution_href [String]
297
307
  # @param patchedpython_python_distribution [PatchedpythonPythonDistribution]
298
308
  # @param [Hash] opts the optional parameters
309
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
299
310
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
300
311
  def partial_update_with_http_info(python_python_distribution_href, patchedpython_python_distribution, opts = {})
301
312
  if @api_client.config.debugging
@@ -321,6 +332,7 @@ module PulpPythonClient
321
332
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
322
333
  # HTTP header 'Content-Type'
323
334
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
335
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
324
336
 
325
337
  # form parameters
326
338
  form_params = opts[:form_params] || {}
@@ -354,6 +366,7 @@ module PulpPythonClient
354
366
  # 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.
355
367
  # @param python_python_distribution_href [String]
356
368
  # @param [Hash] opts the optional parameters
369
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
357
370
  # @option opts [Array<String>] :fields A list of fields to include in the response.
358
371
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
359
372
  # @return [PythonPythonDistributionResponse]
@@ -366,6 +379,7 @@ module PulpPythonClient
366
379
  # 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.
367
380
  # @param python_python_distribution_href [String]
368
381
  # @param [Hash] opts the optional parameters
382
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
369
383
  # @option opts [Array<String>] :fields A list of fields to include in the response.
370
384
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
371
385
  # @return [Array<(PythonPythonDistributionResponse, Integer, Hash)>] PythonPythonDistributionResponse data, response status code and response headers
@@ -389,6 +403,7 @@ module PulpPythonClient
389
403
  header_params = opts[:header_params] || {}
390
404
  # HTTP header 'Accept' (if needed)
391
405
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
406
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
392
407
 
393
408
  # form parameters
394
409
  form_params = opts[:form_params] || {}
@@ -423,6 +438,7 @@ module PulpPythonClient
423
438
  # @param python_python_distribution_href [String]
424
439
  # @param set_label [SetLabel]
425
440
  # @param [Hash] opts the optional parameters
441
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
426
442
  # @return [SetLabelResponse]
427
443
  def set_label(python_python_distribution_href, set_label, opts = {})
428
444
  data, _status_code, _headers = set_label_with_http_info(python_python_distribution_href, set_label, opts)
@@ -434,6 +450,7 @@ module PulpPythonClient
434
450
  # @param python_python_distribution_href [String]
435
451
  # @param set_label [SetLabel]
436
452
  # @param [Hash] opts the optional parameters
453
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
437
454
  # @return [Array<(SetLabelResponse, Integer, Hash)>] SetLabelResponse data, response status code and response headers
438
455
  def set_label_with_http_info(python_python_distribution_href, set_label, opts = {})
439
456
  if @api_client.config.debugging
@@ -459,6 +476,7 @@ module PulpPythonClient
459
476
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
460
477
  # HTTP header 'Content-Type'
461
478
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
479
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
462
480
 
463
481
  # form parameters
464
482
  form_params = opts[:form_params] || {}
@@ -493,6 +511,7 @@ module PulpPythonClient
493
511
  # @param python_python_distribution_href [String]
494
512
  # @param unset_label [UnsetLabel]
495
513
  # @param [Hash] opts the optional parameters
514
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
496
515
  # @return [UnsetLabelResponse]
497
516
  def unset_label(python_python_distribution_href, unset_label, opts = {})
498
517
  data, _status_code, _headers = unset_label_with_http_info(python_python_distribution_href, unset_label, opts)
@@ -504,6 +523,7 @@ module PulpPythonClient
504
523
  # @param python_python_distribution_href [String]
505
524
  # @param unset_label [UnsetLabel]
506
525
  # @param [Hash] opts the optional parameters
526
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
507
527
  # @return [Array<(UnsetLabelResponse, Integer, Hash)>] UnsetLabelResponse data, response status code and response headers
508
528
  def unset_label_with_http_info(python_python_distribution_href, unset_label, opts = {})
509
529
  if @api_client.config.debugging
@@ -529,6 +549,7 @@ module PulpPythonClient
529
549
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
530
550
  # HTTP header 'Content-Type'
531
551
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
552
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
532
553
 
533
554
  # form parameters
534
555
  form_params = opts[:form_params] || {}
@@ -563,6 +584,7 @@ module PulpPythonClient
563
584
  # @param python_python_distribution_href [String]
564
585
  # @param python_python_distribution [PythonPythonDistribution]
565
586
  # @param [Hash] opts the optional parameters
587
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
566
588
  # @return [AsyncOperationResponse]
567
589
  def update(python_python_distribution_href, python_python_distribution, opts = {})
568
590
  data, _status_code, _headers = update_with_http_info(python_python_distribution_href, python_python_distribution, opts)
@@ -574,6 +596,7 @@ module PulpPythonClient
574
596
  # @param python_python_distribution_href [String]
575
597
  # @param python_python_distribution [PythonPythonDistribution]
576
598
  # @param [Hash] opts the optional parameters
599
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
577
600
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
578
601
  def update_with_http_info(python_python_distribution_href, python_python_distribution, opts = {})
579
602
  if @api_client.config.debugging
@@ -599,6 +622,7 @@ module PulpPythonClient
599
622
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
600
623
  # HTTP header 'Content-Type'
601
624
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
625
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
602
626
 
603
627
  # form parameters
604
628
  form_params = opts[:form_params] || {}
@@ -23,6 +23,7 @@ module PulpPythonClient
23
23
  # Dispatches a publish task, which generates metadata that will be used by pip.
24
24
  # @param python_python_publication [PythonPythonPublication]
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 create(python_python_publication, opts = {})
28
29
  data, _status_code, _headers = create_with_http_info(python_python_publication, opts)
@@ -33,6 +34,7 @@ module PulpPythonClient
33
34
  # Dispatches a publish task, which generates metadata that will be used by pip.
34
35
  # @param python_python_publication [PythonPythonPublication]
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 create_with_http_info(python_python_publication, 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
  # Python Publications refer to the Python Package content in a repository version, and include metadata about that content.
88
91
  # @param python_python_publication_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 [nil]
91
95
  def delete(python_python_publication_href, opts = {})
92
96
  delete_with_http_info(python_python_publication_href, opts)
@@ -97,6 +101,7 @@ module PulpPythonClient
97
101
  # Python Publications refer to the Python Package content in a repository version, and include metadata about that content.
98
102
  # @param python_python_publication_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<(nil, Integer, Hash)>] nil, response status code and response headers
101
106
  def delete_with_http_info(python_python_publication_href, opts = {})
102
107
  if @api_client.config.debugging
@@ -114,6 +119,7 @@ module PulpPythonClient
114
119
 
115
120
  # header parameters
116
121
  header_params = opts[:header_params] || {}
122
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
117
123
 
118
124
  # form parameters
119
125
  form_params = opts[:form_params] || {}
@@ -146,6 +152,7 @@ module PulpPythonClient
146
152
  # List python publications
147
153
  # Python Publications refer to the Python Package content in a repository version, and include metadata about that content.
148
154
  # @param [Hash] opts the optional parameters
155
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
149
156
  # @option opts [String] :content Content Unit referenced by HREF
150
157
  # @option opts [String] :content__in Content Unit referenced by HREF
151
158
  # @option opts [Integer] :limit Number of results to return per page.
@@ -173,6 +180,7 @@ module PulpPythonClient
173
180
  # List python publications
174
181
  # Python Publications refer to the Python Package content in a repository version, and include metadata about that content.
175
182
  # @param [Hash] opts the optional parameters
183
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
176
184
  # @option opts [String] :content Content Unit referenced by HREF
177
185
  # @option opts [String] :content__in Content Unit referenced by HREF
178
186
  # @option opts [Integer] :limit Number of results to return per page.
@@ -228,6 +236,7 @@ module PulpPythonClient
228
236
  header_params = opts[:header_params] || {}
229
237
  # HTTP header 'Accept' (if needed)
230
238
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
239
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
231
240
 
232
241
  # form parameters
233
242
  form_params = opts[:form_params] || {}
@@ -261,6 +270,7 @@ module PulpPythonClient
261
270
  # Python Publications refer to the Python Package content in a repository version, and include metadata about that content.
262
271
  # @param python_python_publication_href [String]
263
272
  # @param [Hash] opts the optional parameters
273
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
264
274
  # @option opts [Array<String>] :fields A list of fields to include in the response.
265
275
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
266
276
  # @return [PythonPythonPublicationResponse]
@@ -273,6 +283,7 @@ module PulpPythonClient
273
283
  # Python Publications refer to the Python Package content in a repository version, and include metadata about that content.
274
284
  # @param python_python_publication_href [String]
275
285
  # @param [Hash] opts the optional parameters
286
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
276
287
  # @option opts [Array<String>] :fields A list of fields to include in the response.
277
288
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
278
289
  # @return [Array<(PythonPythonPublicationResponse, Integer, Hash)>] PythonPythonPublicationResponse data, response status code and response headers
@@ -296,6 +307,7 @@ module PulpPythonClient
296
307
  header_params = opts[:header_params] || {}
297
308
  # HTTP header 'Accept' (if needed)
298
309
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
310
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
299
311
 
300
312
  # form parameters
301
313
  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'])
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!
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 = {})
@@ -80,6 +82,7 @@ module PulpPythonClient
80
82
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
81
83
  # HTTP header 'Content-Type'
82
84
  header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data', 'application/x-www-form-urlencoded'])
85
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
83
86
 
84
87
  # form parameters
85
88
  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'])
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!
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 = {})
@@ -80,6 +82,7 @@ module PulpPythonClient
80
82
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
81
83
  # HTTP header 'Content-Type'
82
84
  header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data', 'application/x-www-form-urlencoded'])
85
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
83
86
 
84
87
  # form parameters
85
88
  form_params = opts[:form_params] || {}
@@ -117,6 +120,7 @@ module PulpPythonClient
117
120
  # @param package [String]
118
121
  # @param path [String]
119
122
  # @param [Hash] opts the optional parameters
123
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
120
124
  # @option opts [Array<String>] :fields A list of fields to include in the response.
121
125
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
122
126
  # @return [nil]
@@ -130,6 +134,7 @@ module PulpPythonClient
130
134
  # @param package [String]
131
135
  # @param path [String]
132
136
  # @param [Hash] opts the optional parameters
137
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
133
138
  # @option opts [Array<String>] :fields A list of fields to include in the response.
134
139
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
135
140
  # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
@@ -155,6 +160,7 @@ module PulpPythonClient
155
160
 
156
161
  # header parameters
157
162
  header_params = opts[:header_params] || {}
163
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
158
164
 
159
165
  # form parameters
160
166
  form_params = opts[:form_params] || {}
@@ -188,6 +194,7 @@ module PulpPythonClient
188
194
  # Gets the simple api html page for the index.
189
195
  # @param path [String]
190
196
  # @param [Hash] opts the optional parameters
197
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
191
198
  # @option opts [Array<String>] :fields A list of fields to include in the response.
192
199
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
193
200
  # @return [nil]
@@ -200,6 +207,7 @@ module PulpPythonClient
200
207
  # Gets the simple api html page for the index.
201
208
  # @param path [String]
202
209
  # @param [Hash] opts the optional parameters
210
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
203
211
  # @option opts [Array<String>] :fields A list of fields to include in the response.
204
212
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
205
213
  # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
@@ -221,6 +229,7 @@ module PulpPythonClient
221
229
 
222
230
  # header parameters
223
231
  header_params = opts[:header_params] || {}
232
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
224
233
 
225
234
  # form parameters
226
235
  form_params = opts[:form_params] || {}
@@ -23,6 +23,7 @@ module PulpPythonClient
23
23
  # Python Remotes are representations of an external repository of Python content, eg. PyPI. Fields include upstream repository config. Python Remotes are also used to `sync` from upstream repositories, and contains sync settings.
24
24
  # @param python_python_remote [PythonPythonRemote]
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 [PythonPythonRemoteResponse]
27
28
  def create(python_python_remote, opts = {})
28
29
  data, _status_code, _headers = create_with_http_info(python_python_remote, opts)
@@ -33,6 +34,7 @@ module PulpPythonClient
33
34
  # 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.
34
35
  # @param python_python_remote [PythonPythonRemote]
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<(PythonPythonRemoteResponse, Integer, Hash)>] PythonPythonRemoteResponse data, response status code and response headers
37
39
  def create_with_http_info(python_python_remote, 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_remote_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_remote_href, opts = {})
92
96
  data, _status_code, _headers = delete_with_http_info(python_python_remote_href, opts)
@@ -97,6 +101,7 @@ module PulpPythonClient
97
101
  # Trigger an asynchronous delete task
98
102
  # @param python_python_remote_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_remote_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] || {}
@@ -150,6 +156,7 @@ module PulpPythonClient
150
156
  # @param config [File] A Bandersnatch config that may be used to construct a Python Remote.
151
157
  # @param name [String] A unique name for this remote
152
158
  # @param [Hash] opts the optional parameters
159
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
153
160
  # @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.
154
161
  # @return [PythonPythonRemoteResponse]
155
162
  def from_bandersnatch(config, name, opts = {})
@@ -162,6 +169,7 @@ module PulpPythonClient
162
169
  # @param config [File] A Bandersnatch config that may be used to construct a Python Remote.
163
170
  # @param name [String] A unique name for this remote
164
171
  # @param [Hash] opts the optional parameters
172
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
165
173
  # @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.
166
174
  # @return [Array<(PythonPythonRemoteResponse, Integer, Hash)>] PythonPythonRemoteResponse data, response status code and response headers
167
175
  def from_bandersnatch_with_http_info(config, name, opts = {})
@@ -192,6 +200,7 @@ module PulpPythonClient
192
200
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
193
201
  # HTTP header 'Content-Type'
194
202
  header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data', 'application/x-www-form-urlencoded'])
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] || {}
@@ -227,6 +236,7 @@ module PulpPythonClient
227
236
  # List python remotes
228
237
  # Python Remotes are representations of an external repository of Python content, eg. PyPI. Fields include upstream repository config. Python Remotes are also used to `sync` from upstream repositories, and contains sync settings.
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 [Integer] :limit Number of results to return per page.
231
241
  # @option opts [String] :name Filter results where name matches value
232
242
  # @option opts [String] :name__contains Filter results where name contains value
@@ -260,6 +270,7 @@ module PulpPythonClient
260
270
  # List python remotes
261
271
  # 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.
262
272
  # @param [Hash] opts the optional parameters
273
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
263
274
  # @option opts [Integer] :limit Number of results to return per page.
264
275
  # @option opts [String] :name Filter results where name matches value
265
276
  # @option opts [String] :name__contains Filter results where name contains value
@@ -327,6 +338,7 @@ module PulpPythonClient
327
338
  header_params = opts[:header_params] || {}
328
339
  # HTTP header 'Accept' (if needed)
329
340
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
341
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
330
342
 
331
343
  # form parameters
332
344
  form_params = opts[:form_params] || {}
@@ -361,6 +373,7 @@ module PulpPythonClient
361
373
  # @param python_python_remote_href [String]
362
374
  # @param patchedpython_python_remote [PatchedpythonPythonRemote]
363
375
  # @param [Hash] opts the optional parameters
376
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
364
377
  # @return [AsyncOperationResponse]
365
378
  def partial_update(python_python_remote_href, patchedpython_python_remote, opts = {})
366
379
  data, _status_code, _headers = partial_update_with_http_info(python_python_remote_href, patchedpython_python_remote, opts)
@@ -372,6 +385,7 @@ module PulpPythonClient
372
385
  # @param python_python_remote_href [String]
373
386
  # @param patchedpython_python_remote [PatchedpythonPythonRemote]
374
387
  # @param [Hash] opts the optional parameters
388
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
375
389
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
376
390
  def partial_update_with_http_info(python_python_remote_href, patchedpython_python_remote, opts = {})
377
391
  if @api_client.config.debugging
@@ -397,6 +411,7 @@ module PulpPythonClient
397
411
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
398
412
  # HTTP header 'Content-Type'
399
413
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
414
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
400
415
 
401
416
  # form parameters
402
417
  form_params = opts[:form_params] || {}
@@ -430,6 +445,7 @@ module PulpPythonClient
430
445
  # Python Remotes are representations of an external repository of Python content, eg. PyPI. Fields include upstream repository config. Python Remotes are also used to `sync` from upstream repositories, and contains sync settings.
431
446
  # @param python_python_remote_href [String]
432
447
  # @param [Hash] opts the optional parameters
448
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
433
449
  # @option opts [Array<String>] :fields A list of fields to include in the response.
434
450
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
435
451
  # @return [PythonPythonRemoteResponse]
@@ -442,6 +458,7 @@ module PulpPythonClient
442
458
  # 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.
443
459
  # @param python_python_remote_href [String]
444
460
  # @param [Hash] opts the optional parameters
461
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
445
462
  # @option opts [Array<String>] :fields A list of fields to include in the response.
446
463
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
447
464
  # @return [Array<(PythonPythonRemoteResponse, Integer, Hash)>] PythonPythonRemoteResponse data, response status code and response headers
@@ -465,6 +482,7 @@ module PulpPythonClient
465
482
  header_params = opts[:header_params] || {}
466
483
  # HTTP header 'Accept' (if needed)
467
484
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
485
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
468
486
 
469
487
  # form parameters
470
488
  form_params = opts[:form_params] || {}
@@ -499,6 +517,7 @@ module PulpPythonClient
499
517
  # @param python_python_remote_href [String]
500
518
  # @param set_label [SetLabel]
501
519
  # @param [Hash] opts the optional parameters
520
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
502
521
  # @return [SetLabelResponse]
503
522
  def set_label(python_python_remote_href, set_label, opts = {})
504
523
  data, _status_code, _headers = set_label_with_http_info(python_python_remote_href, set_label, opts)
@@ -510,6 +529,7 @@ module PulpPythonClient
510
529
  # @param python_python_remote_href [String]
511
530
  # @param set_label [SetLabel]
512
531
  # @param [Hash] opts the optional parameters
532
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
513
533
  # @return [Array<(SetLabelResponse, Integer, Hash)>] SetLabelResponse data, response status code and response headers
514
534
  def set_label_with_http_info(python_python_remote_href, set_label, opts = {})
515
535
  if @api_client.config.debugging
@@ -535,6 +555,7 @@ module PulpPythonClient
535
555
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
536
556
  # HTTP header 'Content-Type'
537
557
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
558
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
538
559
 
539
560
  # form parameters
540
561
  form_params = opts[:form_params] || {}
@@ -569,6 +590,7 @@ module PulpPythonClient
569
590
  # @param python_python_remote_href [String]
570
591
  # @param unset_label [UnsetLabel]
571
592
  # @param [Hash] opts the optional parameters
593
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
572
594
  # @return [UnsetLabelResponse]
573
595
  def unset_label(python_python_remote_href, unset_label, opts = {})
574
596
  data, _status_code, _headers = unset_label_with_http_info(python_python_remote_href, unset_label, opts)
@@ -580,6 +602,7 @@ module PulpPythonClient
580
602
  # @param python_python_remote_href [String]
581
603
  # @param unset_label [UnsetLabel]
582
604
  # @param [Hash] opts the optional parameters
605
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
583
606
  # @return [Array<(UnsetLabelResponse, Integer, Hash)>] UnsetLabelResponse data, response status code and response headers
584
607
  def unset_label_with_http_info(python_python_remote_href, unset_label, opts = {})
585
608
  if @api_client.config.debugging
@@ -605,6 +628,7 @@ module PulpPythonClient
605
628
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
606
629
  # HTTP header 'Content-Type'
607
630
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
631
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
608
632
 
609
633
  # form parameters
610
634
  form_params = opts[:form_params] || {}
@@ -639,6 +663,7 @@ module PulpPythonClient
639
663
  # @param python_python_remote_href [String]
640
664
  # @param python_python_remote [PythonPythonRemote]
641
665
  # @param [Hash] opts the optional parameters
666
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
642
667
  # @return [AsyncOperationResponse]
643
668
  def update(python_python_remote_href, python_python_remote, opts = {})
644
669
  data, _status_code, _headers = update_with_http_info(python_python_remote_href, python_python_remote, opts)
@@ -650,6 +675,7 @@ module PulpPythonClient
650
675
  # @param python_python_remote_href [String]
651
676
  # @param python_python_remote [PythonPythonRemote]
652
677
  # @param [Hash] opts the optional parameters
678
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
653
679
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
654
680
  def update_with_http_info(python_python_remote_href, python_python_remote, opts = {})
655
681
  if @api_client.config.debugging
@@ -675,6 +701,7 @@ module PulpPythonClient
675
701
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
676
702
  # HTTP header 'Content-Type'
677
703
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
704
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
678
705
 
679
706
  # form parameters
680
707
  form_params = opts[:form_params] || {}