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
@@ -22,6 +22,7 @@ module PulpDebClient
22
22
  # Create a package
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 [String] :artifact Artifact file representing the physical content
@@ -40,6 +41,7 @@ module PulpDebClient
40
41
  # Create a package
41
42
  # Trigger an asynchronous task to create content,optionally create new repository version.
42
43
  # @param [Hash] opts the optional parameters
44
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
43
45
  # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
44
46
  # @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
45
47
  # @option opts [String] :artifact Artifact file representing the physical content
@@ -85,6 +87,7 @@ module PulpDebClient
85
87
  if !content_type.nil?
86
88
  header_params['Content-Type'] = content_type
87
89
  end
90
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
88
91
 
89
92
  # form parameters
90
93
  form_params = opts[:form_params] || {}
@@ -127,6 +130,7 @@ module PulpDebClient
127
130
  # List packages
128
131
  # A Package represents a '.deb' binary package. Associated artifacts: Exactly one '.deb' package file.
129
132
  # @param [Hash] opts the optional parameters
133
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
130
134
  # @option opts [String] :architecture Filter results where architecture matches value
131
135
  # @option opts [String] :auto_built_package Filter results where auto_built_package matches value
132
136
  # @option opts [Boolean] :build_essential Filter results where build_essential matches value * &#x60;True&#x60; - yes * &#x60;False&#x60; - no
@@ -178,6 +182,7 @@ module PulpDebClient
178
182
  # List packages
179
183
  # A Package represents a &#39;.deb&#39; binary package. Associated artifacts: Exactly one &#39;.deb&#39; package file.
180
184
  # @param [Hash] opts the optional parameters
185
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
181
186
  # @option opts [String] :architecture Filter results where architecture matches value
182
187
  # @option opts [String] :auto_built_package Filter results where auto_built_package matches value
183
188
  # @option opts [Boolean] :build_essential Filter results where build_essential matches value * &#x60;True&#x60; - yes * &#x60;False&#x60; - no
@@ -285,6 +290,7 @@ module PulpDebClient
285
290
  header_params = opts[:header_params] || {}
286
291
  # HTTP header 'Accept' (if needed)
287
292
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
293
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
288
294
 
289
295
  # form parameters
290
296
  form_params = opts[:form_params] || {}
@@ -319,6 +325,7 @@ module PulpDebClient
319
325
  # A Package represents a '.deb' binary package. Associated artifacts: Exactly one '.deb' package file.
320
326
  # @param deb_package_href [String]
321
327
  # @param [Hash] opts the optional parameters
328
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
322
329
  # @option opts [Array<String>] :fields A list of fields to include in the response.
323
330
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
324
331
  # @return [DebPackageResponse]
@@ -331,6 +338,7 @@ module PulpDebClient
331
338
  # A Package represents a &#39;.deb&#39; binary package. Associated artifacts: Exactly one &#39;.deb&#39; package file.
332
339
  # @param deb_package_href [String]
333
340
  # @param [Hash] opts the optional parameters
341
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
334
342
  # @option opts [Array<String>] :fields A list of fields to include in the response.
335
343
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
336
344
  # @return [Array<(DebPackageResponse, Integer, Hash)>] DebPackageResponse data, response status code and response headers
@@ -354,6 +362,7 @@ module PulpDebClient
354
362
  header_params = opts[:header_params] || {}
355
363
  # HTTP header 'Accept' (if needed)
356
364
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
365
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
357
366
 
358
367
  # form parameters
359
368
  form_params = opts[:form_params] || {}
@@ -389,6 +398,7 @@ module PulpDebClient
389
398
  # @param deb_package_href [String]
390
399
  # @param set_label [SetLabel]
391
400
  # @param [Hash] opts the optional parameters
401
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
392
402
  # @return [SetLabelResponse]
393
403
  def set_label(deb_package_href, set_label, opts = {})
394
404
  data, _status_code, _headers = set_label_with_http_info(deb_package_href, set_label, opts)
@@ -400,6 +410,7 @@ module PulpDebClient
400
410
  # @param deb_package_href [String]
401
411
  # @param set_label [SetLabel]
402
412
  # @param [Hash] opts the optional parameters
413
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
403
414
  # @return [Array<(SetLabelResponse, Integer, Hash)>] SetLabelResponse data, response status code and response headers
