pulp_rpm_client 3.29.3 → 3.29.5

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 (67) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +8 -5
  3. data/docs/AcsRpmApi.md +64 -28
  4. data/docs/ContentAdvisoriesApi.md +22 -8
  5. data/docs/ContentDistributionTreesApi.md +20 -8
  6. data/docs/ContentModulemdDefaultsApi.md +28 -12
  7. data/docs/ContentModulemdObsoletesApi.md +28 -12
  8. data/docs/ContentModulemdsApi.md +28 -12
  9. data/docs/ContentPackagecategoriesApi.md +20 -8
  10. data/docs/ContentPackageenvironmentsApi.md +20 -8
  11. data/docs/ContentPackagegroupsApi.md +20 -8
  12. data/docs/ContentPackagelangpacksApi.md +20 -8
  13. data/docs/ContentPackagesApi.md +22 -8
  14. data/docs/ContentRepoMetadataFilesApi.md +20 -8
  15. data/docs/DistributionsRpmApi.md +72 -32
  16. data/docs/PublicationsRpmApi.md +40 -16
  17. data/docs/RemotesRpmApi.md +72 -32
  18. data/docs/RemotesUlnApi.md +72 -32
  19. data/docs/RepositoriesRpmApi.md +88 -40
  20. data/docs/RepositoriesRpmVersionsApi.md +22 -10
  21. data/docs/RpmCompsApi.md +2 -0
  22. data/docs/RpmCopyApi.md +8 -4
  23. data/docs/RpmPruneApi.md +8 -4
  24. data/lib/pulp_rpm_client/api/acs_rpm_api.rb +33 -0
  25. data/lib/pulp_rpm_client/api/content_advisories_api.rb +15 -0
  26. data/lib/pulp_rpm_client/api/content_distribution_trees_api.rb +12 -0
  27. data/lib/pulp_rpm_client/api/content_modulemd_defaults_api.rb +15 -0
  28. data/lib/pulp_rpm_client/api/content_modulemd_obsoletes_api.rb +15 -0
  29. data/lib/pulp_rpm_client/api/content_modulemds_api.rb +15 -0
  30. data/lib/pulp_rpm_client/api/content_packagecategories_api.rb +12 -0
  31. data/lib/pulp_rpm_client/api/content_packageenvironments_api.rb +12 -0
  32. data/lib/pulp_rpm_client/api/content_packagegroups_api.rb +12 -0
  33. data/lib/pulp_rpm_client/api/content_packagelangpacks_api.rb +12 -0
  34. data/lib/pulp_rpm_client/api/content_packages_api.rb +15 -0
  35. data/lib/pulp_rpm_client/api/content_repo_metadata_files_api.rb +12 -0
  36. data/lib/pulp_rpm_client/api/distributions_rpm_api.rb +36 -0
  37. data/lib/pulp_rpm_client/api/publications_rpm_api.rb +24 -0
  38. data/lib/pulp_rpm_client/api/remotes_rpm_api.rb +36 -0
  39. data/lib/pulp_rpm_client/api/remotes_uln_api.rb +36 -0
  40. data/lib/pulp_rpm_client/api/repositories_rpm_api.rb +42 -0
  41. data/lib/pulp_rpm_client/api/repositories_rpm_versions_api.rb +15 -3
  42. data/lib/pulp_rpm_client/api/rpm_comps_api.rb +3 -0
  43. data/lib/pulp_rpm_client/api/rpm_copy_api.rb +3 -0
  44. data/lib/pulp_rpm_client/api/rpm_prune_api.rb +3 -0
  45. data/lib/pulp_rpm_client/version.rb +1 -1
  46. data/spec/api/acs_rpm_api_spec.rb +11 -0
  47. data/spec/api/content_advisories_api_spec.rb +5 -0
  48. data/spec/api/content_distribution_trees_api_spec.rb +4 -0
  49. data/spec/api/content_modulemd_defaults_api_spec.rb +5 -0
  50. data/spec/api/content_modulemd_obsoletes_api_spec.rb +5 -0
  51. data/spec/api/content_modulemds_api_spec.rb +5 -0
  52. data/spec/api/content_packagecategories_api_spec.rb +4 -0
  53. data/spec/api/content_packageenvironments_api_spec.rb +4 -0
  54. data/spec/api/content_packagegroups_api_spec.rb +4 -0
  55. data/spec/api/content_packagelangpacks_api_spec.rb +4 -0
  56. data/spec/api/content_packages_api_spec.rb +5 -0
  57. data/spec/api/content_repo_metadata_files_api_spec.rb +4 -0
  58. data/spec/api/distributions_rpm_api_spec.rb +12 -0
  59. data/spec/api/publications_rpm_api_spec.rb +8 -0
  60. data/spec/api/remotes_rpm_api_spec.rb +12 -0
  61. data/spec/api/remotes_uln_api_spec.rb +12 -0
  62. data/spec/api/repositories_rpm_api_spec.rb +14 -0
  63. data/spec/api/repositories_rpm_versions_api_spec.rb +5 -1
  64. data/spec/api/rpm_comps_api_spec.rb +1 -0
  65. data/spec/api/rpm_copy_api_spec.rb +1 -0
  66. data/spec/api/rpm_prune_api_spec.rb +1 -0
  67. metadata +78 -78
