pulp_deb_client 3.5.2 → 3.6.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 (79) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +5 -4
  3. data/docs/ContentGenericContentsApi.md +22 -8
  4. data/docs/ContentInstallerFileIndicesApi.md +28 -12
  5. data/docs/ContentInstallerPackagesApi.md +22 -8
  6. data/docs/ContentPackageIndicesApi.md +28 -12
  7. data/docs/ContentPackageReleaseComponentsApi.md +28 -12
  8. data/docs/ContentPackagesApi.md +22 -8
  9. data/docs/ContentReleaseArchitecturesApi.md +28 -12
  10. data/docs/ContentReleaseComponentsApi.md +28 -12
  11. data/docs/ContentReleaseFilesApi.md +28 -12
  12. data/docs/ContentReleasesApi.md +28 -12
  13. data/docs/ContentSourceIndicesApi.md +28 -12
  14. data/docs/ContentSourcePackagesApi.md +28 -12
  15. data/docs/ContentSourceReleaseComponentsApi.md +28 -12
  16. data/docs/DebAptDistribution.md +3 -1
  17. data/docs/DebAptDistributionResponse.md +3 -1
  18. data/docs/DebAptPublication.md +2 -0
  19. data/docs/DebAptPublicationResponse.md +2 -0
  20. data/docs/DebCopyApi.md +8 -4
  21. data/docs/DistributionsAptApi.md +72 -32
  22. data/docs/PatcheddebAptDistribution.md +3 -1
  23. data/docs/PublicationsAptApi.md +40 -16
  24. data/docs/PublicationsVerbatimApi.md +40 -16
  25. data/docs/RemotesAptApi.md +72 -32
  26. data/docs/RepositoriesAptApi.md +88 -40
  27. data/docs/RepositoriesAptVersionsApi.md +22 -10
  28. data/lib/pulp_deb_client/api/content_generic_contents_api.rb +15 -0
  29. data/lib/pulp_deb_client/api/content_installer_file_indices_api.rb +15 -0
  30. data/lib/pulp_deb_client/api/content_installer_packages_api.rb +15 -0
  31. data/lib/pulp_deb_client/api/content_package_indices_api.rb +15 -0
  32. data/lib/pulp_deb_client/api/content_package_release_components_api.rb +15 -0
  33. data/lib/pulp_deb_client/api/content_packages_api.rb +15 -0
  34. data/lib/pulp_deb_client/api/content_release_architectures_api.rb +15 -0
  35. data/lib/pulp_deb_client/api/content_release_components_api.rb +15 -0
  36. data/lib/pulp_deb_client/api/content_release_files_api.rb +15 -0
  37. data/lib/pulp_deb_client/api/content_releases_api.rb +15 -0
  38. data/lib/pulp_deb_client/api/content_source_indices_api.rb +15 -0
  39. data/lib/pulp_deb_client/api/content_source_packages_api.rb +15 -0
  40. data/lib/pulp_deb_client/api/content_source_release_components_api.rb +15 -0
  41. data/lib/pulp_deb_client/api/deb_copy_api.rb +3 -0
  42. data/lib/pulp_deb_client/api/distributions_apt_api.rb +36 -0
  43. data/lib/pulp_deb_client/api/publications_apt_api.rb +24 -0
  44. data/lib/pulp_deb_client/api/publications_verbatim_api.rb +24 -0
  45. data/lib/pulp_deb_client/api/remotes_apt_api.rb +36 -0
  46. data/lib/pulp_deb_client/api/repositories_apt_api.rb +42 -0
  47. data/lib/pulp_deb_client/api/repositories_apt_versions_api.rb +15 -3
  48. data/lib/pulp_deb_client/models/deb_apt_distribution.rb +14 -5
  49. data/lib/pulp_deb_client/models/deb_apt_distribution_response.rb +14 -5
  50. data/lib/pulp_deb_client/models/deb_apt_publication.rb +10 -1
  51. data/lib/pulp_deb_client/models/deb_apt_publication_response.rb +10 -1
  52. data/lib/pulp_deb_client/models/patcheddeb_apt_distribution.rb +14 -5
  53. data/lib/pulp_deb_client/version.rb +1 -1
  54. data/spec/api/content_generic_contents_api_spec.rb +5 -0
  55. data/spec/api/content_installer_file_indices_api_spec.rb +5 -0
  56. data/spec/api/content_installer_packages_api_spec.rb +5 -0
  57. data/spec/api/content_package_indices_api_spec.rb +5 -0
  58. data/spec/api/content_package_release_components_api_spec.rb +5 -0
  59. data/spec/api/content_packages_api_spec.rb +5 -0
  60. data/spec/api/content_release_architectures_api_spec.rb +5 -0
  61. data/spec/api/content_release_components_api_spec.rb +5 -0
  62. data/spec/api/content_release_files_api_spec.rb +5 -0
  63. data/spec/api/content_releases_api_spec.rb +5 -0
  64. data/spec/api/content_source_indices_api_spec.rb +5 -0
  65. data/spec/api/content_source_packages_api_spec.rb +5 -0
  66. data/spec/api/content_source_release_components_api_spec.rb +5 -0
  67. data/spec/api/deb_copy_api_spec.rb +1 -0
  68. data/spec/api/distributions_apt_api_spec.rb +12 -0
  69. data/spec/api/publications_apt_api_spec.rb +8 -0
  70. data/spec/api/publications_verbatim_api_spec.rb +8 -0
  71. data/spec/api/remotes_apt_api_spec.rb +12 -0
  72. data/spec/api/repositories_apt_api_spec.rb +14 -0
  73. data/spec/api/repositories_apt_versions_api_spec.rb +5 -1
  74. data/spec/models/deb_apt_distribution_response_spec.rb +6 -0
  75. data/spec/models/deb_apt_distribution_spec.rb +6 -0
  76. data/spec/models/deb_apt_publication_response_spec.rb +6 -0
  77. data/spec/models/deb_apt_publication_spec.rb +6 -0
  78. data/spec/models/patcheddeb_apt_distribution_spec.rb +6 -0
  79. metadata +75 -75