404
415
  def set_label_with_http_info(deb_package_href, set_label, opts = {})
405
416
  if @api_client.config.debugging
@@ -428,6 +439,7 @@ module PulpDebClient
428
439
  if !content_type.nil?
429
440
  header_params['Content-Type'] = content_type
430
441
  end
442
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
431
443
 
432
444
  # form parameters
433
445
  form_params = opts[:form_params] || {}
@@ -463,6 +475,7 @@ module PulpDebClient
463
475
  # @param deb_package_href [String]
464
476
  # @param unset_label [UnsetLabel]
465
477
  # @param [Hash] opts the optional parameters
478
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
466
479
  # @return [UnsetLabelResponse]
467
480
  def unset_label(deb_package_href, unset_label, opts = {})
468
481
  data, _status_code, _headers = unset_label_with_http_info(deb_package_href, unset_label, opts)
@@ -474,6 +487,7 @@ module PulpDebClient
474
487
  # @param deb_package_href [String]
475
488
  # @param unset_label [UnsetLabel]
476
489
  # @param [Hash] opts the optional parameters
490
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
477
491
  # @return [Array<(UnsetLabelResponse, Integer, Hash)>] UnsetLabelResponse data, response status code and response headers
478
492
  def unset_label_with_http_info(deb_package_href, unset_label, opts = {})
479
493
  if @api_client.config.debugging
@@ -502,6 +516,7 @@ module PulpDebClient
502
516
  if !content_type.nil?
503
517
  header_params['Content-Type'] = content_type
504
518
  end
519
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
505
520
 
506
521
  # form parameters
507
522
  form_params = opts[:form_params] || {}
@@ -23,6 +23,7 @@ module PulpDebClient
23
23
  # Trigger an asynchronous task to create content,optionally create new repository version.
24
24
  # @param deb_release_architecture [DebReleaseArchitecture]
25
25
  # @param [Hash] opts the optional parameters
26
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
26
27
  # @return [AsyncOperationResponse]
27
28
  def create(deb_release_architecture, opts = {})
28
29
  data, _status_code, _headers = create_with_http_info(deb_release_architecture, opts)
@@ -33,6 +34,7 @@ module PulpDebClient
33
34
  # Trigger an asynchronous task to create content,optionally create new repository version.
34
35
  # @param deb_release_architecture [DebReleaseArchitecture]
35
36
  # @param [Hash] opts the optional parameters
37
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
36
38
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
37
39
  def create_with_http_info(deb_release_architecture, opts = {})
38
40
  if @api_client.config.debugging
@@ -57,6 +59,7 @@ module PulpDebClient
57
59
  if !content_type.nil?
58
60
  header_params['Content-Type'] = content_type
59
61
  end
62
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
60
63
 
61
64
  # form parameters
62
65
  form_params = opts[:form_params] || {}
@@ -90,6 +93,7 @@ module PulpDebClient
90
93
  # List release architectures
91
94
  # A ReleaseArchitecture represents a single dpkg architecture string. Associated artifacts: None; contains only metadata. Every ReleaseArchitecture is always associated with exactly one Release. This indicates that the release/distribution in question supports this architecture.
92
95
  # @param [Hash] opts the optional parameters
96
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
93
97
  # @option opts [String] :architecture Filter results where architecture matches value
94
98
  # @option opts [String] :distribution Filter results where distribution matches value
95
99
  # @option opts [Integer] :limit Number of results to return per page.
@@ -115,6 +119,7 @@ module PulpDebClient
115
119
  # List release architectures
116
120
  # A ReleaseArchitecture represents a single dpkg architecture string. Associated artifacts: None; contains only metadata. Every ReleaseArchitecture is always associated with exactly one Release. This indicates that the release/distribution in question supports this architecture.
117
121
  # @param [Hash] opts the optional parameters
122
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
118
123
  # @option opts [String] :architecture Filter results where architecture matches value
119
124
  # @option opts [String] :distribution Filter results where distribution matches value
120
125
  # @option opts [Integer] :limit Number of results to return per page.
@@ -166,6 +171,7 @@ module PulpDebClient
166
171
  header_params = opts[:header_params] || {}
167
172
  # HTTP header 'Accept' (if needed)
168
173
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
174
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
169
175
 
