pulp_deb_client 3.5.1 → 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 (151) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +32 -4
  3. data/docs/ContentGenericContentsApi.md +166 -2
  4. data/docs/ContentInstallerFileIndicesApi.md +170 -6
  5. data/docs/ContentInstallerPackagesApi.md +166 -2
  6. data/docs/ContentPackageIndicesApi.md +170 -6
  7. data/docs/ContentPackageReleaseComponentsApi.md +170 -6
  8. data/docs/ContentPackagesApi.md +166 -2
  9. data/docs/ContentReleaseArchitecturesApi.md +170 -6
  10. data/docs/ContentReleaseComponentsApi.md +170 -6
  11. data/docs/ContentReleaseFilesApi.md +170 -6
  12. data/docs/ContentReleasesApi.md +170 -6
  13. data/docs/ContentSourceIndicesApi.md +170 -6
  14. data/docs/ContentSourcePackagesApi.md +170 -6
  15. data/docs/ContentSourceReleaseComponentsApi.md +170 -6
  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/DebGenericContentResponse.md +2 -0
  22. data/docs/DebInstallerFileIndex.md +2 -0
  23. data/docs/DebInstallerFileIndexResponse.md +2 -0
  24. data/docs/DebInstallerPackageResponse.md +2 -0
  25. data/docs/DebPackageIndex.md +2 -0
  26. data/docs/DebPackageIndexResponse.md +2 -0
  27. data/docs/DebPackageReleaseComponent.md +2 -0
  28. data/docs/DebPackageReleaseComponentResponse.md +2 -0
  29. data/docs/DebPackageResponse.md +2 -0
  30. data/docs/DebRelease.md +2 -0
  31. data/docs/DebReleaseArchitecture.md +2 -0
  32. data/docs/DebReleaseArchitectureResponse.md +2 -0
  33. data/docs/DebReleaseComponent.md +2 -0
  34. data/docs/DebReleaseComponentResponse.md +2 -0
  35. data/docs/DebReleaseFile.md +2 -0
  36. data/docs/DebReleaseFileResponse.md +2 -0
  37. data/docs/DebReleaseResponse.md +2 -0
  38. data/docs/DebSourceIndex.md +2 -0
  39. data/docs/DebSourceIndexResponse.md +2 -0
  40. data/docs/DebSourcePackage.md +2 -0
  41. data/docs/DebSourcePackageReleaseComponent.md +2 -0
  42. data/docs/DebSourcePackageReleaseComponentResponse.md +2 -0
  43. data/docs/DebSourcePackageResponse.md +2 -0
  44. data/docs/DistributionsAptApi.md +76 -34
  45. data/docs/PatcheddebAptDistribution.md +3 -1
  46. data/docs/PublicationsAptApi.md +44 -18
  47. data/docs/PublicationsVerbatimApi.md +44 -18
  48. data/docs/RemotesAptApi.md +72 -32
  49. data/docs/RepositoriesAptApi.md +88 -40
  50. data/docs/RepositoriesAptVersionsApi.md +22 -10
  51. data/lib/pulp_deb_client/api/content_generic_contents_api.rb +172 -3
  52. data/lib/pulp_deb_client/api/content_installer_file_indices_api.rb +169 -3
  53. data/lib/pulp_deb_client/api/content_installer_packages_api.rb +172 -3
  54. data/lib/pulp_deb_client/api/content_package_indices_api.rb +169 -3
  55. data/lib/pulp_deb_client/api/content_package_release_components_api.rb +169 -3
  56. data/lib/pulp_deb_client/api/content_packages_api.rb +172 -3
  57. data/lib/pulp_deb_client/api/content_release_architectures_api.rb +169 -3
  58. data/lib/pulp_deb_client/api/content_release_components_api.rb +169 -3
  59. data/lib/pulp_deb_client/api/content_release_files_api.rb +169 -3
  60. data/lib/pulp_deb_client/api/content_releases_api.rb +169 -3
  61. data/lib/pulp_deb_client/api/content_source_indices_api.rb +169 -3
  62. data/lib/pulp_deb_client/api/content_source_packages_api.rb +169 -3
  63. data/lib/pulp_deb_client/api/content_source_release_components_api.rb +169 -3
  64. data/lib/pulp_deb_client/api/deb_copy_api.rb +3 -0
  65. data/lib/pulp_deb_client/api/distributions_apt_api.rb +42 -3
  66. data/lib/pulp_deb_client/api/publications_apt_api.rb +30 -3
  67. data/lib/pulp_deb_client/api/publications_verbatim_api.rb +30 -3
  68. data/lib/pulp_deb_client/api/remotes_apt_api.rb +36 -0
  69. data/lib/pulp_deb_client/api/repositories_apt_api.rb +42 -0
  70. data/lib/pulp_deb_client/api/repositories_apt_versions_api.rb +15 -3
  71. data/lib/pulp_deb_client/models/deb_apt_distribution.rb +14 -5
  72. data/lib/pulp_deb_client/models/deb_apt_distribution_response.rb +14 -5
  73. data/lib/pulp_deb_client/models/deb_apt_publication.rb +10 -1
  74. data/lib/pulp_deb_client/models/deb_apt_publication_response.rb +10 -1
  75. data/lib/pulp_deb_client/models/deb_generic_content_response.rb +13 -1
  76. data/lib/pulp_deb_client/models/deb_installer_file_index.rb +13 -1
  77. data/lib/pulp_deb_client/models/deb_installer_file_index_response.rb +13 -1
  78. data/lib/pulp_deb_client/models/deb_installer_package_response.rb +13 -1
  79. data/lib/pulp_deb_client/models/deb_package_index.rb +13 -1
  80. data/lib/pulp_deb_client/models/deb_package_index_response.rb +13 -1
  81. data/lib/pulp_deb_client/models/deb_package_release_component.rb +13 -1
  82. data/lib/pulp_deb_client/models/deb_package_release_component_response.rb +13 -1
  83. data/lib/pulp_deb_client/models/deb_package_response.rb +13 -1
  84. data/lib/pulp_deb_client/models/deb_release.rb +13 -1
  85. data/lib/pulp_deb_client/models/deb_release_architecture.rb +13 -1
  86. data/lib/pulp_deb_client/models/deb_release_architecture_response.rb +13 -1
  87. data/lib/pulp_deb_client/models/deb_release_component.rb +13 -1
  88. data/lib/pulp_deb_client/models/deb_release_component_response.rb +13 -1
  89. data/lib/pulp_deb_client/models/deb_release_file.rb +13 -1
  90. data/lib/pulp_deb_client/models/deb_release_file_response.rb +13 -1
  91. data/lib/pulp_deb_client/models/deb_release_response.rb +13 -1
  92. data/lib/pulp_deb_client/models/deb_source_index.rb +13 -1
  93. data/lib/pulp_deb_client/models/deb_source_index_response.rb +13 -1
  94. data/lib/pulp_deb_client/models/deb_source_package.rb +13 -1
  95. data/lib/pulp_deb_client/models/deb_source_package_release_component.rb +13 -1
  96. data/lib/pulp_deb_client/models/deb_source_package_release_component_response.rb +13 -1
  97. data/lib/pulp_deb_client/models/deb_source_package_response.rb +13 -1
  98. data/lib/pulp_deb_client/models/patcheddeb_apt_distribution.rb +14 -5
  99. data/lib/pulp_deb_client/models/unset_label.rb +1 -1
  100. data/lib/pulp_deb_client/models/unset_label_response.rb +1 -1
  101. data/lib/pulp_deb_client/version.rb +1 -1
  102. data/pulp_deb_client.gemspec +0 -1
  103. data/spec/api/content_generic_contents_api_spec.rb +34 -1
  104. data/spec/api/content_installer_file_indices_api_spec.rb +33 -1
  105. data/spec/api/content_installer_packages_api_spec.rb +34 -1
  106. data/spec/api/content_package_indices_api_spec.rb +33 -1
  107. data/spec/api/content_package_release_components_api_spec.rb +33 -1
  108. data/spec/api/content_packages_api_spec.rb +34 -1
  109. data/spec/api/content_release_architectures_api_spec.rb +33 -1
  110. data/spec/api/content_release_components_api_spec.rb +33 -1
  111. data/spec/api/content_release_files_api_spec.rb +33 -1
  112. data/spec/api/content_releases_api_spec.rb +33 -1
  113. data/spec/api/content_source_indices_api_spec.rb +33 -1
  114. data/spec/api/content_source_packages_api_spec.rb +33 -1
  115. data/spec/api/content_source_release_components_api_spec.rb +33 -1
  116. data/spec/api/deb_copy_api_spec.rb +1 -0
  117. data/spec/api/distributions_apt_api_spec.rb +14 -1
  118. data/spec/api/publications_apt_api_spec.rb +10 -1
  119. data/spec/api/publications_verbatim_api_spec.rb +10 -1
  120. data/spec/api/remotes_apt_api_spec.rb +12 -0
  121. data/spec/api/repositories_apt_api_spec.rb +14 -0
  122. data/spec/api/repositories_apt_versions_api_spec.rb +5 -1
  123. data/spec/models/deb_apt_distribution_response_spec.rb +6 -0
  124. data/spec/models/deb_apt_distribution_spec.rb +6 -0
  125. data/spec/models/deb_apt_publication_response_spec.rb +6 -0
  126. data/spec/models/deb_apt_publication_spec.rb +6 -0
  127. data/spec/models/deb_generic_content_response_spec.rb +6 -0
  128. data/spec/models/deb_installer_file_index_response_spec.rb +6 -0
  129. data/spec/models/deb_installer_file_index_spec.rb +6 -0
  130. data/spec/models/deb_installer_package_response_spec.rb +6 -0
  131. data/spec/models/deb_package_index_response_spec.rb +6 -0
  132. data/spec/models/deb_package_index_spec.rb +6 -0
  133. data/spec/models/deb_package_release_component_response_spec.rb +6 -0
  134. data/spec/models/deb_package_release_component_spec.rb +6 -0
  135. data/spec/models/deb_package_response_spec.rb +6 -0
  136. data/spec/models/deb_release_architecture_response_spec.rb +6 -0
  137. data/spec/models/deb_release_architecture_spec.rb +6 -0
  138. data/spec/models/deb_release_component_response_spec.rb +6 -0
  139. data/spec/models/deb_release_component_spec.rb +6 -0
  140. data/spec/models/deb_release_file_response_spec.rb +6 -0
  141. data/spec/models/deb_release_file_spec.rb +6 -0
  142. data/spec/models/deb_release_response_spec.rb +6 -0
  143. data/spec/models/deb_release_spec.rb +6 -0
  144. data/spec/models/deb_source_index_response_spec.rb +6 -0
  145. data/spec/models/deb_source_index_spec.rb +6 -0
  146. data/spec/models/deb_source_package_release_component_response_spec.rb +6 -0
  147. data/spec/models/deb_source_package_release_component_spec.rb +6 -0
  148. data/spec/models/deb_source_package_response_spec.rb +6 -0
  149. data/spec/models/deb_source_package_spec.rb +6 -0
  150. data/spec/models/patcheddeb_apt_distribution_spec.rb +6 -0
  151. metadata +76 -96
