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
@@ -23,6 +23,7 @@ module PulpDebClient
23
23
  # A SourceIndex represents the source indices of a single component. Associated artifacts: Exactly one 'Sources' file. May optionally include one or more of 'Sources.gz', 'Sources.xz', 'Release'. If included, the 'Release' file is a legacy per-component-and-architecture Release file (with architecture always being 'source'). Note: The verbatim publisher will republish all associated artifacts, while the APT publisher (both simple and structured mode) will generate any 'Sources' files it needs when creating the publication. It does not make use of SourceIndex content.
24
24
  # @param deb_source_index [DebSourceIndex]
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 [DebSourceIndexResponse]
27
28
  def create(deb_source_index, opts = {})
28
29
  data, _status_code, _headers = create_with_http_info(deb_source_index, opts)
@@ -33,6 +34,7 @@ module PulpDebClient
33
34
  # A SourceIndex represents the source indices of a single component. Associated artifacts: Exactly one &#39;Sources&#39; file. May optionally include one or more of &#39;Sources.gz&#39;, &#39;Sources.xz&#39;, &#39;Release&#39;. If included, the &#39;Release&#39; file is a legacy per-component-and-architecture Release file (with architecture always being &#39;source&#39;). Note: The verbatim publisher will republish all associated artifacts, while the APT publisher (both simple and structured mode) will generate any &#39;Sources&#39; files it needs when creating the publication. It does not make use of SourceIndex content.
34
35
  # @param deb_source_index [DebSourceIndex]
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<(DebSourceIndexResponse, Integer, Hash)>] DebSourceIndexResponse data, response status code and response headers
37
39
  def create_with_http_info(deb_source_index, 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 SourceIndices
91
94
  # A SourceIndex represents the source indices of a single component. Associated artifacts: Exactly one 'Sources' file. May optionally include one or more of 'Sources.gz', 'Sources.xz', 'Release'. If included, the 'Release' file is a legacy per-component-and-architecture Release file (with architecture always being 'source'). Note: The verbatim publisher will republish all associated artifacts, while the APT publisher (both simple and structured mode) will generate any 'Sources' files it needs when creating the publication. It does not make use of SourceIndex 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] :component Filter results where component 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.
@@ -116,6 +120,7 @@ module PulpDebClient
116
120
  # List SourceIndices
117
121
  # A SourceIndex represents the source indices of a single component. Associated artifacts: Exactly one &#39;Sources&#39; file. May optionally include one or more of &#39;Sources.gz&#39;, &#39;Sources.xz&#39;, &#39;Release&#39;. If included, the &#39;Release&#39; file is a legacy per-component-and-architecture Release file (with architecture always being &#39;source&#39;). Note: The verbatim publisher will republish all associated artifacts, while the APT publisher (both simple and structured mode) will generate any &#39;Sources&#39; files it needs when creating the publication. It does not make use of SourceIndex content.
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 [Integer] :limit Number of results to return per page.
121
126
  # @option opts [Integer] :offset The initial index from which to return the results.
@@ -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 SourceIndex represents the source indices of a single component. Associated artifacts: Exactly one 'Sources' file. May optionally include one or more of 'Sources.gz', 'Sources.xz', 'Release'. If included, the 'Release' file is a legacy per-component-and-architecture Release file (with architecture always being 'source'). Note: The verbatim publisher will republish all associated artifacts, while the APT publisher (both simple and structured mode) will generate any 'Sources' files it needs when creating the publication. It does not make use of SourceIndex content.
204
210
  # @param deb_source_index_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 [DebSourceIndexResponse]
@@ -215,6 +222,7 @@ module PulpDebClient
215
222
  # A SourceIndex represents the source indices of a single component. Associated artifacts: Exactly one &#39;Sources&#39; file. May optionally include one or more of &#39;Sources.gz&#39;, &#39;Sources.xz&#39;, &#39;Release&#39;. If included, the &#39;Release&#39; file is a legacy per-component-and-architecture Release file (with architecture always being &#39;source&#39;). Note: The verbatim publisher will republish all associated artifacts, while the APT publisher (both simple and structured mode) will generate any &#39;Sources&#39; files it needs when creating the publication. It does not make use of SourceIndex content.
216
223
  # @param deb_source_index_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<(DebSourceIndexResponse, Integer, Hash)>] DebSourceIndexResponse 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_source_index_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_source_index_href, set_label, opts = {})
278
288
  data, _status_code, _headers = set_label_with_http_info(deb_source_index_href, set_label, opts)
@@ -284,6 +294,7 @@ module PulpDebClient
284
294
  # @param deb_source_index_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_source_index_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_source_index_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_source_index_href, unset_label, opts = {})
352
365
  data, _status_code, _headers = unset_label_with_http_info(deb_source_index_href, unset_label, opts)
@@ -358,6 +371,7 @@ module PulpDebClient
358
371
  # @param deb_source_index_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_source_index_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
  # Trigger an asynchronous task to create content,optionally create new repository version.
24
24
  # @param deb_source_package [DebSourcePackage]
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_source_package, opts = {})
28
29
  data, _status_code, _headers = create_with_http_info(deb_source_package, 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_source_package [DebSourcePackage]
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_source_package, 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 source packages
91
94
  # A Debian Source Package file represents a '.dsc' file along with its associated artifacts such as orig.tar.gz, debian.tar.gz... Associated artifacts: Exactly one '.dsc' file.
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] :binary Filter results where binary matches value
95
99
  # @option opts [String] :build_conflicts Filter results where build_conflicts matches value