@@ -24,6 +24,7 @@ module PulpDebClient
24
24
  # @param deb_apt_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(deb_apt_distribution_href, nested_role, opts = {})
29
30
  data, _status_code, _headers = add_role_with_http_info(deb_apt_distribution_href, nested_role, opts)
@@ -35,6 +36,7 @@ module PulpDebClient
35
36
  # @param deb_apt_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(deb_apt_distribution_href, nested_role, opts = {})
40
42
  if @api_client.config.debugging
@@ -63,6 +65,7 @@ module PulpDebClient
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 PulpDebClient
97
100
  # Trigger an asynchronous create task
98
101
  # @param deb_apt_distribution [DebAptDistribution]
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(deb_apt_distribution, opts = {})
102
106
  data, _status_code, _headers = create_with_http_info(deb_apt_distribution, opts)
@@ -107,6 +111,7 @@ module PulpDebClient
107
111
  # Trigger an asynchronous create task
108
112
  # @param deb_apt_distribution [DebAptDistribution]
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(deb_apt_distribution, opts = {})
112
117
  if @api_client.config.debugging
@@ -131,6 +136,7 @@ module PulpDebClient
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 PulpDebClient
165
171
  # Trigger an asynchronous delete task
166
172
  # @param deb_apt_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(deb_apt_distribution_href, opts = {})
170
177
  data, _status_code, _headers = delete_with_http_info(deb_apt_distribution_href, opts)
@@ -175,6 +182,7 @@ module PulpDebClient
175
182
  # Trigger an asynchronous delete task
176
183
  # @param deb_apt_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(deb_apt_distribution_href, opts = {})
180
188
  if @api_client.config.debugging
@@ -194,6 +202,7 @@ module PulpDebClient
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 PulpDebClient
227
236
  # List apt distributions