@@ -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,11 +234,13 @@ 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.
238
+ # @option opts [Boolean] :checkpoint Filter results where checkpoint matches value
228
239
  # @option opts [String] :content Content Unit referenced by HREF/PRN
229
240
  # @option opts [Array<String>] :content__in Multiple values may be separated by commas.
230
241
  # @option opts [Integer] :limit Number of results to return per page.
231
242
  # @option opts [Integer] :offset The initial index from which to return the results.
232
- # @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;complete&#x60; - Complete * &#x60;-complete&#x60; - Complete (descending) * &#x60;pass_through&#x60; - Pass through * &#x60;-pass_through&#x60; - Pass through (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
243
+ # @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;complete&#x60; - Complete * &#x60;-complete&#x60; - Complete (descending) * &#x60;pass_through&#x60; - Pass through * &#x60;-pass_through&#x60; - Pass through (descending) * &#x60;checkpoint&#x60; - Checkpoint * &#x60;-checkpoint&#x60; - Checkpoint (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
233
244
  # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
234
245
  # @option opts [Time] :pulp_created Filter results where pulp_created matches value
235
246
  # @option opts [Time] :pulp_created__gt Filter results where pulp_created is greater than value
@@ -254,11 +265,13 @@ module PulpDebClient
254
265
  # List apt publications