@@ -143,6 +147,7 @@ module PulpDebClient
143
147
  # List source packages
144
148
  # A Debian Source Package file represents a &#39;.dsc&#39; file along with its associated artifacts such as orig.tar.gz, debian.tar.gz... Associated artifacts: Exactly one &#39;.dsc&#39; file.
145
149
  # @param [Hash] opts the optional parameters
150
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
146
151
  # @option opts [String] :architecture Filter results where architecture matches value
147
152
  # @option opts [String] :binary Filter results where binary matches value
148
153
  # @option opts [String] :build_conflicts Filter results where build_conflicts matches value
@@ -250,6 +255,7 @@ module PulpDebClient
250
255
  header_params = opts[:header_params] || {}
251
256
  # HTTP header 'Accept' (if needed)
252
257
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
258
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
253
259
 
254
260
  # form parameters
255
261
  form_params = opts[:form_params] || {}
@@ -284,6 +290,7 @@ module PulpDebClient
284
290
  # A Debian Source Package file represents a '.dsc' file along with its associated artifacts such as orig.tar.gz, debian.tar.gz... Associated artifacts: Exactly one '.dsc' file.
285
291
  # @param deb_source_package_href [String]
286
292
  # @param [Hash] opts the optional parameters
293
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
287
294
  # @option opts [Array<String>] :fields A list of fields to include in the response.
288
295
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
289
296
  # @return [DebSourcePackageResponse]
@@ -296,6 +303,7 @@ module PulpDebClient
296
303
  # A Debian Source Package file represents a &#39;.dsc&#39; file along with its associated artifacts such as orig.tar.gz, debian.tar.gz... Associated artifacts: Exactly one &#39;.dsc&#39; file.
297
304
  # @param deb_source_package_href [String]
298
305
  # @param [Hash] opts the optional parameters
306
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
299
307
  # @option opts [Array<String>] :fields A list of fields to include in the response.
300
308
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
301
309
  # @return [Array<(DebSourcePackageResponse, Integer, Hash)>] DebSourcePackageResponse data, response status code and response headers
@@ -319,6 +327,7 @@ module PulpDebClient
319
327
  header_params = opts[:header_params] || {}
320
328
  # HTTP header 'Accept' (if needed)
321
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?
322
331
 
323
332
  # form parameters
324
333
  form_params = opts[:form_params] || {}
@@ -354,6 +363,7 @@ module PulpDebClient
354
363
  # @param deb_source_package_href [String]
355
364
  # @param set_label [SetLabel]
356
365
  # @param [Hash] opts the optional parameters
366
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
357
367
  # @return [SetLabelResponse]
358
368
  def set_label(deb_source_package_href, set_label, opts = {})
359
369
  data, _status_code, _headers = set_label_with_http_info(deb_source_package_href, set_label, opts)
@@ -365,6 +375,7 @@ module PulpDebClient
365
375
  # @param deb_source_package_href [String]
366
376
  # @param set_label [SetLabel]
367
377
  # @param [Hash] opts the optional parameters
378
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
368
379
  # @return [Array<(SetLabelResponse, Integer, Hash)>] SetLabelResponse data, response status code and response headers
369
380
  def set_label_with_http_info(deb_source_package_href, set_label, opts = {})
370
381
  if @api_client.config.debugging
@@ -393,6 +404,7 @@ module PulpDebClient
393
404
  if !content_type.nil?
394
405
  header_params['Content-Type'] = content_type
395
406
  end
407
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
396
408
 
397
409
  # form parameters
398
410
  form_params = opts[:form_params] || {}
@@ -428,6 +440,7 @@ module PulpDebClient
428
440
  # @param deb_source_package_href [String]
429
441
  # @param unset_label [UnsetLabel]
430
442
  # @param [Hash] opts the optional parameters
443
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
431
444
  # @return [UnsetLabelResponse]
432
445
  def unset_label(deb_source_package_href, unset_label, opts = {})