228
237
  # An AptDistribution is just an AptPublication made available via the content app. Creating an AptDistribution is a comparatively quick action. This way Pulp users may take as much time as is needed to prepare a VerbatimPublication or AptPublication, and then control the exact moment when that publication is made available.
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 PulpDebClient
263
273
  # List apt distributions
264
274
  # An AptDistribution is just an AptPublication made available via the content app. Creating an AptDistribution is a comparatively quick action. This way Pulp users may take as much time as is needed to prepare a VerbatimPublication or AptPublication, and then control the exact moment when that publication is made available.
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 PulpDebClient
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 PulpDebClient
370
382
  # List roles assigned to this object.
371
383
  # @param deb_apt_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 PulpDebClient
382
395
  # List roles assigned to this object.
383
396
  # @param deb_apt_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 PulpDebClient
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 PulpDebClient
439
454
  # List permissions available to the current user on this object.
440
455
  # @param deb_apt_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 PulpDebClient
451
467
  # List permissions available to the current user on this object.
452
468
  # @param deb_apt_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 PulpDebClient
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 PulpDebClient
509
527
  # @param deb_apt_distribution_href [String]
510
528
  # @param patcheddeb_apt_distribution [PatcheddebAptDistribution]
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(deb_apt_distribution_href, patcheddeb_apt_distribution, opts = {})
514
533
  data, _status_code, _headers = partial_update_with_http_info(deb_apt_distribution_href, patcheddeb_apt_distribution, opts)
@@ -520,6 +539,7 @@ module PulpDebClient
520
539
  # @param deb_apt_distribution_href [String]
521
540
  # @param patcheddeb_apt_distribution [PatcheddebAptDistribution]
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(deb_apt_distribution_href, patcheddeb_apt_distribution, opts = {})
525
545
  if @api_client.config.debugging
@@ -548,6 +568,7 @@ module PulpDebClient
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 PulpDebClient
582
603
  # An AptDistribution is just an AptPublication made available via the content app. Creating an AptDistribution is a comparatively quick action. This way Pulp users may take as much time as is needed to prepare a VerbatimPublication or AptPublication, and then control the exact moment when that publication is made available.
583
604
  # @param deb_apt_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 [DebAptDistributionResponse]
@@ -594,6 +616,7 @@ module PulpDebClient
594
616
  # An AptDistribution is just an AptPublication made available via the content app. Creating an AptDistribution is a comparatively quick action. This way Pulp users may take as much time as is needed to prepare a VerbatimPublication or AptPublication, and then control the exact moment when that publication is made available.
595
617
  # @param deb_apt_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<(DebAptDistributionResponse, Integer, Hash)>] DebAptDistributionResponse data, response status code and response headers
@@ -617,6 +640,7 @@ module PulpDebClient
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 PulpDebClient
652
676
  # @param deb_apt_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(deb_apt_distribution_href, nested_role, opts = {})
657
682
  data, _status_code, _headers = remove_role_with_http_info(deb_apt_distribution_href, nested_role, opts)
@@ -663,6 +688,7 @@ module PulpDebClient
663
688
  # @param deb_apt_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(deb_apt_distribution_href, nested_role, opts = {})
668
694
  if @api_client.config.debugging
@@ -691,6 +717,7 @@ module PulpDebClient
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 PulpDebClient
726
753
  # @param deb_apt_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(deb_apt_distribution_href, set_label, opts = {})
731
759
  data, _status_code, _headers = set_label_with_http_info(deb_apt_distribution_href, set_label, opts)
@@ -737,6 +765,7 @@ module PulpDebClient
737
765
  # @param deb_apt_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(deb_apt_distribution_href, set_label, opts = {})
742
771
  if @api_client.config.debugging
@@ -765,6 +794,7 @@ module PulpDebClient
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 PulpDebClient
800
830
  # @param deb_apt_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(deb_apt_distribution_href, unset_label, opts = {})
805
836
  data, _status_code, _headers = unset_label_with_http_info(deb_apt_distribution_href, unset_label, opts)
@@ -811,6 +842,7 @@ module PulpDebClient
811
842
  # @param deb_apt_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(deb_apt_distribution_href, unset_label, opts = {})