255
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).
256
267
  # @param [Hash] opts the optional parameters
268
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
269
+ # @option opts [Boolean] :checkpoint Filter results where checkpoint matches value
257
270
  # @option opts [String] :content Content Unit referenced by HREF/PRN
258
271
  # @option opts [Array<String>] :content__in Multiple values may be separated by commas.
259
272
  # @option opts [Integer] :limit Number of results to return per page.
260
273
  # @option opts [Integer] :offset The initial index from which to return the results.
261
- # @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;complete&#x60; - Complete * &#x60;-complete&#x60; - Complete (descending) * &#x60;pass_through&#x60; - Pass through * &#x60;-pass_through&#x60; - Pass through (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
274
+ # @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;complete&#x60; - Complete * &#x60;-complete&#x60; - Complete (descending) * &#x60;pass_through&#x60; - Pass through * &#x60;-pass_through&#x60; - Pass through (descending) * &#x60;checkpoint&#x60; - Checkpoint * &#x60;-checkpoint&#x60; - Checkpoint (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
262
275
  # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
263
276
  # @option opts [Time] :pulp_created Filter results where pulp_created matches value
264
277
  # @option opts [Time] :pulp_created__gt Filter results where pulp_created is greater than value
@@ -279,7 +292,7 @@ module PulpDebClient
279
292
  if @api_client.config.debugging