170
176
  # form parameters
171
177
  form_params = opts[:form_params] || {}
@@ -200,6 +206,7 @@ module PulpDebClient
200
206
  # A ReleaseArchitecture represents a single dpkg architecture string. Associated artifacts: None; contains only metadata. Every ReleaseArchitecture is always associated with exactly one Release. This indicates that the release/distribution in question supports this architecture.
201
207
  # @param deb_release_architecture_href [String]
202
208
  # @param [Hash] opts the optional parameters
209
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
203
210
  # @option opts [Array<String>] :fields A list of fields to include in the response.
204
211
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
205
212
  # @return [DebReleaseArchitectureResponse]
@@ -212,6 +219,7 @@ module PulpDebClient
212
219
  # A ReleaseArchitecture represents a single dpkg architecture string. Associated artifacts: None; contains only metadata. Every ReleaseArchitecture is always associated with exactly one Release. This indicates that the release/distribution in question supports this architecture.
213
220
  # @param deb_release_architecture_href [String]
214
221
  # @param [Hash] opts the optional parameters
222
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
215
223
  # @option opts [Array<String>] :fields A list of fields to include in the response.
216
224
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
217
225
  # @return [Array<(DebReleaseArchitectureResponse, Integer, Hash)>] DebReleaseArchitectureResponse data, response status code and response headers
@@ -235,6 +243,7 @@ module PulpDebClient
235
243
  header_params = opts[:header_params] || {}
236
244
  # HTTP header 'Accept' (if needed)
237
245
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
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 PulpDebClient
270
279
  # @param deb_release_architecture_href [String]
271
280
  # @param set_label [SetLabel]
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 [SetLabelResponse]
274
284
  def set_label(deb_release_architecture_href, set_label, opts = {})
275
285
  data, _status_code, _headers = set_label_with_http_info(deb_release_architecture_href, set_label, opts)
@@ -281,6 +291,7 @@ module PulpDebClient
281
291
  # @param deb_release_architecture_href [String]
282
292
  # @param set_label [SetLabel]
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<(SetLabelResponse, Integer, Hash)>] SetLabelResponse data, response status code and response headers
285
296
  def set_label_with_http_info(deb_release_architecture_href, set_label, opts = {})
286
297
  if @api_client.config.debugging
@@ -309,6 +320,7 @@ module PulpDebClient
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] || {}
@@ -344,6 +356,7 @@ module PulpDebClient
344
356
  # @param deb_release_architecture_href [String]
345
357
  # @param unset_label [UnsetLabel]
346
358
  # @param [Hash] opts the optional parameters
359
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
347
360
  # @return [UnsetLabelResponse]
348
361
  def unset_label(deb_release_architecture_href, unset_label, opts = {})
349
362
  data, _status_code, _headers = unset_label_with_http_info(deb_release_architecture_href, unset_label, opts)
@@ -355,6 +368,7 @@ module PulpDebClient
355
368
  # @param deb_release_architecture_href [String]
356
369
  # @param unset_label [UnsetLabel]
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
  # @return [Array<(UnsetLabelResponse, Integer, Hash)>] UnsetLabelResponse data, response status code and response headers
359
373
  def unset_label_with_http_info(deb_release_architecture_href, unset_label, opts = {})
360
374
  if @api_client.config.debugging
@@ -383,6 +397,7 @@ module PulpDebClient
383
397
  if !content_type.nil?
384
398
  header_params['Content-Type'] = content_type
385
399
  end
400
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
386
401
 
387
402
  # form parameters
388
403
  form_params = opts[:form_params] || {}
@@ -23,6 +23,7 @@ module PulpDebClient
23
23
  # Trigger an asynchronous task to create content,optionally create new repository version.
24
24
  # @param deb_release_component [DebReleaseComponent]
25
25
  # @param [Hash] opts the optional parameters
26
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
26
27
  # @return [AsyncOperationResponse]
27
28
  def create(deb_release_component, opts = {})
28
29
  data, _status_code, _headers = create_with_http_info(deb_release_component, opts)
@@ -33,6 +34,7 @@ module PulpDebClient
33
34
  # Trigger an asynchronous task to create content,optionally create new repository version.
34
35
  # @param deb_release_component [DebReleaseComponent]
35
36
  # @param [Hash] opts the optional parameters