816
848
  if @api_client.config.debugging
@@ -839,6 +871,7 @@ module PulpDebClient
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 PulpDebClient
874
907
  # @param deb_apt_distribution_href [String]
875
908
  # @param deb_apt_distribution [DebAptDistribution]
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(deb_apt_distribution_href, deb_apt_distribution, opts = {})
879
913
  data, _status_code, _headers = update_with_http_info(deb_apt_distribution_href, deb_apt_distribution, opts)
@@ -885,6 +919,7 @@ module PulpDebClient
885
919
  # @param deb_apt_distribution_href [String]
886
920
  # @param deb_apt_distribution [DebAptDistribution]
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(deb_apt_distribution_href, deb_apt_distribution, opts = {})
890
925
  if @api_client.config.debugging
@@ -913,6 +948,7 @@ module PulpDebClient
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 PulpDebClient
24
24
  # @param deb_apt_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(deb_apt_publication_href, nested_role, opts = {})
29
30
  data, _status_code, _headers = add_role_with_http_info(deb_apt_publication_href, nested_role, opts)
@@ -35,6 +36,7 @@ module PulpDebClient
35
36
  # @param deb_apt_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(deb_apt_publication_href, nested_role, opts = {})
40
42
  if @api_client.config.debugging
@@ -63,6 +65,7 @@ module PulpDebClient
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 PulpDebClient
97
100
  # Trigger an asynchronous task to publish content
98
101
  # @param deb_apt_publication [DebAptPublication]
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(deb_apt_publication, opts = {})
102
106
  data, _status_code, _headers = create_with_http_info(deb_apt_publication, opts)
@@ -107,6 +111,7 @@ module PulpDebClient
107
111
  # Trigger an asynchronous task to publish content
108
112
  # @param deb_apt_publication [DebAptPublication]
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(deb_apt_publication, opts = {})
112
117
  if @api_client.config.debugging
@@ -131,6 +136,7 @@ module PulpDebClient
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 PulpDebClient
165
171
  # An AptPublication is the ready to serve Pulp-internal representation of an AptRepositoryVersion. When creating an APT publication, users must use simple or structured mode (or both). If the publication should include '.deb' packages that were manually uploaded to the relevant AptRepository, users must use 'simple=true'. Conversely, 'structured=true' is only useful for publishing content obtained via synchronization. Once a Pulp publication has been created, it can be served by creating a Pulp distribution (in a near atomic action).
166
172
  # @param deb_apt_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(deb_apt_publication_href, opts = {})
170
177
  delete_with_http_info(deb_apt_publication_href, opts)
@@ -175,6 +182,7 @@ module PulpDebClient
175
182
  # An AptPublication is the ready to serve Pulp-internal representation of an AptRepositoryVersion. When creating an APT publication, users must use simple or structured mode (or both). If the publication should include &#39;.deb&#39; packages that were manually uploaded to the relevant AptRepository, users must use &#39;simple&#x3D;true&#39;. Conversely, &#39;structured&#x3D;true&#39; is only useful for publishing content obtained via synchronization. Once a Pulp publication has been created, it can be served by creating a Pulp distribution (in a near atomic action).
176
183
  # @param deb_apt_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(deb_apt_publication_href, opts = {})
180
188
  if @api_client.config.debugging
@@ -192,6 +200,7 @@ module PulpDebClient
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 PulpDebClient
225
234
  # List apt publications
226
235
  # An AptPublication is the ready to serve Pulp-internal representation of an AptRepositoryVersion. When creating an APT publication, users must use simple or structured mode (or both). If the publication should include '.deb' packages that were manually uploaded to the relevant AptRepository, users must use 'simple=true'. Conversely, 'structured=true' is only useful for publishing content obtained via synchronization. Once a Pulp publication has been created, it can be served by creating a Pulp distribution (in a near atomic action).
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 PulpDebClient
255
265
  # List apt publications