280
293
  @api_client.config.logger.debug 'Calling API: PublicationsAptApi.list ...'
281
294
  end
282
- allowable_values = ["-complete", "-pass_through", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "complete", "pass_through", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type"]
295
+ allowable_values = ["-checkpoint", "-complete", "-pass_through", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "checkpoint", "complete", "pass_through", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type"]
283
296
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
284
297
  fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
285
298
  end
@@ -288,6 +301,7 @@ module PulpDebClient
288
301
 
289
302
  # query parameters
290
303
  query_params = opts[:query_params] || {}
304
+ query_params[:'checkpoint'] = opts[:'checkpoint'] if !opts[:'checkpoint'].nil?
291
305
  query_params[:'content'] = opts[:'content'] if !opts[:'content'].nil?
292
306
  query_params[:'content__in'] = @api_client.build_collection_param(opts[:'content__in'], :csv) if !opts[:'content__in'].nil?
293
307
  query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
@@ -313,6 +327,7 @@ module PulpDebClient
313
327
  header_params = opts[:header_params] || {}
314
328
  # HTTP header 'Accept' (if needed)
315
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?
316
331
 
317
332
  # form parameters
318
333
  form_params = opts[:form_params] || {}
@@ -347,6 +362,7 @@ module PulpDebClient
347
362
  # List roles assigned to this object.
348
363
  # @param deb_apt_publication_href [String]
349
364
  # @param [Hash] opts the optional parameters
365
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
350
366
  # @option opts [Array<String>] :fields A list of fields to include in the response.
351
367
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
352
368
  # @return [ObjectRolesResponse]
@@ -359,6 +375,7 @@ module PulpDebClient
359
375
  # List roles assigned to this object.
360
376
  # @param deb_apt_publication_href [String]
361
377
  # @param [Hash] opts the optional parameters
378
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
362
379
  # @option opts [Array<String>] :fields A list of fields to include in the response.
363
380
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
364
381
  # @return [Array<(ObjectRolesResponse, Integer, Hash)>] ObjectRolesResponse data, response status code and response headers
@@ -382,6 +399,7 @@ module PulpDebClient
382
399
  header_params = opts[:header_params] || {}
383
400
  # HTTP header 'Accept' (if needed)
384
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?
385
403
 
386
404
  # form parameters
387
405
  form_params = opts[:form_params] || {}
@@ -416,6 +434,7 @@ module PulpDebClient
416
434
  # List permissions available to the current user on this object.
417
435
  # @param deb_apt_publication_href [String]
418
436
  # @param [Hash] opts the optional parameters
437
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
419
438
  # @option opts [Array<String>] :fields A list of fields to include in the response.
420
439
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
421
440
  # @return [MyPermissionsResponse]
@@ -428,6 +447,7 @@ module PulpDebClient
428
447
  # List permissions available to the current user on this object.
429
448
  # @param deb_apt_publication_href [String]
430
449
  # @param [Hash] opts the optional parameters
450
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
431
451
  # @option opts [Array<String>] :fields A list of fields to include in the response.
432
452
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
433
453
  # @return [Array<(MyPermissionsResponse, Integer, Hash)>] MyPermissionsResponse data, response status code and response headers
@@ -451,6 +471,7 @@ module PulpDebClient
451
471
  header_params = opts[:header_params] || {}
452
472
  # HTTP header 'Accept' (if needed)
453
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?
454
475
 
455
476
  # form parameters
456
477
  form_params = opts[:form_params] || {}
@@ -485,6 +506,7 @@ module PulpDebClient
485
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).
486
507
  # @param deb_apt_publication_href [String]
487
508
  # @param [Hash] opts the optional parameters
509
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
488
510
  # @option opts [Array<String>] :fields A list of fields to include in the response.
489
511
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
490
512
  # @return [DebAptPublicationResponse]
@@ -497,6 +519,7 @@ module PulpDebClient
497
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).
498
520
  # @param deb_apt_publication_href [String]