37
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
36
38
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
37
39
  def create_with_http_info(deb_release_component, opts = {})
38
40
  if @api_client.config.debugging
@@ -57,6 +59,7 @@ module PulpDebClient
57
59
  if !content_type.nil?
58
60
  header_params['Content-Type'] = content_type
59
61
  end
62
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
60
63
 
61
64
  # form parameters
62
65
  form_params = opts[:form_params] || {}
@@ -90,6 +93,7 @@ module PulpDebClient
90
93
  # List release components
91
94
  # A ReleaseComponent represents a single APT repository component. Associated artifacts: None; contains only metadata.
92
95
  # @param [Hash] opts the optional parameters
96
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
93
97
  # @option opts [String] :component Filter results where component matches value
94
98
  # @option opts [String] :distribution Filter results where distribution matches value
95
99
  # @option opts [Integer] :limit Number of results to return per page.
@@ -116,6 +120,7 @@ module PulpDebClient
116
120
  # List release components
117
121
  # A ReleaseComponent represents a single APT repository component. Associated artifacts: None; contains only metadata.
118
122
  # @param [Hash] opts the optional parameters
123
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
119
124
  # @option opts [String] :component Filter results where component matches value
120
125
  # @option opts [String] :distribution Filter results where distribution matches value
121
126
  # @option opts [Integer] :limit Number of results to return per page.
@@ -169,6 +174,7 @@ module PulpDebClient
169
174
  header_params = opts[:header_params] || {}
170
175
  # HTTP header 'Accept' (if needed)
171
176
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
177
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
172
178
 
173
179
  # form parameters
174
180
  form_params = opts[:form_params] || {}
@@ -203,6 +209,7 @@ module PulpDebClient
203
209
  # A ReleaseComponent represents a single APT repository component. Associated artifacts: None; contains only metadata.
204
210
  # @param deb_release_component_href [String]
205
211
  # @param [Hash] opts the optional parameters
212
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
206
213
  # @option opts [Array<String>] :fields A list of fields to include in the response.
207
214
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
208
215
  # @return [DebReleaseComponentResponse]
@@ -215,6 +222,7 @@ module PulpDebClient
215
222
  # A ReleaseComponent represents a single APT repository component. Associated artifacts: None; contains only metadata.
216
223
  # @param deb_release_component_href [String]
217
224
  # @param [Hash] opts the optional parameters
225
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
218
226
  # @option opts [Array<String>] :fields A list of fields to include in the response.
219
227
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
220
228
  # @return [Array<(DebReleaseComponentResponse, Integer, Hash)>] DebReleaseComponentResponse data, response status code and response headers
@@ -238,6 +246,7 @@ module PulpDebClient
238
246
  header_params = opts[:header_params] || {}
239
247
  # HTTP header 'Accept' (if needed)
240
248
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
249
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
241
250
 
242
251
  # form parameters
243
252
  form_params = opts[:form_params] || {}
@@ -273,6 +282,7 @@ module PulpDebClient
273
282
  # @param deb_release_component_href [String]
274
283
  # @param set_label [SetLabel]
275
284
  # @param [Hash] opts the optional parameters
285
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
276
286
  # @return [SetLabelResponse]
277
287
  def set_label(deb_release_component_href, set_label, opts = {})
278
288
  data, _status_code, _headers = set_label_with_http_info(deb_release_component_href, set_label, opts)
@@ -284,6 +294,7 @@ module PulpDebClient
284
294
  # @param deb_release_component_href [String]
285
295
  # @param set_label [SetLabel]
286
296
  # @param [Hash] opts the optional parameters
297
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
287
298
  # @return [Array<(SetLabelResponse, Integer, Hash)>] SetLabelResponse data, response status code and response headers
288
299
  def set_label_with_http_info(deb_release_component_href, set_label, opts = {})
289
300
  if @api_client.config.debugging
@@ -312,6 +323,7 @@ module PulpDebClient
312
323
  if !content_type.nil?
313
324
  header_params['Content-Type'] = content_type
314
325
  end
326
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
315
327
 
316
328
  # form parameters
317
329
  form_params = opts[:form_params] || {}
@@ -347,6 +359,7 @@ module PulpDebClient
347
359
  # @param deb_release_component_href [String]
348
360
  # @param unset_label [UnsetLabel]