data/docs/RpmCopyApi.md CHANGED
@@ -9,7 +9,7 @@ All URIs are relative to *http://localhost:24817*
9
9
 
10
10
  ## copy_content
11
11
 
12
- > <AsyncOperationResponse> copy_content(copy)
12
+ > <AsyncOperationResponse> copy_content(copy, opts)
13
13
 
14
14
  Copy content
15
15
 
@@ -29,10 +29,13 @@ end
29
29
 
30
30
  api_instance = PulpRpmClient::RpmCopyApi.new
31
31
  copy = PulpRpmClient::Copy.new({config: 3.56}) # Copy |
32
+ opts = {
33
+ x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
34
+ }
32
35
 
33
36
  begin
34
37
  # Copy content
35
- result = api_instance.copy_content(copy)
38
+ result = api_instance.copy_content(copy, opts)
36
39
  p result
37
40
  rescue PulpRpmClient::ApiError => e
38
41
  puts "Error when calling RpmCopyApi->copy_content: #{e}"
@@ -43,12 +46,12 @@ end
43
46
 
44
47
  This returns an Array which contains the response data, status code and headers.
45
48
 
46
- > <Array(<AsyncOperationResponse>, Integer, Hash)> copy_content_with_http_info(copy)
49
+ > <Array(<AsyncOperationResponse>, Integer, Hash)> copy_content_with_http_info(copy, opts)
47
50
 
48
51
  ```ruby
49
52
  begin
50
53
  # Copy content
51
- data, status_code, headers = api_instance.copy_content_with_http_info(copy)
54
+ data, status_code, headers = api_instance.copy_content_with_http_info(copy, opts)
52
55
  p status_code # => 2xx
53
56
  p headers # => { ... }
54
57
  p data # => <AsyncOperationResponse>
@@ -62,6 +65,7 @@ end
62
65
  | Name | Type | Description | Notes |
63
66
  | ---- | ---- | ----------- | ----- |
64
67
  | **copy** | [**Copy**](Copy.md) | | |
68
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
65
69
 
66
70
  ### Return type
67
71
 
data/docs/RpmPruneApi.md CHANGED
@@ -9,7 +9,7 @@ All URIs are relative to *http://localhost:24817*
9
9
 
10
10
  ## prune_packages
11
11
 
12
- > <TaskGroupOperationResponse> prune_packages(prune_packages)
12
+ > <TaskGroupOperationResponse> prune_packages(prune_packages, opts)
13
13
 
14
14
 
15
15
 
@@ -29,10 +29,13 @@ end
29
29
 
30
30
  api_instance = PulpRpmClient::RpmPruneApi.new
31
31
  prune_packages = PulpRpmClient::PrunePackages.new({repo_hrefs: ['repo_hrefs_example']}) # PrunePackages |
32
+ opts = {
33
+ x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
34
+ }
32
35
 
33
36
  begin
34
37
 
35
- result = api_instance.prune_packages(prune_packages)
38
+ result = api_instance.prune_packages(prune_packages, opts)
36
39
  p result
37
40
  rescue PulpRpmClient::ApiError => e
38
41
  puts "Error when calling RpmPruneApi->prune_packages: #{e}"
@@ -43,12 +46,12 @@ end
43
46
 
44
47
  This returns an Array which contains the response data, status code and headers.
45
48
 
46
- > <Array(<TaskGroupOperationResponse>, Integer, Hash)> prune_packages_with_http_info(prune_packages)
49
+ > <Array(<TaskGroupOperationResponse>, Integer, Hash)> prune_packages_with_http_info(prune_packages, opts)
47
50
 
48
51
  ```ruby