499
521
  # @param [Hash] opts the optional parameters
522
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
500
523
  # @option opts [Array<String>] :fields A list of fields to include in the response.
501
524
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
502
525
  # @return [Array<(DebAptPublicationResponse, Integer, Hash)>] DebAptPublicationResponse data, response status code and response headers
@@ -520,6 +543,7 @@ module PulpDebClient
520
543
  header_params = opts[:header_params] || {}
521
544
  # HTTP header 'Accept' (if needed)
522
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?
523
547
 
524
548
  # form parameters
525
549
  form_params = opts[:form_params] || {}
@@ -555,6 +579,7 @@ module PulpDebClient
555
579
  # @param deb_apt_publication_href [String]
556
580
  # @param nested_role [NestedRole]
557
581
  # @param [Hash] opts the optional parameters
582
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
558
583
  # @return [NestedRoleResponse]
559
584
  def remove_role(deb_apt_publication_href, nested_role, opts = {})
560
585
  data, _status_code, _headers = remove_role_with_http_info(deb_apt_publication_href, nested_role, opts)
@@ -566,6 +591,7 @@ module PulpDebClient
566
591
  # @param deb_apt_publication_href [String]
567
592
  # @param nested_role [NestedRole]
568
593
  # @param [Hash] opts the optional parameters
594
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
569
595
  # @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
570
596
  def remove_role_with_http_info(deb_apt_publication_href, nested_role, opts = {})
571
597
  if @api_client.config.debugging
@@ -594,6 +620,7 @@ module PulpDebClient
594
620
  if !content_type.nil?
595
621
  header_params['Content-Type'] = content_type
596
622
  end
623
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
597
624
 
598
625
  # form parameters
599
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,11 +234,13 @@ 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.
238
+ # @option opts [Boolean] :checkpoint Filter results where checkpoint matches value
228
239
  # @option opts [String] :content Content Unit referenced by HREF/PRN
229
240
  # @option opts [Array<String>] :content__in Multiple values may be separated by commas.
230
241
  # @option opts [Integer] :limit Number of results to return per page.