349
361
  # @param [Hash] opts the optional parameters
362
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
350
363
  # @return [UnsetLabelResponse]
351
364
  def unset_label(deb_release_component_href, unset_label, opts = {})
352
365
  data, _status_code, _headers = unset_label_with_http_info(deb_release_component_href, unset_label, opts)
@@ -358,6 +371,7 @@ module PulpDebClient
358
371
  # @param deb_release_component_href [String]
359
372
  # @param unset_label [UnsetLabel]
360
373
  # @param [Hash] opts the optional parameters
374
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
361
375
  # @return [Array<(UnsetLabelResponse, Integer, Hash)>] UnsetLabelResponse data, response status code and response headers
362
376
  def unset_label_with_http_info(deb_release_component_href, unset_label, opts = {})
363
377
  if @api_client.config.debugging
@@ -386,6 +400,7 @@ module PulpDebClient
386
400
  if !content_type.nil?
387
401
  header_params['Content-Type'] = content_type
388
402
  end
403
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
389
404
 
390
405
  # form parameters
391
406
  form_params = opts[:form_params] || {}
@@ -23,6 +23,7 @@ module PulpDebClient
23
23
  # A ReleaseFile represents the Release file(s) from a single APT distribution. Associated artifacts: At least one of 'Release' and 'InRelease' file. If the 'Release' file is present, then there may also be a 'Release.gpg' detached signature file for it. Note: The verbatim publisher will republish all associated artifacts, while the APT publisher (both simple and structured mode) will generate any 'Release' files it needs when creating the publication. It does not make use of ReleaseFile content.
24
24
  # @param deb_release_file [DebReleaseFile]
25
25
  # @param [Hash] opts the optional parameters
26
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
26
27
  # @return [DebReleaseFileResponse]
27
28
  def create(deb_release_file, opts = {})
28
29
  data, _status_code, _headers = create_with_http_info(deb_release_file, opts)
@@ -33,6 +34,7 @@ module PulpDebClient
33
34
  # A ReleaseFile represents the Release file(s) from a single APT distribution. Associated artifacts: At least one of &#39;Release&#39; and &#39;InRelease&#39; file. If the &#39;Release&#39; file is present, then there may also be a &#39;Release.gpg&#39; detached signature file for it. Note: The verbatim publisher will republish all associated artifacts, while the APT publisher (both simple and structured mode) will generate any &#39;Release&#39; files it needs when creating the publication. It does not make use of ReleaseFile content.
34
35
  # @param deb_release_file [DebReleaseFile]
35
36
  # @param [Hash] opts the optional parameters
37
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
36
38
  # @return [Array<(DebReleaseFileResponse, Integer, Hash)>] DebReleaseFileResponse data, response status code and response headers
37
39
  def create_with_http_info(deb_release_file, opts = {})
38
40
  if @api_client.config.debugging
@@ -57,6 +59,7 @@ module PulpDebClient
57
59
  if !content_type.nil?
58
60
  header_params['Content-Type'] = content_type
59
61
  end
62
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
60
63
 
61
64
  # form parameters
62
65
  form_params = opts[:form_params] || {}
@@ -90,6 +93,7 @@ module PulpDebClient
90
93
  # List release files
91
94
  # A ReleaseFile represents the Release file(s) from a single APT distribution. Associated artifacts: At least one of 'Release' and 'InRelease' file. If the 'Release' file is present, then there may also be a 'Release.gpg' detached signature file for it. Note: The verbatim publisher will republish all associated artifacts, while the APT publisher (both simple and structured mode) will generate any 'Release' files it needs when creating the publication. It does not make use of ReleaseFile content.
92
95
  # @param [Hash] opts the optional parameters
96
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
93
97
  # @option opts [String] :codename Filter results where codename matches value
94
98
  # @option opts [Integer] :limit Number of results to return per page.
95
99
  # @option opts [Integer] :offset The initial index from which to return the results.
@@ -117,6 +121,7 @@ module PulpDebClient
117
121
  # List release files
118
122
  # A ReleaseFile represents the Release file(s) from a single APT distribution. Associated artifacts: At least one of &#39;Release&#39; and &#39;InRelease&#39; file. If the &#39;Release&#39; file is present, then there may also be a &#39;Release.gpg&#39; detached signature file for it. Note: The verbatim publisher will republish all associated artifacts, while the APT publisher (both simple and structured mode) will generate any &#39;Release&#39; files it needs when creating the publication. It does not make use of ReleaseFile content.