49
52
  begin
50
53
 
51
- data, status_code, headers = api_instance.prune_packages_with_http_info(prune_packages)
54
+ data, status_code, headers = api_instance.prune_packages_with_http_info(prune_packages, opts)
52
55
  p status_code # => 2xx
53
56
  p headers # => { ... }
54
57
  p data # => <TaskGroupOperationResponse>
@@ -62,6 +65,7 @@ end
62
65
  | Name | Type | Description | Notes |
63
66
  | ---- | ---- | ----------- | ----- |
64
67
  | **prune_packages** | [**PrunePackages**](PrunePackages.md) | | |
68
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
65
69
 
66
70
  ### Return type
67
71
 
@@ -24,6 +24,7 @@ module PulpRpmClient
24
24
  # @param rpm_rpm_alternate_content_source_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(rpm_rpm_alternate_content_source_href, nested_role, opts = {})
29
30
  data, _status_code, _headers = add_role_with_http_info(rpm_rpm_alternate_content_source_href, nested_role, opts)
@@ -35,6 +36,7 @@ module PulpRpmClient
35
36
  # @param rpm_rpm_alternate_content_source_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(rpm_rpm_alternate_content_source_href, nested_role, opts = {})
40
42
  if @api_client.config.debugging
@@ -63,6 +65,7 @@ module PulpRpmClient
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 PulpRpmClient
97
100
  # ViewSet for ACS.
98
101
  # @param rpm_rpm_alternate_content_source [RpmRpmAlternateContentSource]
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 [RpmRpmAlternateContentSourceResponse]
101
105
  def create(rpm_rpm_alternate_content_source, opts = {})
102
106
  data, _status_code, _headers = create_with_http_info(rpm_rpm_alternate_content_source, opts)
@@ -107,6 +111,7 @@ module PulpRpmClient
107
111
  # ViewSet for ACS.
108
112
  # @param rpm_rpm_alternate_content_source [RpmRpmAlternateContentSource]
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<(RpmRpmAlternateContentSourceResponse, Integer, Hash)>] RpmRpmAlternateContentSourceResponse data, response status code and response headers
111
116
  def create_with_http_info(rpm_rpm_alternate_content_source, opts = {})
112
117
  if @api_client.config.debugging
@@ -131,6 +136,7 @@ module PulpRpmClient
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 PulpRpmClient
165
171
  # Trigger an asynchronous delete ACS task
166
172
  # @param rpm_rpm_alternate_content_source_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(rpm_rpm_alternate_content_source_href, opts = {})
170
177
  data, _status_code, _headers = delete_with_http_info(rpm_rpm_alternate_content_source_href, opts)
@@ -175,6 +182,7 @@ module PulpRpmClient
175
182
  # Trigger an asynchronous delete ACS task
176
183
  # @param rpm_rpm_alternate_content_source_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(rpm_rpm_alternate_content_source_href, opts = {})
180
188
  if @api_client.config.debugging
@@ -194,6 +202,7 @@ module PulpRpmClient
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 PulpRpmClient
227
236
  # List rpm alternate content sources
228
237
  # ViewSet for ACS.
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
@@ -254,6 +264,7 @@ module PulpRpmClient
254
264
  # List rpm alternate content sources
255
265
  # ViewSet for ACS.
256
266
  # @param [Hash] opts the optional parameters
267
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
257
268
  # @option opts [Integer] :limit Number of results to return per page.
258
269
  # @option opts [String] :name Filter results where name matches value
259
270
  # @option opts [String] :name__contains Filter results where name contains value
@@ -309,6 +320,7 @@ module PulpRpmClient
309
320
  header_params = opts[:header_params] || {}