231
242
  # @option opts [Integer] :offset The initial index from which to return the results.
232
- # @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;complete&#x60; - Complete * &#x60;-complete&#x60; - Complete (descending) * &#x60;pass_through&#x60; - Pass through * &#x60;-pass_through&#x60; - Pass through (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
243
+ # @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;complete&#x60; - Complete * &#x60;-complete&#x60; - Complete (descending) * &#x60;pass_through&#x60; - Pass through * &#x60;-pass_through&#x60; - Pass through (descending) * &#x60;checkpoint&#x60; - Checkpoint * &#x60;-checkpoint&#x60; - Checkpoint (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
233
244
  # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
234
245
  # @option opts [Time] :pulp_created Filter results where pulp_created matches value
235
246
  # @option opts [Time] :pulp_created__gt Filter results where pulp_created is greater than value
@@ -254,11 +265,13 @@ module PulpDebClient
254
265
  # List verbatim publications
255
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).
256
267
  # @param [Hash] opts the optional parameters
268
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
269
+ # @option opts [Boolean] :checkpoint Filter results where checkpoint matches value
257
270
  # @option opts [String] :content Content Unit referenced by HREF/PRN
258
271
  # @option opts [Array<String>] :content__in Multiple values may be separated by commas.
259
272
  # @option opts [Integer] :limit Number of results to return per page.
260
273
  # @option opts [Integer] :offset The initial index from which to return the results.
261
- # @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;complete&#x60; - Complete * &#x60;-complete&#x60; - Complete (descending) * &#x60;pass_through&#x60; - Pass through * &#x60;-pass_through&#x60; - Pass through (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
274
+ # @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;complete&#x60; - Complete * &#x60;-complete&#x60; - Complete (descending) * &#x60;pass_through&#x60; - Pass through * &#x60;-pass_through&#x60; - Pass through (descending) * &#x60;checkpoint&#x60; - Checkpoint * &#x60;-checkpoint&#x60; - Checkpoint (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
262
275
  # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
263
276
  # @option opts [Time] :pulp_created Filter results where pulp_created matches value
264
277
  # @option opts [Time] :pulp_created__gt Filter results where pulp_created is greater than value
@@ -279,7 +292,7 @@ module PulpDebClient
279
292
  if @api_client.config.debugging
280
293
  @api_client.config.logger.debug 'Calling API: PublicationsVerbatimApi.list ...'
281
294
  end