119
123
  # @param [Hash] opts the optional parameters
124
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
120
125
  # @option opts [String] :codename Filter results where codename matches value
121
126
  # @option opts [Integer] :limit Number of results to return per page.
122
127
  # @option opts [Integer] :offset The initial index from which to return the results.
@@ -172,6 +177,7 @@ module PulpDebClient
172
177
  header_params = opts[:header_params] || {}
173
178
  # HTTP header 'Accept' (if needed)
174
179
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
180
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
175
181
 
176
182
  # form parameters
177
183
  form_params = opts[:form_params] || {}
@@ -206,6 +212,7 @@ module PulpDebClient
206
212
  # A ReleaseFile represents the Release file(s) from a single APT distribution. Associated artifacts: At least one of 'Release' and 'InRelease' file. If the 'Release' file is present, then there may also be a 'Release.gpg' detached signature file for it. Note: The verbatim publisher will republish all associated artifacts, while the APT publisher (both simple and structured mode) will generate any 'Release' files it needs when creating the publication. It does not make use of ReleaseFile content.
207
213
  # @param deb_release_file_href [String]
208
214
  # @param [Hash] opts the optional parameters
215
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
209
216
  # @option opts [Array<String>] :fields A list of fields to include in the response.
210
217
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
211
218
  # @return [DebReleaseFileResponse]
@@ -218,6 +225,7 @@ module PulpDebClient
218
225
  # A ReleaseFile represents the Release file(s) from a single APT distribution. Associated artifacts: At least one of &#39;Release&#39; and &#39;InRelease&#39; file. If the &#39;Release&#39; file is present, then there may also be a &#39;Release.gpg&#39; detached signature file for it. Note: The verbatim publisher will republish all associated artifacts, while the APT publisher (both simple and structured mode) will generate any &#39;Release&#39; files it needs when creating the publication. It does not make use of ReleaseFile content.
219
226
  # @param deb_release_file_href [String]
220
227
  # @param [Hash] opts the optional parameters
228
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
221
229
  # @option opts [Array<String>] :fields A list of fields to include in the response.
222
230
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
223
231
  # @return [Array<(DebReleaseFileResponse, Integer, Hash)>] DebReleaseFileResponse data, response status code and response headers
@@ -241,6 +249,7 @@ module PulpDebClient
241
249
  header_params = opts[:header_params] || {}
242
250
  # HTTP header 'Accept' (if needed)
243
251
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
252
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
244
253
 
245
254
  # form parameters
246
255
  form_params = opts[:form_params] || {}
@@ -276,6 +285,7 @@ module PulpDebClient
276
285
  # @param deb_release_file_href [String]
277
286
  # @param set_label [SetLabel]
278
287
  # @param [Hash] opts the optional parameters
288
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
279
289
  # @return [SetLabelResponse]
280
290
  def set_label(deb_release_file_href, set_label, opts = {})
281
291
  data, _status_code, _headers = set_label_with_http_info(deb_release_file_href, set_label, opts)
@@ -287,6 +297,7 @@ module PulpDebClient
287
297
  # @param deb_release_file_href [String]
288
298
  # @param set_label [SetLabel]
289
299
  # @param [Hash] opts the optional parameters
300
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
290
301
  # @return [Array<(SetLabelResponse, Integer, Hash)>] SetLabelResponse data, response status code and response headers
291
302
  def set_label_with_http_info(deb_release_file_href, set_label, opts = {})
292
303
  if @api_client.config.debugging
@@ -315,6 +326,7 @@ module PulpDebClient
315
326
  if !content_type.nil?
316
327
  header_params['Content-Type'] = content_type
317
328
  end
329
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
318
330
 
319
331
  # form parameters
320
332
  form_params = opts[:form_params] || {}
@@ -350,6 +362,7 @@ module PulpDebClient
350
362
  # @param deb_release_file_href [String]
351
363
  # @param unset_label [UnsetLabel]
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
  # @return [UnsetLabelResponse]
354
367
  def unset_label(deb_release_file_href, unset_label, opts = {})