310
321
  # HTTP header 'Accept' (if needed)
311
322
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
323
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
312
324
 
313
325
  # form parameters
314
326
  form_params = opts[:form_params] || {}
@@ -343,6 +355,7 @@ module PulpRpmClient
343
355
  # List roles assigned to this object.
344
356
  # @param rpm_rpm_alternate_content_source_href [String]
345
357
  # @param [Hash] opts the optional parameters
358
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
346
359
  # @option opts [Array<String>] :fields A list of fields to include in the response.
347
360
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
348
361
  # @return [ObjectRolesResponse]
@@ -355,6 +368,7 @@ module PulpRpmClient
355
368
  # List roles assigned to this object.
356
369
  # @param rpm_rpm_alternate_content_source_href [String]
357
370
  # @param [Hash] opts the optional parameters
371
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
358
372
  # @option opts [Array<String>] :fields A list of fields to include in the response.
359
373
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
360
374
  # @return [Array<(ObjectRolesResponse, Integer, Hash)>] ObjectRolesResponse data, response status code and response headers
@@ -378,6 +392,7 @@ module PulpRpmClient
378
392
  header_params = opts[:header_params] || {}
379
393
  # HTTP header 'Accept' (if needed)
380
394
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
395
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
381
396
 
382
397
  # form parameters
383
398
  form_params = opts[:form_params] || {}
@@ -412,6 +427,7 @@ module PulpRpmClient
412
427
  # List permissions available to the current user on this object.
413
428
  # @param rpm_rpm_alternate_content_source_href [String]
414
429
  # @param [Hash] opts the optional parameters
430
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
415
431
  # @option opts [Array<String>] :fields A list of fields to include in the response.
416
432
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
417
433
  # @return [MyPermissionsResponse]
@@ -424,6 +440,7 @@ module PulpRpmClient
424
440
  # List permissions available to the current user on this object.
425
441
  # @param rpm_rpm_alternate_content_source_href [String]
426
442
  # @param [Hash] opts the optional parameters
443
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
427
444
  # @option opts [Array<String>] :fields A list of fields to include in the response.
428
445
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
429
446
  # @return [Array<(MyPermissionsResponse, Integer, Hash)>] MyPermissionsResponse data, response status code and response headers
@@ -447,6 +464,7 @@ module PulpRpmClient
447
464
  header_params = opts[:header_params] || {}
448
465
  # HTTP header 'Accept' (if needed)
449
466
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
467
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
450
468
 
451
469
  # form parameters
452
470
  form_params = opts[:form_params] || {}
@@ -482,6 +500,7 @@ module PulpRpmClient
482
500
  # @param rpm_rpm_alternate_content_source_href [String]
483
501
  # @param patchedrpm_rpm_alternate_content_source [PatchedrpmRpmAlternateContentSource]
484
502
  # @param [Hash] opts the optional parameters
503
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
485
504
  # @return [AsyncOperationResponse]
486
505
  def partial_update(rpm_rpm_alternate_content_source_href, patchedrpm_rpm_alternate_content_source, opts = {})
487
506
  data, _status_code, _headers = partial_update_with_http_info(rpm_rpm_alternate_content_source_href, patchedrpm_rpm_alternate_content_source, opts)
@@ -493,6 +512,7 @@ module PulpRpmClient
493
512
  # @param rpm_rpm_alternate_content_source_href [String]
494
513
  # @param patchedrpm_rpm_alternate_content_source [PatchedrpmRpmAlternateContentSource]
495
514
  # @param [Hash] opts the optional parameters
515
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
496
516
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
497
517
  def partial_update_with_http_info(rpm_rpm_alternate_content_source_href, patchedrpm_rpm_alternate_content_source, opts = {})
498
518
  if @api_client.config.debugging
@@ -521,6 +541,7 @@ module PulpRpmClient
521
541
  if !content_type.nil?
522
542
  header_params['Content-Type'] = content_type
523
543
  end
544
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
524
545
 
525
546
  # form parameters
526
547
  form_params = opts[:form_params] || {}
@@ -555,6 +576,7 @@ module PulpRpmClient
555
576
  # ViewSet for ACS.