282
- allowable_values = ["-complete", "-pass_through", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "complete", "pass_through", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type"]
295
+ allowable_values = ["-checkpoint", "-complete", "-pass_through", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "checkpoint", "complete", "pass_through", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type"]
283
296
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
284
297
  fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
285
298
  end
@@ -288,6 +301,7 @@ module PulpDebClient
288
301
 
289
302
  # query parameters
290
303
  query_params = opts[:query_params] || {}
304
+ query_params[:'checkpoint'] = opts[:'checkpoint'] if !opts[:'checkpoint'].nil?
291
305
  query_params[:'content'] = opts[:'content'] if !opts[:'content'].nil?
292
306
  query_params[:'content__in'] = @api_client.build_collection_param(opts[:'content__in'], :csv) if !opts[:'content__in'].nil?
293
307
  query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
@@ -313,6 +327,7 @@ module PulpDebClient
313
327
  header_params = opts[:header_params] || {}
314
328
  # HTTP header 'Accept' (if needed)
315
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?
316
331
 
317
332
  # form parameters
318
333
  form_params = opts[:form_params] || {}
@@ -347,6 +362,7 @@ module PulpDebClient
347
362
  # List roles assigned to this object.
348
363
  # @param deb_verbatim_publication_href [String]
349
364
  # @param [Hash] opts the optional parameters
365
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
350
366
  # @option opts [Array<String>] :fields A list of fields to include in the response.
351
367
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
352
368
  # @return [ObjectRolesResponse]
@@ -359,6 +375,7 @@ module PulpDebClient
359
375
  # List roles assigned to this object.
360
376
  # @param deb_verbatim_publication_href [String]
361
377
  # @param [Hash] opts the optional parameters
378
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
362
379
  # @option opts [Array<String>] :fields A list of fields to include in the response.
363
380
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
364
381
  # @return [Array<(ObjectRolesResponse, Integer, Hash)>] ObjectRolesResponse data, response status code and response headers
@@ -382,6 +399,7 @@ module PulpDebClient
382
399
  header_params = opts[:header_params] || {}
383
400
  # HTTP header 'Accept' (if needed)
384
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?
385
403
 
386
404
  # form parameters
387
405
  form_params = opts[:form_params] || {}
@@ -416,6 +434,7 @@ module PulpDebClient
416
434
  # List permissions available to the current user on this object.
417
435
  # @param deb_verbatim_publication_href [String]
418
436
  # @param [Hash] opts the optional parameters
437
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
419
438
  # @option opts [Array<String>] :fields A list of fields to include in the response.
420
439
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
421
440
  # @return [MyPermissionsResponse]
@@ -428,6 +447,7 @@ module PulpDebClient
428
447
  # List permissions available to the current user on this object.
429
448
  # @param deb_verbatim_publication_href [String]
430
449
  # @param [Hash] opts the optional parameters
450
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
431
451
  # @option opts [Array<String>] :fields A list of fields to include in the response.
432
452
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
433
453
  # @return [Array<(MyPermissionsResponse, Integer, Hash)>] MyPermissionsResponse data, response status code and response headers
@@ -451,6 +471,7 @@ module PulpDebClient
451
471
  header_params = opts[:header_params] || {}
452
472
  # HTTP header 'Accept' (if needed)
453
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?
454
475
 
455
476
  # form parameters
456
477
  form_params = opts[:form_params] || {}
@@ -485,6 +506,7 @@ module PulpDebClient
485
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).
486
507
  # @param deb_verbatim_publication_href [String]
487
508
  # @param [Hash] opts the optional parameters
509
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
488
510
  # @option opts [Array<String>] :fields A list of fields to include in the response.
489
511
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
490
512
  # @return [DebVerbatimPublicationResponse]
@@ -497,6 +519,7 @@ module PulpDebClient
497
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).
498
520
  # @param deb_verbatim_publication_href [String]
499
521
  # @param [Hash] opts the optional parameters
522
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
500
523
  # @option opts [Array<String>] :fields A list of fields to include in the response.
501
524
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
502
525
  # @return [Array<(DebVerbatimPublicationResponse, Integer, Hash)>] DebVerbatimPublicationResponse data, response status code and response headers
@@ -520,6 +543,7 @@ module PulpDebClient
520
543
  header_params = opts[:header_params] || {}
521
544
  # HTTP header 'Accept' (if needed)
522
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?
523
547
 
524
548
  # form parameters
525
549
  form_params = opts[:form_params] || {}
@@ -555,6 +579,7 @@ module PulpDebClient
555
579
  # @param deb_verbatim_publication_href [String]
556
580
  # @param nested_role [NestedRole]
557
581
  # @param [Hash] opts the optional parameters
582
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
558
583
  # @return [NestedRoleResponse]
559
584
  def remove_role(deb_verbatim_publication_href, nested_role, opts = {})
560
585
  data, _status_code, _headers = remove_role_with_http_info(deb_verbatim_publication_href, nested_role, opts)
@@ -566,6 +591,7 @@ module PulpDebClient
566
591
  # @param deb_verbatim_publication_href [String]
567
592
  # @param nested_role [NestedRole]
568
593
  # @param [Hash] opts the optional parameters
594
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
569
595
  # @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
570
596
  def remove_role_with_http_info(deb_verbatim_publication_href, nested_role, opts = {})
571
597
  if @api_client.config.debugging
@@ -594,6 +620,7 @@ module PulpDebClient
594
620
  if !content_type.nil?
595
621
  header_params['Content-Type'] = content_type
596
622
  end
623
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
597
624
 
598
625
  # form parameters
599
626
  form_params = opts[:form_params] || {}