355
368
  data, _status_code, _headers = unset_label_with_http_info(deb_release_file_href, unset_label, opts)
@@ -361,6 +374,7 @@ module PulpDebClient
361
374
  # @param deb_release_file_href [String]
362
375
  # @param unset_label [UnsetLabel]
363
376
  # @param [Hash] opts the optional parameters
377
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
364
378
  # @return [Array<(UnsetLabelResponse, Integer, Hash)>] UnsetLabelResponse data, response status code and response headers
365
379
  def unset_label_with_http_info(deb_release_file_href, unset_label, opts = {})
366
380
  if @api_client.config.debugging
@@ -389,6 +403,7 @@ module PulpDebClient
389
403
  if !content_type.nil?
390
404
  header_params['Content-Type'] = content_type
391
405
  end
406
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
392
407
 
393
408
  # form parameters
394
409
  form_params = opts[:form_params] || {}
@@ -23,6 +23,7 @@ module PulpDebClient
23
23
  # Trigger an asynchronous task to create content,optionally create new repository version.
24
24
  # @param deb_release [DebRelease]
25
25
  # @param [Hash] opts the optional parameters
26
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
26
27
  # @return [AsyncOperationResponse]
27
28
  def create(deb_release, opts = {})
28
29
  data, _status_code, _headers = create_with_http_info(deb_release, opts)
@@ -33,6 +34,7 @@ module PulpDebClient
33
34
  # Trigger an asynchronous task to create content,optionally create new repository version.
34
35
  # @param deb_release [DebRelease]
35
36
  # @param [Hash] opts the optional parameters
37
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
36
38
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
37
39
  def create_with_http_info(deb_release, opts = {})
38
40
  if @api_client.config.debugging
@@ -57,6 +59,7 @@ module PulpDebClient
57
59
  if !content_type.nil?
58
60
  header_params['Content-Type'] = content_type
59
61
  end
62
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
60
63
 
61
64
  # form parameters
62
65
  form_params = opts[:form_params] || {}
@@ -90,6 +93,7 @@ module PulpDebClient
90
93
  # List releases
91
94
  # The Release contains release file fields, that are not relevant to the APT repo structure. Associated artifacts: None; contains only metadata. By non-structure relevant release file fields, we mean anything other than the Components and Architectures fields. These are handled by their own models and are not part of this model. Note that the distribution field is part of this model, but is not added to any published release files. The \"distribution\" is defined as the path between 'dists/' and some 'Release' file. As such, it encodes the path to the relevant release file within the APT repository. It is often (but not always) equal to the \"codename\" or the \"suite\".
92
95
  # @param [Hash] opts the optional parameters
96
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
93
97
  # @option opts [String] :codename Filter results where codename matches value
94
98
  # @option opts [String] :distribution Filter results where distribution matches value
95
99
  # @option opts [String] :label Filter results where label matches value
@@ -120,6 +124,7 @@ module PulpDebClient
120
124
  # List releases
121
125
  # The Release contains release file fields, that are not relevant to the APT repo structure. Associated artifacts: None; contains only metadata. By non-structure relevant release file fields, we mean anything other than the Components and Architectures fields. These are handled by their own models and are not part of this model. Note that the distribution field is part of this model, but is not added to any published release files. The \&quot;distribution\&quot; is defined as the path between &#39;dists/&#39; and some &#39;Release&#39; file. As such, it encodes the path to the relevant release file within the APT repository. It is often (but not always) equal to the \&quot;codename\&quot; or the \&quot;suite\&quot;.
122
126
  # @param [Hash] opts the optional parameters
127
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
123
128
  # @option opts [String] :codename Filter results where codename matches value
124
129
  # @option opts [String] :distribution Filter results where distribution matches value
125
130
  # @option opts [String] :label Filter results where label matches value
@@ -181,6 +186,7 @@ module PulpDebClient
181
186
  header_params = opts[:header_params] || {}
182
187
  # HTTP header 'Accept' (if needed)
183
188
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
189
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
184
190
 
185
191
  # form parameters
186
192
  form_params = opts[:form_params] || {}
