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.
- checksums.yaml +4 -4
- data/README.md +5 -4
- data/docs/ContentGenericContentsApi.md +22 -8
- data/docs/ContentInstallerFileIndicesApi.md +28 -12
- data/docs/ContentInstallerPackagesApi.md +22 -8
- data/docs/ContentPackageIndicesApi.md +28 -12
- data/docs/ContentPackageReleaseComponentsApi.md +28 -12
- data/docs/ContentPackagesApi.md +22 -8
- data/docs/ContentReleaseArchitecturesApi.md +28 -12
- data/docs/ContentReleaseComponentsApi.md +28 -12
- data/docs/ContentReleaseFilesApi.md +28 -12
- data/docs/ContentReleasesApi.md +28 -12
- data/docs/ContentSourceIndicesApi.md +28 -12
- data/docs/ContentSourcePackagesApi.md +28 -12
- data/docs/ContentSourceReleaseComponentsApi.md +28 -12
- data/docs/DebAptDistribution.md +3 -1
- data/docs/DebAptDistributionResponse.md +3 -1
- data/docs/DebAptPublication.md +2 -0
- data/docs/DebAptPublicationResponse.md +2 -0
- data/docs/DebCopyApi.md +8 -4
- data/docs/DistributionsAptApi.md +72 -32
- data/docs/PatcheddebAptDistribution.md +3 -1
- data/docs/PublicationsAptApi.md +40 -16
- data/docs/PublicationsVerbatimApi.md +40 -16
- data/docs/RemotesAptApi.md +72 -32
- data/docs/RepositoriesAptApi.md +88 -40
- data/docs/RepositoriesAptVersionsApi.md +22 -10
- data/lib/pulp_deb_client/api/content_generic_contents_api.rb +15 -0
- data/lib/pulp_deb_client/api/content_installer_file_indices_api.rb +15 -0
- data/lib/pulp_deb_client/api/content_installer_packages_api.rb +15 -0
- data/lib/pulp_deb_client/api/content_package_indices_api.rb +15 -0
- data/lib/pulp_deb_client/api/content_package_release_components_api.rb +15 -0
- data/lib/pulp_deb_client/api/content_packages_api.rb +15 -0
- data/lib/pulp_deb_client/api/content_release_architectures_api.rb +15 -0
- data/lib/pulp_deb_client/api/content_release_components_api.rb +15 -0
- data/lib/pulp_deb_client/api/content_release_files_api.rb +15 -0
- data/lib/pulp_deb_client/api/content_releases_api.rb +15 -0
- data/lib/pulp_deb_client/api/content_source_indices_api.rb +15 -0
- data/lib/pulp_deb_client/api/content_source_packages_api.rb +15 -0
- data/lib/pulp_deb_client/api/content_source_release_components_api.rb +15 -0
- data/lib/pulp_deb_client/api/deb_copy_api.rb +3 -0
- data/lib/pulp_deb_client/api/distributions_apt_api.rb +36 -0
- data/lib/pulp_deb_client/api/publications_apt_api.rb +24 -0
- data/lib/pulp_deb_client/api/publications_verbatim_api.rb +24 -0
- data/lib/pulp_deb_client/api/remotes_apt_api.rb +36 -0
- data/lib/pulp_deb_client/api/repositories_apt_api.rb +42 -0
- data/lib/pulp_deb_client/api/repositories_apt_versions_api.rb +15 -3
- data/lib/pulp_deb_client/models/deb_apt_distribution.rb +14 -5
- data/lib/pulp_deb_client/models/deb_apt_distribution_response.rb +14 -5
- data/lib/pulp_deb_client/models/deb_apt_publication.rb +10 -1
- data/lib/pulp_deb_client/models/deb_apt_publication_response.rb +10 -1
- data/lib/pulp_deb_client/models/patcheddeb_apt_distribution.rb +14 -5
- data/lib/pulp_deb_client/version.rb +1 -1
- data/spec/api/content_generic_contents_api_spec.rb +5 -0
- data/spec/api/content_installer_file_indices_api_spec.rb +5 -0
- data/spec/api/content_installer_packages_api_spec.rb +5 -0
- data/spec/api/content_package_indices_api_spec.rb +5 -0
- data/spec/api/content_package_release_components_api_spec.rb +5 -0
- data/spec/api/content_packages_api_spec.rb +5 -0
- data/spec/api/content_release_architectures_api_spec.rb +5 -0
- data/spec/api/content_release_components_api_spec.rb +5 -0
- data/spec/api/content_release_files_api_spec.rb +5 -0
- data/spec/api/content_releases_api_spec.rb +5 -0
- data/spec/api/content_source_indices_api_spec.rb +5 -0
- data/spec/api/content_source_packages_api_spec.rb +5 -0
- data/spec/api/content_source_release_components_api_spec.rb +5 -0
- data/spec/api/deb_copy_api_spec.rb +1 -0
- data/spec/api/distributions_apt_api_spec.rb +12 -0
- data/spec/api/publications_apt_api_spec.rb +8 -0
- data/spec/api/publications_verbatim_api_spec.rb +8 -0
- data/spec/api/remotes_apt_api_spec.rb +12 -0
- data/spec/api/repositories_apt_api_spec.rb +14 -0
- data/spec/api/repositories_apt_versions_api_spec.rb +5 -1
- data/spec/models/deb_apt_distribution_response_spec.rb +6 -0
- data/spec/models/deb_apt_distribution_spec.rb +6 -0
- data/spec/models/deb_apt_publication_response_spec.rb +6 -0
- data/spec/models/deb_apt_publication_spec.rb +6 -0
- data/spec/models/patcheddeb_apt_distribution_spec.rb +6 -0
- metadata +75 -75
@@ -23,6 +23,7 @@ module PulpDebClient
|
|
23
23
|
# Trigger an asynchronous task to create content,optionally create new repository version.
|
24
24
|
# @param relative_path [String] Path where the artifact is located relative to distributions base_path
|
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
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
27
28
|
# @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
28
29
|
# @option opts [String] :artifact Artifact file representing the physical content
|
@@ -39,6 +40,7 @@ module PulpDebClient
|
|
39
40
|
# Trigger an asynchronous task to create content,optionally create new repository version.
|
40
41
|
# @param relative_path [String] Path where the artifact is located relative to distributions base_path
|
41
42
|
# @param [Hash] opts the optional parameters
|
43
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
42
44
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
43
45
|
# @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
44
46
|
# @option opts [String] :artifact Artifact file representing the physical content
|
@@ -77,6 +79,7 @@ module PulpDebClient
|
|
77
79
|
if !content_type.nil?
|
78
80
|
header_params['Content-Type'] = content_type
|
79
81
|
end
|
82
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
80
83
|
|
81
84
|
# form parameters
|
82
85
|
form_params = opts[:form_params] || {}
|
@@ -117,6 +120,7 @@ module PulpDebClient
|
|
117
120
|
# List generic contents
|
118
121
|
# GenericContent is a catch all category for storing files not covered by any other type. Associated artifacts: Exactly one arbitrary file that does not match any other type. This is needed to store arbitrary files for use with the verbatim publisher. If you are not using the verbatim publisher, you may ignore this type.
|
119
122
|
# @param [Hash] opts the optional parameters
|
123
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
120
124
|
# @option opts [Integer] :limit Number of results to return per page.
|
121
125
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
122
126
|
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
@@ -142,6 +146,7 @@ module PulpDebClient
|
|
142
146
|
# List generic contents
|
143
147
|
# GenericContent is a catch all category for storing files not covered by any other type. Associated artifacts: Exactly one arbitrary file that does not match any other type. This is needed to store arbitrary files for use with the verbatim publisher. If you are not using the verbatim publisher, you may ignore this type.
|
144
148
|
# @param [Hash] opts the optional parameters
|
149
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
145
150
|
# @option opts [Integer] :limit Number of results to return per page.
|
146
151
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
147
152
|
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
@@ -193,6 +198,7 @@ module PulpDebClient
|
|
193
198
|
header_params = opts[:header_params] || {}
|
194
199
|
# HTTP header 'Accept' (if needed)
|
195
200
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
201
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
196
202
|
|
197
203
|
# form parameters
|
198
204
|
form_params = opts[:form_params] || {}
|
@@ -227,6 +233,7 @@ module PulpDebClient
|
|
227
233
|
# GenericContent is a catch all category for storing files not covered by any other type. Associated artifacts: Exactly one arbitrary file that does not match any other type. This is needed to store arbitrary files for use with the verbatim publisher. If you are not using the verbatim publisher, you may ignore this type.
|
228
234
|
# @param deb_generic_content_href [String]
|
229
235
|
# @param [Hash] opts the optional parameters
|
236
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
230
237
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
231
238
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
232
239
|
# @return [DebGenericContentResponse]
|
@@ -239,6 +246,7 @@ module PulpDebClient
|
|
239
246
|
# GenericContent is a catch all category for storing files not covered by any other type. Associated artifacts: Exactly one arbitrary file that does not match any other type. This is needed to store arbitrary files for use with the verbatim publisher. If you are not using the verbatim publisher, you may ignore this type.
|
240
247
|
# @param deb_generic_content_href [String]
|
241
248
|
# @param [Hash] opts the optional parameters
|
249
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
242
250
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
243
251
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
244
252
|
# @return [Array<(DebGenericContentResponse, Integer, Hash)>] DebGenericContentResponse data, response status code and response headers
|
@@ -262,6 +270,7 @@ module PulpDebClient
|
|
262
270
|
header_params = opts[:header_params] || {}
|
263
271
|
# HTTP header 'Accept' (if needed)
|
264
272
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
273
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
265
274
|
|
266
275
|
# form parameters
|
267
276
|
form_params = opts[:form_params] || {}
|
@@ -297,6 +306,7 @@ module PulpDebClient
|
|
297
306
|
# @param deb_generic_content_href [String]
|
298
307
|
# @param set_label [SetLabel]
|
299
308
|
# @param [Hash] opts the optional parameters
|
309
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
300
310
|
# @return [SetLabelResponse]
|
301
311
|
def set_label(deb_generic_content_href, set_label, opts = {})
|
302
312
|
data, _status_code, _headers = set_label_with_http_info(deb_generic_content_href, set_label, opts)
|
@@ -308,6 +318,7 @@ module PulpDebClient
|
|
308
318
|
# @param deb_generic_content_href [String]
|
309
319
|
# @param set_label [SetLabel]
|
310
320
|
# @param [Hash] opts the optional parameters
|
321
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
311
322
|
# @return [Array<(SetLabelResponse, Integer, Hash)>] SetLabelResponse data, response status code and response headers
|
312
323
|
def set_label_with_http_info(deb_generic_content_href, set_label, opts = {})
|
313
324
|
if @api_client.config.debugging
|
@@ -336,6 +347,7 @@ module PulpDebClient
|
|
336
347
|
if !content_type.nil?
|
337
348
|
header_params['Content-Type'] = content_type
|
338
349
|
end
|
350
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
339
351
|
|
340
352
|
# form parameters
|
341
353
|
form_params = opts[:form_params] || {}
|
@@ -371,6 +383,7 @@ module PulpDebClient
|
|
371
383
|
# @param deb_generic_content_href [String]
|
372
384
|
# @param unset_label [UnsetLabel]
|
373
385
|
# @param [Hash] opts the optional parameters
|
386
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
374
387
|
# @return [UnsetLabelResponse]
|
375
388
|
def unset_label(deb_generic_content_href, unset_label, opts = {})
|
376
389
|
data, _status_code, _headers = unset_label_with_http_info(deb_generic_content_href, unset_label, opts)
|
@@ -382,6 +395,7 @@ module PulpDebClient
|
|
382
395
|
# @param deb_generic_content_href [String]
|
383
396
|
# @param unset_label [UnsetLabel]
|
384
397
|
# @param [Hash] opts the optional parameters
|
398
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
385
399
|
# @return [Array<(UnsetLabelResponse, Integer, Hash)>] UnsetLabelResponse data, response status code and response headers
|
386
400
|
def unset_label_with_http_info(deb_generic_content_href, unset_label, opts = {})
|
387
401
|
if @api_client.config.debugging
|
@@ -410,6 +424,7 @@ module PulpDebClient
|
|
410
424
|
if !content_type.nil?
|
411
425
|
header_params['Content-Type'] = content_type
|
412
426
|
end
|
427
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
413
428
|
|
414
429
|
# form parameters
|
415
430
|
form_params = opts[:form_params] || {}
|
@@ -23,6 +23,7 @@ module PulpDebClient
|
|
23
23
|
# An InstallerFileIndex represents the indices for a set of installer files. Associated artifacts: Exactly one 'SHA256SUMS' and/or 'MD5SUMS' file. Each InstallerFileIndes is associated with a single component-architecture combination within a single Release. Note that installer files are currently used exclusively for verbatim publications. The APT publisher (both simple and structured mode) does not make use of installer content.
|
24
24
|
# @param deb_installer_file_index [DebInstallerFileIndex]
|
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 [DebInstallerFileIndexResponse]
|
27
28
|
def create(deb_installer_file_index, opts = {})
|
28
29
|
data, _status_code, _headers = create_with_http_info(deb_installer_file_index, opts)
|
@@ -33,6 +34,7 @@ module PulpDebClient
|
|
33
34
|
# An InstallerFileIndex represents the indices for a set of installer files. Associated artifacts: Exactly one 'SHA256SUMS' and/or 'MD5SUMS' file. Each InstallerFileIndes is associated with a single component-architecture combination within a single Release. Note that installer files are currently used exclusively for verbatim publications. The APT publisher (both simple and structured mode) does not make use of installer content.
|
34
35
|
# @param deb_installer_file_index [DebInstallerFileIndex]
|
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<(DebInstallerFileIndexResponse, Integer, Hash)>] DebInstallerFileIndexResponse data, response status code and response headers
|
37
39
|
def create_with_http_info(deb_installer_file_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 InstallerFileIndices
|
91
94
|
# An InstallerFileIndex represents the indices for a set of installer files. Associated artifacts: Exactly one 'SHA256SUMS' and/or 'MD5SUMS' file. Each InstallerFileIndes is associated with a single component-architecture combination within a single Release. Note that installer files are currently used exclusively for verbatim publications. The APT publisher (both simple and structured mode) does not make use of installer 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] :architecture Filter results where architecture matches value
|
94
98
|
# @option opts [String] :component Filter results where component matches value
|
95
99
|
# @option opts [Integer] :limit Number of results to return per page.
|
@@ -117,6 +121,7 @@ module PulpDebClient
|
|
117
121
|
# List InstallerFileIndices
|
118
122
|
# An InstallerFileIndex represents the indices for a set of installer files. Associated artifacts: Exactly one 'SHA256SUMS' and/or 'MD5SUMS' file. Each InstallerFileIndes is associated with a single component-architecture combination within a single Release. Note that installer files are currently used exclusively for verbatim publications. The APT publisher (both simple and structured mode) does not make use of installer 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] :architecture Filter results where architecture matches value
|
121
126
|
# @option opts [String] :component Filter results where component matches value
|
122
127
|
# @option opts [Integer] :limit Number of results to return per page.
|
@@ -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
|
# An InstallerFileIndex represents the indices for a set of installer files. Associated artifacts: Exactly one 'SHA256SUMS' and/or 'MD5SUMS' file. Each InstallerFileIndes is associated with a single component-architecture combination within a single Release. Note that installer files are currently used exclusively for verbatim publications. The APT publisher (both simple and structured mode) does not make use of installer content.
|
207
213
|
# @param deb_installer_file_index_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 [DebInstallerFileIndexResponse]
|
@@ -218,6 +225,7 @@ module PulpDebClient
|
|
218
225
|
# An InstallerFileIndex represents the indices for a set of installer files. Associated artifacts: Exactly one 'SHA256SUMS' and/or 'MD5SUMS' file. Each InstallerFileIndes is associated with a single component-architecture combination within a single Release. Note that installer files are currently used exclusively for verbatim publications. The APT publisher (both simple and structured mode) does not make use of installer content.
|
219
226
|
# @param deb_installer_file_index_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<(DebInstallerFileIndexResponse, Integer, Hash)>] DebInstallerFileIndexResponse 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_installer_file_index_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_installer_file_index_href, set_label, opts = {})
|
281
291
|
data, _status_code, _headers = set_label_with_http_info(deb_installer_file_index_href, set_label, opts)
|
@@ -287,6 +297,7 @@ module PulpDebClient
|
|
287
297
|
# @param deb_installer_file_index_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_installer_file_index_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_installer_file_index_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_installer_file_index_href, unset_label, opts = {})
|
355
368
|
data, _status_code, _headers = unset_label_with_http_info(deb_installer_file_index_href, unset_label, opts)
|
@@ -361,6 +374,7 @@ module PulpDebClient
|
|
361
374
|
# @param deb_installer_file_index_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_installer_file_index_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] || {}
|
@@ -22,6 +22,7 @@ module PulpDebClient
|
|
22
22
|
# Create an installer 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
|
@@ -38,6 +39,7 @@ module PulpDebClient
|
|
38
39
|
# Create an installer package
|
39
40
|
# Trigger an asynchronous task to create content,optionally create new repository version.
|
40
41
|
# @param [Hash] opts the optional parameters
|
42
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
41
43
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
42
44
|
# @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
43
45
|
# @option opts [String] :artifact Artifact file representing the physical content
|
@@ -73,6 +75,7 @@ module PulpDebClient
|
|
73
75
|
if !content_type.nil?
|
74
76
|
header_params['Content-Type'] = content_type
|
75
77
|
end
|
78
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
76
79
|
|
77
80
|
# form parameters
|
78
81
|
form_params = opts[:form_params] || {}
|
@@ -113,6 +116,7 @@ module PulpDebClient
|
|
113
116
|
# List installer packages
|
114
117
|
# An InstallerPackage represents a '.udeb' installer package. Associated artifacts: Exactly one '.udeb' installer package file. Note that installer packages are currently used exclusively for verbatim publications. The APT publisher (both simple and structured mode) will not include these packages.
|
115
118
|
# @param [Hash] opts the optional parameters
|
119
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
116
120
|
# @option opts [String] :architecture Filter results where architecture matches value
|
117
121
|
# @option opts [String] :auto_built_package Filter results where auto_built_package matches value
|
118
122
|
# @option opts [Boolean] :build_essential Filter results where build_essential matches value * `True` - yes * `False` - no
|
@@ -153,6 +157,7 @@ module PulpDebClient
|
|
153
157
|
# List installer packages
|
154
158
|
# An InstallerPackage represents a '.udeb' installer package. Associated artifacts: Exactly one '.udeb' installer package file. Note that installer packages are currently used exclusively for verbatim publications. The APT publisher (both simple and structured mode) will not include these packages.
|
155
159
|
# @param [Hash] opts the optional parameters
|
160
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
156
161
|
# @option opts [String] :architecture Filter results where architecture matches value
|
157
162
|
# @option opts [String] :auto_built_package Filter results where auto_built_package matches value
|
158
163
|
# @option opts [Boolean] :build_essential Filter results where build_essential matches value * `True` - yes * `False` - no
|
@@ -238,6 +243,7 @@ module PulpDebClient
|
|
238
243
|
header_params = opts[:header_params] || {}
|
239
244
|
# HTTP header 'Accept' (if needed)
|
240
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?
|
241
247
|
|
242
248
|
# form parameters
|
243
249
|
form_params = opts[:form_params] || {}
|
@@ -272,6 +278,7 @@ module PulpDebClient
|
|
272
278
|
# An InstallerPackage represents a '.udeb' installer package. Associated artifacts: Exactly one '.udeb' installer package file. Note that installer packages are currently used exclusively for verbatim publications. The APT publisher (both simple and structured mode) will not include these packages.
|
273
279
|
# @param deb_installer_package_href [String]
|
274
280
|
# @param [Hash] opts the optional parameters
|
281
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
275
282
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
276
283
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
277
284
|
# @return [DebInstallerPackageResponse]
|
@@ -284,6 +291,7 @@ module PulpDebClient
|
|
284
291
|
# An InstallerPackage represents a '.udeb' installer package. Associated artifacts: Exactly one '.udeb' installer package file. Note that installer packages are currently used exclusively for verbatim publications. The APT publisher (both simple and structured mode) will not include these packages.
|
285
292
|
# @param deb_installer_package_href [String]
|
286
293
|
# @param [Hash] opts the optional parameters
|
294
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
287
295
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
288
296
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
289
297
|
# @return [Array<(DebInstallerPackageResponse, Integer, Hash)>] DebInstallerPackageResponse data, response status code and response headers
|
@@ -307,6 +315,7 @@ module PulpDebClient
|
|
307
315
|
header_params = opts[:header_params] || {}
|
308
316
|
# HTTP header 'Accept' (if needed)
|
309
317
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
318
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
310
319
|
|
311
320
|
# form parameters
|
312
321
|
form_params = opts[:form_params] || {}
|
@@ -342,6 +351,7 @@ module PulpDebClient
|
|
342
351
|
# @param deb_installer_package_href [String]
|
343
352
|
# @param set_label [SetLabel]
|
344
353
|
# @param [Hash] opts the optional parameters
|
354
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
345
355
|
# @return [SetLabelResponse]
|
346
356
|
def set_label(deb_installer_package_href, set_label, opts = {})
|
347
357
|
data, _status_code, _headers = set_label_with_http_info(deb_installer_package_href, set_label, opts)
|
@@ -353,6 +363,7 @@ module PulpDebClient
|
|
353
363
|
# @param deb_installer_package_href [String]
|
354
364
|
# @param set_label [SetLabel]
|
355
365
|
# @param [Hash] opts the optional parameters
|
366
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
356
367
|
# @return [Array<(SetLabelResponse, Integer, Hash)>] SetLabelResponse data, response status code and response headers
|
357
368
|
def set_label_with_http_info(deb_installer_package_href, set_label, opts = {})
|
358
369
|
if @api_client.config.debugging
|
@@ -381,6 +392,7 @@ module PulpDebClient
|
|
381
392
|
if !content_type.nil?
|
382
393
|
header_params['Content-Type'] = content_type
|
383
394
|
end
|
395
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
384
396
|
|
385
397
|
# form parameters
|
386
398
|
form_params = opts[:form_params] || {}
|
@@ -416,6 +428,7 @@ module PulpDebClient
|
|
416
428
|
# @param deb_installer_package_href [String]
|
417
429
|
# @param unset_label [UnsetLabel]
|
418
430
|
# @param [Hash] opts the optional parameters
|
431
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
419
432
|
# @return [UnsetLabelResponse]
|
420
433
|
def unset_label(deb_installer_package_href, unset_label, opts = {})
|
421
434
|
data, _status_code, _headers = unset_label_with_http_info(deb_installer_package_href, unset_label, opts)
|
@@ -427,6 +440,7 @@ module PulpDebClient
|
|
427
440
|
# @param deb_installer_package_href [String]
|
428
441
|
# @param unset_label [UnsetLabel]
|
429
442
|
# @param [Hash] opts the optional parameters
|
443
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
430
444
|
# @return [Array<(UnsetLabelResponse, Integer, Hash)>] UnsetLabelResponse data, response status code and response headers
|
431
445
|
def unset_label_with_http_info(deb_installer_package_href, unset_label, opts = {})
|
432
446
|
if @api_client.config.debugging
|
@@ -455,6 +469,7 @@ module PulpDebClient
|
|
455
469
|
if !content_type.nil?
|
456
470
|
header_params['Content-Type'] = content_type
|
457
471
|
end
|
472
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
458
473
|
|
459
474
|
# form parameters
|
460
475
|
form_params = opts[:form_params] || {}
|
@@ -23,6 +23,7 @@ module PulpDebClient
|
|
23
23
|
# A PackageIndex represents the package indices of a single component-architecture combination. Associated artifacts: Exactly one 'Packages' file. May optionally include one or more of 'Packages.gz', 'Packages.xz', 'Release'. If included, the 'Release' file is a legacy per-component-and-architecture Release file. Note: The verbatim publisher will republish all associated artifacts, while the APT publisher (both simple and structured mode) will generate any 'Packages' files it needs when creating the publication. It does not make use of PackageIndex content.
|
24
24
|
# @param deb_package_index [DebPackageIndex]
|
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 [DebPackageIndexResponse]
|
27
28
|
def create(deb_package_index, opts = {})
|
28
29
|
data, _status_code, _headers = create_with_http_info(deb_package_index, opts)
|
@@ -33,6 +34,7 @@ module PulpDebClient
|
|
33
34
|
# A PackageIndex represents the package indices of a single component-architecture combination. Associated artifacts: Exactly one 'Packages' file. May optionally include one or more of 'Packages.gz', 'Packages.xz', 'Release'. If included, the 'Release' file is a legacy per-component-and-architecture Release file. Note: The verbatim publisher will republish all associated artifacts, while the APT publisher (both simple and structured mode) will generate any 'Packages' files it needs when creating the publication. It does not make use of PackageIndex content.
|
34
35
|
# @param deb_package_index [DebPackageIndex]
|
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<(DebPackageIndexResponse, Integer, Hash)>] DebPackageIndexResponse data, response status code and response headers
|
37
39
|
def create_with_http_info(deb_package_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 PackageIndices
|
91
94
|
# A PackageIndex represents the package indices of a single component-architecture combination. Associated artifacts: Exactly one 'Packages' file. May optionally include one or more of 'Packages.gz', 'Packages.xz', 'Release'. If included, the 'Release' file is a legacy per-component-and-architecture Release file. Note: The verbatim publisher will republish all associated artifacts, while the APT publisher (both simple and structured mode) will generate any 'Packages' files it needs when creating the publication. It does not make use of PackageIndex 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] :architecture Filter results where architecture matches value
|
94
98
|
# @option opts [String] :component Filter results where component matches value
|
95
99
|
# @option opts [Integer] :limit Number of results to return per page.
|
@@ -117,6 +121,7 @@ module PulpDebClient
|
|
117
121
|
# List PackageIndices
|
118
122
|
# A PackageIndex represents the package indices of a single component-architecture combination. Associated artifacts: Exactly one 'Packages' file. May optionally include one or more of 'Packages.gz', 'Packages.xz', 'Release'. If included, the 'Release' file is a legacy per-component-and-architecture Release file. Note: The verbatim publisher will republish all associated artifacts, while the APT publisher (both simple and structured mode) will generate any 'Packages' files it needs when creating the publication. It does not make use of PackageIndex 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] :architecture Filter results where architecture matches value
|
121
126
|
# @option opts [String] :component Filter results where component matches value
|
122
127
|
# @option opts [Integer] :limit Number of results to return per page.
|
@@ -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 PackageIndex represents the package indices of a single component-architecture combination. Associated artifacts: Exactly one 'Packages' file. May optionally include one or more of 'Packages.gz', 'Packages.xz', 'Release'. If included, the 'Release' file is a legacy per-component-and-architecture Release file. Note: The verbatim publisher will republish all associated artifacts, while the APT publisher (both simple and structured mode) will generate any 'Packages' files it needs when creating the publication. It does not make use of PackageIndex content.
|
207
213
|
# @param deb_package_index_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 [DebPackageIndexResponse]
|
@@ -218,6 +225,7 @@ module PulpDebClient
|
|
218
225
|
# A PackageIndex represents the package indices of a single component-architecture combination. Associated artifacts: Exactly one 'Packages' file. May optionally include one or more of 'Packages.gz', 'Packages.xz', 'Release'. If included, the 'Release' file is a legacy per-component-and-architecture Release file. Note: The verbatim publisher will republish all associated artifacts, while the APT publisher (both simple and structured mode) will generate any 'Packages' files it needs when creating the publication. It does not make use of PackageIndex content.
|
219
226
|
# @param deb_package_index_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<(DebPackageIndexResponse, Integer, Hash)>] DebPackageIndexResponse 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_package_index_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_package_index_href, set_label, opts = {})
|
281
291
|
data, _status_code, _headers = set_label_with_http_info(deb_package_index_href, set_label, opts)
|
@@ -287,6 +297,7 @@ module PulpDebClient
|
|
287
297
|
# @param deb_package_index_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_package_index_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_package_index_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_package_index_href, unset_label, opts = {})
|
355
368
|
data, _status_code, _headers = unset_label_with_http_info(deb_package_index_href, unset_label, opts)
|
@@ -361,6 +374,7 @@ module PulpDebClient
|
|
361
374
|
# @param deb_package_index_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_package_index_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
|
# A PackageReleaseComponent associates a Package with a ReleaseComponent. Associated artifacts: None; contains only metadata. This simply stores the information which packages are part of which components.
|
24
24
|
# @param deb_package_release_component [DebPackageReleaseComponent]
|
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 [DebPackageReleaseComponentResponse]
|
27
28
|
def create(deb_package_release_component, opts = {})
|
28
29
|
data, _status_code, _headers = create_with_http_info(deb_package_release_component, opts)
|
@@ -33,6 +34,7 @@ module PulpDebClient
|
|
33
34
|
# A PackageReleaseComponent associates a Package with a ReleaseComponent. Associated artifacts: None; contains only metadata. This simply stores the information which packages are part of which components.
|
34
35
|
# @param deb_package_release_component [DebPackageReleaseComponent]
|
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<(DebPackageReleaseComponentResponse, Integer, Hash)>] DebPackageReleaseComponentResponse data, response status code and response headers
|
37
39
|
def create_with_http_info(deb_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 package release components
|
91
94
|
# A PackageReleaseComponent associates a Package with a ReleaseComponent. Associated artifacts: None; contains only metadata. This simply stores the information which 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 * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
@@ -115,6 +119,7 @@ module PulpDebClient
|
|
115
119
|
# List package release components
|
116
120
|
# A PackageReleaseComponent associates a Package with a ReleaseComponent. Associated artifacts: None; contains only metadata. This simply stores the information which 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 * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `pk` - Pk * `-pk` - 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 PackageReleaseComponent associates a Package with a ReleaseComponent. Associated artifacts: None; contains only metadata. This simply stores the information which packages are part of which components.
|
201
207
|
# @param deb_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 [DebPackageReleaseComponentResponse]
|
@@ -212,6 +219,7 @@ module PulpDebClient
|
|
212
219
|
# A PackageReleaseComponent associates a Package with a ReleaseComponent. Associated artifacts: None; contains only metadata. This simply stores the information which packages are part of which components.
|
213
220
|
# @param deb_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<(DebPackageReleaseComponentResponse, Integer, Hash)>] DebPackageReleaseComponentResponse 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_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_package_release_component_href, set_label, opts = {})
|
275
285
|
data, _status_code, _headers = set_label_with_http_info(deb_package_release_component_href, set_label, opts)
|
@@ -281,6 +291,7 @@ module PulpDebClient
|
|
281
291
|
# @param deb_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_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_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_package_release_component_href, unset_label, opts = {})
|
349
362
|
data, _status_code, _headers = unset_label_with_http_info(deb_package_release_component_href, unset_label, opts)
|
@@ -355,6 +368,7 @@ module PulpDebClient
|
|
355
368
|
# @param deb_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_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] || {}
|