256
266
  # An AptPublication is the ready to serve Pulp-internal representation of an AptRepositoryVersion. When creating an APT publication, users must use simple or structured mode (or both). If the publication should include &#39;.deb&#39; packages that were manually uploaded to the relevant AptRepository, users must use &#39;simple&#x3D;true&#39;. Conversely, &#39;structured&#x3D;true&#39; is only useful for publishing content obtained via synchronization. Once a Pulp publication has been created, it can be served by creating a Pulp distribution (in a near atomic action).
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 PulpDebClient
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 PulpDebClient
350
362
  # List roles assigned to this object.
351
363
  # @param deb_apt_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 PulpDebClient
362
375
  # List roles assigned to this object.
363
376
  # @param deb_apt_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 PulpDebClient
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 PulpDebClient
419
434
  # List permissions available to the current user on this object.
420
435
  # @param deb_apt_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 PulpDebClient
431
447
  # List permissions available to the current user on this object.
432
448
  # @param deb_apt_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 PulpDebClient
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 PulpDebClient
488
506
  # An AptPublication is the ready to serve Pulp-internal representation of an AptRepositoryVersion. When creating an APT publication, users must use simple or structured mode (or both). If the publication should include '.deb' packages that were manually uploaded to the relevant AptRepository, users must use 'simple=true'. Conversely, 'structured=true' is only useful for publishing content obtained via synchronization. Once a Pulp publication has been created, it can be served by creating a Pulp distribution (in a near atomic action).
489
507
  # @param deb_apt_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 [DebAptPublicationResponse]
@@ -500,6 +519,7 @@ module PulpDebClient
500
519
  # An AptPublication is the ready to serve Pulp-internal representation of an AptRepositoryVersion. When creating an APT publication, users must use simple or structured mode (or both). If the publication should include &#39;.deb&#39; packages that were manually uploaded to the relevant AptRepository, users must use &#39;simple&#x3D;true&#39;. Conversely, &#39;structured&#x3D;true&#39; is only useful for publishing content obtained via synchronization. Once a Pulp publication has been created, it can be served by creating a Pulp distribution (in a near atomic action).
501
520
  # @param deb_apt_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<(DebAptPublicationResponse, Integer, Hash)>] DebAptPublicationResponse data, response status code and response headers
@@ -523,6 +543,7 @@ module PulpDebClient
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 PulpDebClient
558
579
  # @param deb_apt_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(deb_apt_publication_href, nested_role, opts = {})
563
585
  data, _status_code, _headers = remove_role_with_http_info(deb_apt_publication_href, nested_role, opts)
@@ -569,6 +591,7 @@ module PulpDebClient
569
591
  # @param deb_apt_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(deb_apt_publication_href, nested_role, opts = {})
574
597
  if @api_client.config.debugging
@@ -597,6 +620,7 @@ module PulpDebClient
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] || {}
@@ -24,6 +24,7 @@ module PulpDebClient
24
24
  # @param deb_verbatim_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(deb_verbatim_publication_href, nested_role, opts = {})
29
30
  data, _status_code, _headers = add_role_with_http_info(deb_verbatim_publication_href, nested_role, opts)
@@ -35,6 +36,7 @@ module PulpDebClient
35
36
  # @param deb_verbatim_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(deb_verbatim_publication_href, nested_role, opts = {})
40
42
  if @api_client.config.debugging
@@ -63,6 +65,7 @@ module PulpDebClient
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 PulpDebClient
97
100
  # Trigger an asynchronous task to publish content
98
101
  # @param deb_verbatim_publication [DebVerbatimPublication]
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(deb_verbatim_publication, opts = {})
102
106
  data, _status_code, _headers = create_with_http_info(deb_verbatim_publication, opts)
@@ -107,6 +111,7 @@ module PulpDebClient
107
111
  # Trigger an asynchronous task to publish content
108
112
  # @param deb_verbatim_publication [DebVerbatimPublication]
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(deb_verbatim_publication, opts = {})
112
117
  if @api_client.config.debugging