556
577
  # @param rpm_rpm_alternate_content_source_href [String]
557
578
  # @param [Hash] opts the optional parameters
579
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
558
580
  # @option opts [Array<String>] :fields A list of fields to include in the response.
559
581
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
560
582
  # @return [RpmRpmAlternateContentSourceResponse]
@@ -567,6 +589,7 @@ module PulpRpmClient
567
589
  # ViewSet for ACS.
568
590
  # @param rpm_rpm_alternate_content_source_href [String]
569
591
  # @param [Hash] opts the optional parameters
592
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
570
593
  # @option opts [Array<String>] :fields A list of fields to include in the response.
571
594
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
572
595
  # @return [Array<(RpmRpmAlternateContentSourceResponse, Integer, Hash)>] RpmRpmAlternateContentSourceResponse data, response status code and response headers
@@ -590,6 +613,7 @@ module PulpRpmClient
590
613
  header_params = opts[:header_params] || {}
591
614
  # HTTP header 'Accept' (if needed)
592
615
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
616
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
593
617
 
594
618
  # form parameters
595
619
  form_params = opts[:form_params] || {}
@@ -623,6 +647,7 @@ module PulpRpmClient
623
647
  # Trigger an asynchronous task to create Alternate Content Source content.
624
648
  # @param rpm_rpm_alternate_content_source_href [String]
625
649
  # @param [Hash] opts the optional parameters
650
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
626
651
  # @return [TaskGroupOperationResponse]
627
652
  def refresh(rpm_rpm_alternate_content_source_href, opts = {})
628
653
  data, _status_code, _headers = refresh_with_http_info(rpm_rpm_alternate_content_source_href, opts)
@@ -632,6 +657,7 @@ module PulpRpmClient
632
657
  # Trigger an asynchronous task to create Alternate Content Source content.
633
658
  # @param rpm_rpm_alternate_content_source_href [String]
634
659
  # @param [Hash] opts the optional parameters
660
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
635
661
  # @return [Array<(TaskGroupOperationResponse, Integer, Hash)>] TaskGroupOperationResponse data, response status code and response headers
636
662
  def refresh_with_http_info(rpm_rpm_alternate_content_source_href, opts = {})
637
663
  if @api_client.config.debugging
@@ -651,6 +677,7 @@ module PulpRpmClient
651
677
  header_params = opts[:header_params] || {}
652
678
  # HTTP header 'Accept' (if needed)
653
679
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
680
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
654
681
 
655
682
  # form parameters
656
683
  form_params = opts[:form_params] || {}
@@ -686,6 +713,7 @@ module PulpRpmClient
686
713
  # @param rpm_rpm_alternate_content_source_href [String]
687
714
  # @param nested_role [NestedRole]
688
715
  # @param [Hash] opts the optional parameters
716
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
689
717
  # @return [NestedRoleResponse]
690
718
  def remove_role(rpm_rpm_alternate_content_source_href, nested_role, opts = {})
691
719
  data, _status_code, _headers = remove_role_with_http_info(rpm_rpm_alternate_content_source_href, nested_role, opts)
@@ -697,6 +725,7 @@ module PulpRpmClient
697
725
  # @param rpm_rpm_alternate_content_source_href [String]
698
726
  # @param nested_role [NestedRole]
699
727
  # @param [Hash] opts the optional parameters
728
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
700
729
  # @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
701
730
  def remove_role_with_http_info(rpm_rpm_alternate_content_source_href, nested_role, opts = {})
702
731
  if @api_client.config.debugging
@@ -725,6 +754,7 @@ module PulpRpmClient
725
754
  if !content_type.nil?
726
755
  header_params['Content-Type'] = content_type
727
756
  end
757
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
728
758
 
729
759
  # form parameters
730
760
  form_params = opts[:form_params] || {}
@@ -760,6 +790,7 @@ module PulpRpmClient
760
790
  # @param rpm_rpm_alternate_content_source_href [String]
761
791
  # @param rpm_rpm_alternate_content_source [RpmRpmAlternateContentSource]
762
792
  # @param [Hash] opts the optional parameters
793
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
763
794
  # @return [AsyncOperationResponse]
764
795
  def update(rpm_rpm_alternate_content_source_href, rpm_rpm_alternate_content_source, opts = {})