@@ -215,6 +221,7 @@ module PulpDebClient
215
221
  # The Release contains release file fields, that are not relevant to the APT repo structure. Associated artifacts: None; contains only metadata. By non-structure relevant release file fields, we mean anything other than the Components and Architectures fields. These are handled by their own models and are not part of this model. Note that the distribution field is part of this model, but is not added to any published release files. The \"distribution\" is defined as the path between 'dists/' and some 'Release' file. As such, it encodes the path to the relevant release file within the APT repository. It is often (but not always) equal to the \"codename\" or the \"suite\".
216
222
  # @param deb_release_href [String]
217
223
  # @param [Hash] opts the optional parameters
224
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
218
225
  # @option opts [Array<String>] :fields A list of fields to include in the response.
219
226
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
220
227
  # @return [DebReleaseResponse]
@@ -227,6 +234,7 @@ module PulpDebClient
227
234
  # The Release contains release file fields, that are not relevant to the APT repo structure. Associated artifacts: None; contains only metadata. By non-structure relevant release file fields, we mean anything other than the Components and Architectures fields. These are handled by their own models and are not part of this model. Note that the distribution field is part of this model, but is not added to any published release files. The \&quot;distribution\&quot; is defined as the path between &#39;dists/&#39; and some &#39;Release&#39; file. As such, it encodes the path to the relevant release file within the APT repository. It is often (but not always) equal to the \&quot;codename\&quot; or the \&quot;suite\&quot;.
228
235
  # @param deb_release_href [String]
229
236
  # @param [Hash] opts the optional parameters
237
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
230
238
  # @option opts [Array<String>] :fields A list of fields to include in the response.
231
239
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
232
240
  # @return [Array<(DebReleaseResponse, Integer, Hash)>] DebReleaseResponse data, response status code and response headers
@@ -250,6 +258,7 @@ module PulpDebClient
250
258
  header_params = opts[:header_params] || {}
251
259
  # HTTP header 'Accept' (if needed)
252
260
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
261
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
253
262
 
254
263
  # form parameters
255
264
  form_params = opts[:form_params] || {}
@@ -285,6 +294,7 @@ module PulpDebClient
285
294
  # @param deb_release_href [String]
286
295
  # @param set_label [SetLabel]
287
296
  # @param [Hash] opts the optional parameters
297
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
288
298
  # @return [SetLabelResponse]
289
299
  def set_label(deb_release_href, set_label, opts = {})
290
300
  data, _status_code, _headers = set_label_with_http_info(deb_release_href, set_label, opts)
@@ -296,6 +306,7 @@ module PulpDebClient
296
306
  # @param deb_release_href [String]
297
307
  # @param set_label [SetLabel]
298
308
  # @param [Hash] opts the optional parameters
309
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
299
310
  # @return [Array<(SetLabelResponse, Integer, Hash)>] SetLabelResponse data, response status code and response headers
300
311
  def set_label_with_http_info(deb_release_href, set_label, opts = {})
301
312
  if @api_client.config.debugging
@@ -324,6 +335,7 @@ module PulpDebClient
324
335
  if !content_type.nil?
325
336
  header_params['Content-Type'] = content_type
326
337
  end
338
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
327
339
 
328
340
  # form parameters
329
341
  form_params = opts[:form_params] || {}
@@ -359,6 +371,7 @@ module PulpDebClient
359
371
  # @param deb_release_href [String]
360
372
  # @param unset_label [UnsetLabel]
361
373
  # @param [Hash] opts the optional parameters
374
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
362
375
  # @return [UnsetLabelResponse]
363
376
  def unset_label(deb_release_href, unset_label, opts = {})
364
377
  data, _status_code, _headers = unset_label_with_http_info(deb_release_href, unset_label, opts)
@@ -370,6 +383,7 @@ module PulpDebClient
370
383
  # @param deb_release_href [String]
371
384
  # @param unset_label [UnsetLabel]
372
385
  # @param [Hash] opts the optional parameters
386
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
373
387
  # @return [Array<(UnsetLabelResponse, Integer, Hash)>] UnsetLabelResponse data, response status code and response headers
374
388
  def unset_label_with_http_info(deb_release_href, unset_label, opts = {})
375
389
  if @api_client.config.debugging
@@ -398,6 +412,7 @@ module PulpDebClient
398
412
  if !content_type.nil?
399
413
  header_params['Content-Type'] = content_type
400
414
  end
415
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
401
416
 
402
417
  # form parameters
403
418
  form_params = opts[:form_params] || {}