@@ -131,6 +136,7 @@ module PulpDebClient
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 PulpDebClient
165
171
  # An VerbatimPublication is the Pulp-internal representation of a \"mirrored\" AptRepositoryVersion. In other words, the verbatim publisher will recreate the synced subset of some a APT repository using the exact same metadata files and signatures as used by the upstream original. Once a Pulp publication has been created, it can be served by creating a Pulp distribution (in a near atomic action).
166
172
  # @param deb_verbatim_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(deb_verbatim_publication_href, opts = {})
170
177
  delete_with_http_info(deb_verbatim_publication_href, opts)
@@ -175,6 +182,7 @@ module PulpDebClient
175
182
  # An VerbatimPublication is the Pulp-internal representation of a \&quot;mirrored\&quot; AptRepositoryVersion. In other words, the verbatim publisher will recreate the synced subset of some a APT repository using the exact same metadata files and signatures as used by the upstream original. Once a Pulp publication has been created, it can be served by creating a Pulp distribution (in a near atomic action).
176
183
  # @param deb_verbatim_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(deb_verbatim_publication_href, opts = {})
180
188
  if @api_client.config.debugging
@@ -192,6 +200,7 @@ module PulpDebClient
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 PulpDebClient
225
234
  # List verbatim publications
226
235
  # An VerbatimPublication is the Pulp-internal representation of a \"mirrored\" AptRepositoryVersion. In other words, the verbatim publisher will recreate the synced subset of some a APT repository using the exact same metadata files and signatures as used by the upstream original. Once a Pulp publication has been created, it can be served by creating a Pulp distribution (in a near atomic action).
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 PulpDebClient
255
265
  # List verbatim publications
256
266
  # An VerbatimPublication is the Pulp-internal representation of a \&quot;mirrored\&quot; AptRepositoryVersion. In other words, the verbatim publisher will recreate the synced subset of some a APT repository using the exact same metadata files and signatures as used by the upstream original. Once a Pulp publication has been created, it can be served by creating a Pulp distribution (in a near atomic action).
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 PulpDebClient
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 PulpDebClient
350
362
  # List roles assigned to this object.
351
363
  # @param deb_verbatim_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 PulpDebClient
362
375
  # List roles assigned to this object.
363
376
  # @param deb_verbatim_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 PulpDebClient
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 PulpDebClient
419
434
  # List permissions available to the current user on this object.
420
435
  # @param deb_verbatim_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 PulpDebClient
431
447
  # List permissions available to the current user on this object.
432
448
  # @param deb_verbatim_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 PulpDebClient
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 PulpDebClient
488
506
  # An VerbatimPublication is the Pulp-internal representation of a \"mirrored\" AptRepositoryVersion. In other words, the verbatim publisher will recreate the synced subset of some a APT repository using the exact same metadata files and signatures as used by the upstream original. Once a Pulp publication has been created, it can be served by creating a Pulp distribution (in a near atomic action).
489
507
  # @param deb_verbatim_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 [DebVerbatimPublicationResponse]
@@ -500,6 +519,7 @@ module PulpDebClient
500
519
  # An VerbatimPublication is the Pulp-internal representation of a \&quot;mirrored\&quot; AptRepositoryVersion. In other words, the verbatim publisher will recreate the synced subset of some a APT repository using the exact same metadata files and signatures as used by the upstream original. Once a Pulp publication has been created, it can be served by creating a Pulp distribution (in a near atomic action).
501
520
  # @param deb_verbatim_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<(DebVerbatimPublicationResponse, Integer, Hash)>] DebVerbatimPublicationResponse data, response status code and response headers
@@ -523,6 +543,7 @@ module PulpDebClient
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 PulpDebClient
558
579
  # @param deb_verbatim_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(deb_verbatim_publication_href, nested_role, opts = {})
563
585
  data, _status_code, _headers = remove_role_with_http_info(deb_verbatim_publication_href, nested_role, opts)
@@ -569,6 +591,7 @@ module PulpDebClient
569
591
  # @param deb_verbatim_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(deb_verbatim_publication_href, nested_role, opts = {})
574
597
  if @api_client.config.debugging
@@ -597,6 +620,7 @@ module PulpDebClient
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] || {}