433
446
  data, _status_code, _headers = unset_label_with_http_info(deb_source_package_href, unset_label, opts)
@@ -439,6 +452,7 @@ module PulpDebClient
439
452
  # @param deb_source_package_href [String]
440
453
  # @param unset_label [UnsetLabel]
441
454
  # @param [Hash] opts the optional parameters
455
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
442
456
  # @return [Array<(UnsetLabelResponse, Integer, Hash)>] UnsetLabelResponse data, response status code and response headers
443
457
  def unset_label_with_http_info(deb_source_package_href, unset_label, opts = {})
444
458
  if @api_client.config.debugging
@@ -467,6 +481,7 @@ module PulpDebClient
467
481
  if !content_type.nil?
468
482
  header_params['Content-Type'] = content_type
469
483
  end
484
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
470
485
 
471
486
  # form parameters
472
487
  form_params = opts[:form_params] || {}
@@ -23,6 +23,7 @@ module PulpDebClient
23
23
  # A SourcePackageReleaseComponent associates a SourcePackage with a ReleaseComponent. Associated artifacts: None; contains only metadata. This simply stores the information on which source packages are part of which components.
24
24
  # @param deb_source_package_release_component [DebSourcePackageReleaseComponent]
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 [DebSourcePackageReleaseComponentResponse]
27
28
  def create(deb_source_package_release_component, opts = {})
28
29
  data, _status_code, _headers = create_with_http_info(deb_source_package_release_component, opts)
@@ -33,6 +34,7 @@ module PulpDebClient
33
34
  # A SourcePackageReleaseComponent associates a SourcePackage with a ReleaseComponent. Associated artifacts: None; contains only metadata. This simply stores the information on which source packages are part of which components.
34
35
  # @param deb_source_package_release_component [DebSourcePackageReleaseComponent]
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<(DebSourcePackageReleaseComponentResponse, Integer, Hash)>] DebSourcePackageReleaseComponentResponse data, response status code and response headers
37
39
  def create_with_http_info(deb_source_package_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 source package release components
91
94
  # A SourcePackageReleaseComponent associates a SourcePackage with a ReleaseComponent. Associated artifacts: None; contains only metadata. This simply stores the information on which source packages are part of which components.
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 [Integer] :limit Number of results to return per page.
94
98
  # @option opts [Integer] :offset The initial index from which to return the results.
95
99
  # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
@@ -115,6 +119,7 @@ module PulpDebClient
115
119
  # List source package release components
116
120
  # A SourcePackageReleaseComponent associates a SourcePackage with a ReleaseComponent. Associated artifacts: None; contains only metadata. This simply stores the information on which source packages are part of which components.
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 [Integer] :limit Number of results to return per page.
119
124
  # @option opts [Integer] :offset The initial index from which to return the results.
120
125
  # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
@@ -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 SourcePackageReleaseComponent associates a SourcePackage with a ReleaseComponent. Associated artifacts: None; contains only metadata. This simply stores the information on which source packages are part of which components.
201
207
  # @param deb_source_package_release_component_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 [DebSourcePackageReleaseComponentResponse]
@@ -212,6 +219,7 @@ module PulpDebClient
212
219
  # A SourcePackageReleaseComponent associates a SourcePackage with a ReleaseComponent. Associated artifacts: None; contains only metadata. This simply stores the information on which source packages are part of which components.
213
220
  # @param deb_source_package_release_component_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<(DebSourcePackageReleaseComponentResponse, Integer, Hash)>] DebSourcePackageReleaseComponentResponse 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_source_package_release_component_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_source_package_release_component_href, set_label, opts = {})
275
285
  data, _status_code, _headers = set_label_with_http_info(deb_source_package_release_component_href, set_label, opts)
@@ -281,6 +291,7 @@ module PulpDebClient
281
291
  # @param deb_source_package_release_component_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_source_package_release_component_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_source_package_release_component_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_source_package_release_component_href, unset_label, opts = {})
349
362
  data, _status_code, _headers = unset_label_with_http_info(deb_source_package_release_component_href, unset_label, opts)
@@ -355,6 +368,7 @@ module PulpDebClient
355
368
  # @param deb_source_package_release_component_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_source_package_release_component_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 copy APT contentfrom one repository into another, creating a newrepository version.
24
24
  # @param copy [Copy]
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 copy_content(copy, opts = {})
28
29
  data, _status_code, _headers = copy_content_with_http_info(copy, opts)
@@ -33,6 +34,7 @@ module PulpDebClient
33
34
  # Trigger an asynchronous task to copy APT contentfrom one repository into another, creating a newrepository version.
34
35
  # @param copy [Copy]
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 copy_content_with_http_info(copy, 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] || {}