765
796
  data, _status_code, _headers = update_with_http_info(rpm_rpm_alternate_content_source_href, rpm_rpm_alternate_content_source, opts)
@@ -771,6 +802,7 @@ module PulpRpmClient
771
802
  # @param rpm_rpm_alternate_content_source_href [String]
772
803
  # @param rpm_rpm_alternate_content_source [RpmRpmAlternateContentSource]
773
804
  # @param [Hash] opts the optional parameters
805
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
774
806
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
775
807
  def update_with_http_info(rpm_rpm_alternate_content_source_href, rpm_rpm_alternate_content_source, opts = {})
776
808
  if @api_client.config.debugging
@@ -799,6 +831,7 @@ module PulpRpmClient
799
831
  if !content_type.nil?
800
832
  header_params['Content-Type'] = content_type
801
833
  end
834
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
802
835
 
803
836
  # form parameters
804
837
  form_params = opts[:form_params] || {}
@@ -22,6 +22,7 @@ module PulpRpmClient
22
22
  # Create an update record
23
23
  # Trigger an asynchronous task to create content,optionally create new repository version.
24
24
  # @param [Hash] opts the optional parameters
25
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
25
26
  # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
26
27
  # @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
27
28
  # @option opts [File] :file An uploaded file that may be turned into the content unit.
@@ -36,6 +37,7 @@ module PulpRpmClient
36
37
  # Create an update record
37
38
  # Trigger an asynchronous task to create content,optionally create new repository version.
38
39
  # @param [Hash] opts the optional parameters
40
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
39
41
  # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
40
42
  # @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
41
43
  # @option opts [File] :file An uploaded file that may be turned into the content unit.
@@ -65,6 +67,7 @@ module PulpRpmClient
65
67
  if !content_type.nil?
66
68
  header_params['Content-Type'] = content_type
67
69
  end
70
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
68
71
 
69
72
  # form parameters
70
73
  form_params = opts[:form_params] || {}
@@ -103,6 +106,7 @@ module PulpRpmClient
103
106
  # List update records
104
107
  # A ViewSet for UpdateRecord. Define endpoint name which will appear in the API endpoint for this content type. For example:: http://pulp.example.com/pulp/api/v3/content/rpm/advisories/ Also specify queryset and serializer for UpdateRecord.
105
108
  # @param [Hash] opts the optional parameters
109
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
106
110
  # @option opts [String] :id Filter results where id matches value
107
111
  # @option opts [Array<String>] :id__in Filter results where id is in a comma-separated list of values
108
112
  # @option opts [Integer] :limit Number of results to return per page.
@@ -137,6 +141,7 @@ module PulpRpmClient
137
141
  # List update records
138
142
  # A ViewSet for UpdateRecord. Define endpoint name which will appear in the API endpoint for this content type. For example:: http://pulp.example.com/pulp/api/v3/content/rpm/advisories/ Also specify queryset and serializer for UpdateRecord.
139
143
  # @param [Hash] opts the optional parameters
144
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
140
145
  # @option opts [String] :id Filter results where id matches value
141
146
  # @option opts [Array<String>] :id__in Filter results where id is in a comma-separated list of values
142
147
  # @option opts [Integer] :limit Number of results to return per page.
@@ -206,6 +211,7 @@ module PulpRpmClient
206
211
  header_params = opts[:header_params] || {}
207
212
  # HTTP header 'Accept' (if needed)
208
213
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
214
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
209
215
 
210
216
  # form parameters
211
217
  form_params = opts[:form_params] || {}
@@ -240,6 +246,7 @@ module PulpRpmClient
240
246
  # A ViewSet for UpdateRecord. Define endpoint name which will appear in the API endpoint for this content type. For example:: http://pulp.example.com/pulp/api/v3/content/rpm/advisories/ Also specify queryset and serializer for UpdateRecord.
241
247
  # @param rpm_update_record_href [String]
242
248
  # @param [Hash] opts the optional parameters
249
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
243
250
  # @option opts [Array<String>] :fields A list of fields to include in the response.
244
251
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
245
252
  # @return [RpmUpdateRecordResponse]
@@ -252,6 +259,7 @@ module PulpRpmClient
252
259
  # A ViewSet for UpdateRecord. Define endpoint name which will appear in the API endpoint for this content type. For example:: http://pulp.example.com/pulp/api/v3/content/rpm/advisories/ Also specify queryset and serializer for UpdateRecord.
253
260
  # @param rpm_update_record_href [String]
254
261
  # @param [Hash] opts the optional parameters
262
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
255
263
  # @option opts [Array<String>] :fields A list of fields to include in the response.
256
264
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
257
265
  # @return [Array<(RpmUpdateRecordResponse, Integer, Hash)>] RpmUpdateRecordResponse data, response status code and response headers
@@ -275,6 +283,7 @@ module PulpRpmClient
275
283
  header_params = opts[:header_params] || {}
276
284
  # HTTP header 'Accept' (if needed)
277
285
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
286
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
278
287
 
279
288
  # form parameters
280
289
  form_params = opts[:form_params] || {}
@@ -310,6 +319,7 @@ module PulpRpmClient
310
319
  # @param rpm_update_record_href [String]
311
320
  # @param set_label [SetLabel]
312
321
  # @param [Hash] opts the optional parameters
322
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
313
323
  # @return [SetLabelResponse]
314
324
  def set_label(rpm_update_record_href, set_label, opts = {})
315
325
  data, _status_code, _headers = set_label_with_http_info(rpm_update_record_href, set_label, opts)
@@ -321,6 +331,7 @@ module PulpRpmClient
321
331
  # @param rpm_update_record_href [String]
322
332
  # @param set_label [SetLabel]
323
333
  # @param [Hash] opts the optional parameters
334
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
324
335
  # @return [Array<(SetLabelResponse, Integer, Hash)>] SetLabelResponse data, response status code and response headers
325
336
  def set_label_with_http_info(rpm_update_record_href, set_label, opts = {})
326
337
  if @api_client.config.debugging
@@ -349,6 +360,7 @@ module PulpRpmClient
349
360
  if !content_type.nil?
350
361
  header_params['Content-Type'] = content_type
351
362
  end
363
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
352
364
 
353
365
  # form parameters
354
366
  form_params = opts[:form_params] || {}
@@ -384,6 +396,7 @@ module PulpRpmClient
384
396
  # @param rpm_update_record_href [String]
385
397
  # @param unset_label [UnsetLabel]
386
398
  # @param [Hash] opts the optional parameters
399
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
387
400
  # @return [UnsetLabelResponse]
388
401
  def unset_label(rpm_update_record_href, unset_label, opts = {})
389
402
  data, _status_code, _headers = unset_label_with_http_info(rpm_update_record_href, unset_label, opts)
@@ -395,6 +408,7 @@ module PulpRpmClient
395
408
  # @param rpm_update_record_href [String]
396
409
  # @param unset_label [UnsetLabel]
397
410
  # @param [Hash] opts the optional parameters
411
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
398
412
  # @return [Array<(UnsetLabelResponse, Integer, Hash)>] UnsetLabelResponse data, response status code and response headers
399
413
  def unset_label_with_http_info(rpm_update_record_href, unset_label, opts = {})
400
414
  if @api_client.config.debugging
@@ -423,6 +437,7 @@ module PulpRpmClient
423
437
  if !content_type.nil?
424
438
  header_params['Content-Type'] = content_type
425
439
  end
440
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
426
441
 
427
442
  # form parameters
428
443
  form_params = opts[:form_params] || {}
@@ -22,6 +22,7 @@ module PulpRpmClient
22
22
  # List distribution trees
23
23
  # Distribution Tree Viewset.
24
24
  # @param [Hash] opts the optional parameters
25
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
25
26
  # @option opts [Integer] :limit Number of results to return per page.
26
27
  # @option opts [Integer] :offset The initial index from which to return the results.
27
28
  # @option opts [Array<String>] :ordering Ordering * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
@@ -45,6 +46,7 @@ module PulpRpmClient
45
46
  # List distribution trees
46
47
  # Distribution Tree Viewset.
47
48
  # @param [Hash] opts the optional parameters
49
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
48
50
  # @option opts [Integer] :limit Number of results to return per page.
49
51
  # @option opts [Integer] :offset The initial index from which to return the results.
50
52
  # @option opts [Array<String>] :ordering Ordering * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
@@ -92,6 +94,7 @@ module PulpRpmClient
92
94
  header_params = opts[:header_params] || {}
93
95
  # HTTP header 'Accept' (if needed)
94
96
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
97
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
95
98
 
96
99
  # form parameters
97
100
  form_params = opts[:form_params] || {}
@@ -126,6 +129,7 @@ module PulpRpmClient
126
129
  # Distribution Tree Viewset.
127
130
  # @param rpm_distribution_tree_href [String]
128
131
  # @param [Hash] opts the optional parameters
132
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
129
133
  # @option opts [Array<String>] :fields A list of fields to include in the response.
130
134
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
131
135
  # @return [RpmDistributionTreeResponse]
@@ -138,6 +142,7 @@ module PulpRpmClient
138
142
  # Distribution Tree Viewset.
139
143
  # @param rpm_distribution_tree_href [String]
140
144
  # @param [Hash] opts the optional parameters
145
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
141
146
  # @option opts [Array<String>] :fields A list of fields to include in the response.
142
147
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
143
148
  # @return [Array<(RpmDistributionTreeResponse, Integer, Hash)>] RpmDistributionTreeResponse data, response status code and response headers
@@ -161,6 +166,7 @@ module PulpRpmClient
161
166
  header_params = opts[:header_params] || {}
162
167
  # HTTP header 'Accept' (if needed)
163
168
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
169
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
164
170
 
165
171
  # form parameters
166
172
  form_params = opts[:form_params] || {}
@@ -196,6 +202,7 @@ module PulpRpmClient
196
202
  # @param rpm_distribution_tree_href [String]
197
203
  # @param set_label [SetLabel]
198
204
  # @param [Hash] opts the optional parameters
205
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
199
206
  # @return [SetLabelResponse]
200
207
  def set_label(rpm_distribution_tree_href, set_label, opts = {})
201
208
  data, _status_code, _headers = set_label_with_http_info(rpm_distribution_tree_href, set_label, opts)
@@ -207,6 +214,7 @@ module PulpRpmClient
207
214
  # @param rpm_distribution_tree_href [String]
208
215
  # @param set_label [SetLabel]
209
216
  # @param [Hash] opts the optional parameters
217
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
210
218
  # @return [Array<(SetLabelResponse, Integer, Hash)>] SetLabelResponse data, response status code and response headers
211
219
  def set_label_with_http_info(rpm_distribution_tree_href, set_label, opts = {})
212
220
  if @api_client.config.debugging
@@ -235,6 +243,7 @@ module PulpRpmClient
235
243
  if !content_type.nil?
236
244
  header_params['Content-Type'] = content_type
237
245
  end
246
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
238
247
 
239
248
  # form parameters
240
249
  form_params = opts[:form_params] || {}
@@ -270,6 +279,7 @@ module PulpRpmClient
270
279
  # @param rpm_distribution_tree_href [String]
271
280
  # @param unset_label [UnsetLabel]
272
281
  # @param [Hash] opts the optional parameters
282
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
273
283
  # @return [UnsetLabelResponse]
274
284
  def unset_label(rpm_distribution_tree_href, unset_label, opts = {})
275
285
  data, _status_code, _headers = unset_label_with_http_info(rpm_distribution_tree_href, unset_label, opts)
@@ -281,6 +291,7 @@ module PulpRpmClient
281
291
  # @param rpm_distribution_tree_href [String]
282
292
  # @param unset_label [UnsetLabel]
283
293
  # @param [Hash] opts the optional parameters
294
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
284
295
  # @return [Array<(UnsetLabelResponse, Integer, Hash)>] UnsetLabelResponse data, response status code and response headers
285
296
  def unset_label_with_http_info(rpm_distribution_tree_href, unset_label, opts = {})
286
297
  if @api_client.config.debugging
@@ -309,6 +320,7 @@ module PulpRpmClient
309
320
  if !content_type.nil?
310
321
  header_params['Content-Type'] = content_type
311
322
  end
323
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
312
324
 
313
325
  # form parameters
314
326
  form_params = opts[:form_params] || {}