pulp_rpm_client 3.29.3 → 3.29.5
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 +8 -5
- data/docs/AcsRpmApi.md +64 -28
- data/docs/ContentAdvisoriesApi.md +22 -8
- data/docs/ContentDistributionTreesApi.md +20 -8
- data/docs/ContentModulemdDefaultsApi.md +28 -12
- data/docs/ContentModulemdObsoletesApi.md +28 -12
- data/docs/ContentModulemdsApi.md +28 -12
- data/docs/ContentPackagecategoriesApi.md +20 -8
- data/docs/ContentPackageenvironmentsApi.md +20 -8
- data/docs/ContentPackagegroupsApi.md +20 -8
- data/docs/ContentPackagelangpacksApi.md +20 -8
- data/docs/ContentPackagesApi.md +22 -8
- data/docs/ContentRepoMetadataFilesApi.md +20 -8
- data/docs/DistributionsRpmApi.md +72 -32
- data/docs/PublicationsRpmApi.md +40 -16
- data/docs/RemotesRpmApi.md +72 -32
- data/docs/RemotesUlnApi.md +72 -32
- data/docs/RepositoriesRpmApi.md +88 -40
- data/docs/RepositoriesRpmVersionsApi.md +22 -10
- data/docs/RpmCompsApi.md +2 -0
- data/docs/RpmCopyApi.md +8 -4
- data/docs/RpmPruneApi.md +8 -4
- data/lib/pulp_rpm_client/api/acs_rpm_api.rb +33 -0
- data/lib/pulp_rpm_client/api/content_advisories_api.rb +15 -0
- data/lib/pulp_rpm_client/api/content_distribution_trees_api.rb +12 -0
- data/lib/pulp_rpm_client/api/content_modulemd_defaults_api.rb +15 -0
- data/lib/pulp_rpm_client/api/content_modulemd_obsoletes_api.rb +15 -0
- data/lib/pulp_rpm_client/api/content_modulemds_api.rb +15 -0
- data/lib/pulp_rpm_client/api/content_packagecategories_api.rb +12 -0
- data/lib/pulp_rpm_client/api/content_packageenvironments_api.rb +12 -0
- data/lib/pulp_rpm_client/api/content_packagegroups_api.rb +12 -0
- data/lib/pulp_rpm_client/api/content_packagelangpacks_api.rb +12 -0
- data/lib/pulp_rpm_client/api/content_packages_api.rb +15 -0
- data/lib/pulp_rpm_client/api/content_repo_metadata_files_api.rb +12 -0
- data/lib/pulp_rpm_client/api/distributions_rpm_api.rb +36 -0
- data/lib/pulp_rpm_client/api/publications_rpm_api.rb +24 -0
- data/lib/pulp_rpm_client/api/remotes_rpm_api.rb +36 -0
- data/lib/pulp_rpm_client/api/remotes_uln_api.rb +36 -0
- data/lib/pulp_rpm_client/api/repositories_rpm_api.rb +42 -0
- data/lib/pulp_rpm_client/api/repositories_rpm_versions_api.rb +15 -3
- data/lib/pulp_rpm_client/api/rpm_comps_api.rb +3 -0
- data/lib/pulp_rpm_client/api/rpm_copy_api.rb +3 -0
- data/lib/pulp_rpm_client/api/rpm_prune_api.rb +3 -0
- data/lib/pulp_rpm_client/version.rb +1 -1
- data/spec/api/acs_rpm_api_spec.rb +11 -0
- data/spec/api/content_advisories_api_spec.rb +5 -0
- data/spec/api/content_distribution_trees_api_spec.rb +4 -0
- data/spec/api/content_modulemd_defaults_api_spec.rb +5 -0
- data/spec/api/content_modulemd_obsoletes_api_spec.rb +5 -0
- data/spec/api/content_modulemds_api_spec.rb +5 -0
- data/spec/api/content_packagecategories_api_spec.rb +4 -0
- data/spec/api/content_packageenvironments_api_spec.rb +4 -0
- data/spec/api/content_packagegroups_api_spec.rb +4 -0
- data/spec/api/content_packagelangpacks_api_spec.rb +4 -0
- data/spec/api/content_packages_api_spec.rb +5 -0
- data/spec/api/content_repo_metadata_files_api_spec.rb +4 -0
- data/spec/api/distributions_rpm_api_spec.rb +12 -0
- data/spec/api/publications_rpm_api_spec.rb +8 -0
- data/spec/api/remotes_rpm_api_spec.rb +12 -0
- data/spec/api/remotes_uln_api_spec.rb +12 -0
- data/spec/api/repositories_rpm_api_spec.rb +14 -0
- data/spec/api/repositories_rpm_versions_api_spec.rb +5 -1
- data/spec/api/rpm_comps_api_spec.rb +1 -0
- data/spec/api/rpm_copy_api_spec.rb +1 -0
- data/spec/api/rpm_prune_api_spec.rb +1 -0
- metadata +78 -78
@@ -23,6 +23,7 @@ module PulpRpmClient
|
|
23
23
|
# Trigger an asynchronous task to create content,optionally create new repository version.
|
24
24
|
# @param rpm_modulemd_defaults [RpmModulemdDefaults]
|
25
25
|
# @param [Hash] opts the optional parameters
|
26
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
26
27
|
# @return [AsyncOperationResponse]
|
27
28
|
def create(rpm_modulemd_defaults, opts = {})
|
28
29
|
data, _status_code, _headers = create_with_http_info(rpm_modulemd_defaults, opts)
|
@@ -33,6 +34,7 @@ module PulpRpmClient
|
|
33
34
|
# Trigger an asynchronous task to create content,optionally create new repository version.
|
34
35
|
# @param rpm_modulemd_defaults [RpmModulemdDefaults]
|
35
36
|
# @param [Hash] opts the optional parameters
|
37
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
36
38
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
37
39
|
def create_with_http_info(rpm_modulemd_defaults, opts = {})
|
38
40
|
if @api_client.config.debugging
|
@@ -57,6 +59,7 @@ module PulpRpmClient
|
|
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 PulpRpmClient
|
|
90
93
|
# List modulemd defaultss
|
91
94
|
# ViewSet for Modulemd.
|
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 [String] :_module Filter results where module matches value
|
95
99
|
# @option opts [Array<String>] :module__in Filter results where module is in a comma-separated list of values
|
@@ -118,6 +122,7 @@ module PulpRpmClient
|
|
118
122
|
# List modulemd defaultss
|
119
123
|
# ViewSet for Modulemd.
|
120
124
|
# @param [Hash] opts the optional parameters
|
125
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
121
126
|
# @option opts [Integer] :limit Number of results to return per page.
|
122
127
|
# @option opts [String] :_module Filter results where module matches value
|
123
128
|
# @option opts [Array<String>] :module__in Filter results where module is in a comma-separated list of values
|
@@ -175,6 +180,7 @@ module PulpRpmClient
|
|
175
180
|
header_params = opts[:header_params] || {}
|
176
181
|
# HTTP header 'Accept' (if needed)
|
177
182
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
183
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
178
184
|
|
179
185
|
# form parameters
|
180
186
|
form_params = opts[:form_params] || {}
|
@@ -209,6 +215,7 @@ module PulpRpmClient
|
|
209
215
|
# ViewSet for Modulemd.
|
210
216
|
# @param rpm_modulemd_defaults_href [String]
|
211
217
|
# @param [Hash] opts the optional parameters
|
218
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
212
219
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
213
220
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
214
221
|
# @return [RpmModulemdDefaultsResponse]
|
@@ -221,6 +228,7 @@ module PulpRpmClient
|
|
221
228
|
# ViewSet for Modulemd.
|
222
229
|
# @param rpm_modulemd_defaults_href [String]
|
223
230
|
# @param [Hash] opts the optional parameters
|
231
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
224
232
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
225
233
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
226
234
|
# @return [Array<(RpmModulemdDefaultsResponse, Integer, Hash)>] RpmModulemdDefaultsResponse data, response status code and response headers
|
@@ -244,6 +252,7 @@ module PulpRpmClient
|
|
244
252
|
header_params = opts[:header_params] || {}
|
245
253
|
# HTTP header 'Accept' (if needed)
|
246
254
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
255
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
247
256
|
|
248
257
|
# form parameters
|
249
258
|
form_params = opts[:form_params] || {}
|
@@ -279,6 +288,7 @@ module PulpRpmClient
|
|
279
288
|
# @param rpm_modulemd_defaults_href [String]
|
280
289
|
# @param set_label [SetLabel]
|
281
290
|
# @param [Hash] opts the optional parameters
|
291
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
282
292
|
# @return [SetLabelResponse]
|
283
293
|
def set_label(rpm_modulemd_defaults_href, set_label, opts = {})
|
284
294
|
data, _status_code, _headers = set_label_with_http_info(rpm_modulemd_defaults_href, set_label, opts)
|
@@ -290,6 +300,7 @@ module PulpRpmClient
|
|
290
300
|
# @param rpm_modulemd_defaults_href [String]
|
291
301
|
# @param set_label [SetLabel]
|
292
302
|
# @param [Hash] opts the optional parameters
|
303
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
293
304
|
# @return [Array<(SetLabelResponse, Integer, Hash)>] SetLabelResponse data, response status code and response headers
|
294
305
|
def set_label_with_http_info(rpm_modulemd_defaults_href, set_label, opts = {})
|
295
306
|
if @api_client.config.debugging
|
@@ -318,6 +329,7 @@ module PulpRpmClient
|
|
318
329
|
if !content_type.nil?
|
319
330
|
header_params['Content-Type'] = content_type
|
320
331
|
end
|
332
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
321
333
|
|
322
334
|
# form parameters
|
323
335
|
form_params = opts[:form_params] || {}
|
@@ -353,6 +365,7 @@ module PulpRpmClient
|
|
353
365
|
# @param rpm_modulemd_defaults_href [String]
|
354
366
|
# @param unset_label [UnsetLabel]
|
355
367
|
# @param [Hash] opts the optional parameters
|
368
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
356
369
|
# @return [UnsetLabelResponse]
|
357
370
|
def unset_label(rpm_modulemd_defaults_href, unset_label, opts = {})
|
358
371
|
data, _status_code, _headers = unset_label_with_http_info(rpm_modulemd_defaults_href, unset_label, opts)
|
@@ -364,6 +377,7 @@ module PulpRpmClient
|
|
364
377
|
# @param rpm_modulemd_defaults_href [String]
|
365
378
|
# @param unset_label [UnsetLabel]
|
366
379
|
# @param [Hash] opts the optional parameters
|
380
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
367
381
|
# @return [Array<(UnsetLabelResponse, Integer, Hash)>] UnsetLabelResponse data, response status code and response headers
|
368
382
|
def unset_label_with_http_info(rpm_modulemd_defaults_href, unset_label, opts = {})
|
369
383
|
if @api_client.config.debugging
|
@@ -392,6 +406,7 @@ module PulpRpmClient
|
|
392
406
|
if !content_type.nil?
|
393
407
|
header_params['Content-Type'] = content_type
|
394
408
|
end
|
409
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
395
410
|
|
396
411
|
# form parameters
|
397
412
|
form_params = opts[:form_params] || {}
|
@@ -23,6 +23,7 @@ module PulpRpmClient
|
|
23
23
|
# Trigger an asynchronous task to create content,optionally create new repository version.
|
24
24
|
# @param rpm_modulemd_obsolete [RpmModulemdObsolete]
|
25
25
|
# @param [Hash] opts the optional parameters
|
26
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
26
27
|
# @return [AsyncOperationResponse]
|
27
28
|
def create(rpm_modulemd_obsolete, opts = {})
|
28
29
|
data, _status_code, _headers = create_with_http_info(rpm_modulemd_obsolete, opts)
|
@@ -33,6 +34,7 @@ module PulpRpmClient
|
|
33
34
|
# Trigger an asynchronous task to create content,optionally create new repository version.
|
34
35
|
# @param rpm_modulemd_obsolete [RpmModulemdObsolete]
|
35
36
|
# @param [Hash] opts the optional parameters
|
37
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
36
38
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
37
39
|
def create_with_http_info(rpm_modulemd_obsolete, opts = {})
|
38
40
|
if @api_client.config.debugging
|
@@ -57,6 +59,7 @@ module PulpRpmClient
|
|
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 PulpRpmClient
|
|
90
93
|
# List modulemd obsoletes
|
91
94
|
# ViewSet for Modulemd.
|
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 * `pk` - Pk * `-pk` - Pk (descending)
|
@@ -113,6 +117,7 @@ module PulpRpmClient
|
|
113
117
|
# List modulemd obsoletes
|
114
118
|
# ViewSet for Modulemd.
|
115
119
|
# @param [Hash] opts the optional parameters
|
120
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
116
121
|
# @option opts [Integer] :limit Number of results to return per page.
|
117
122
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
118
123
|
# @option opts [Array<String>] :ordering Ordering * `pk` - Pk * `-pk` - Pk (descending)
|
@@ -160,6 +165,7 @@ module PulpRpmClient
|
|
160
165
|
header_params = opts[:header_params] || {}
|
161
166
|
# HTTP header 'Accept' (if needed)
|
162
167
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
168
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
163
169
|
|
164
170
|
# form parameters
|
165
171
|
form_params = opts[:form_params] || {}
|
@@ -194,6 +200,7 @@ module PulpRpmClient
|
|
194
200
|
# ViewSet for Modulemd.
|
195
201
|
# @param rpm_modulemd_obsolete_href [String]
|
196
202
|
# @param [Hash] opts the optional parameters
|
203
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
197
204
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
198
205
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
199
206
|
# @return [RpmModulemdObsoleteResponse]
|
@@ -206,6 +213,7 @@ module PulpRpmClient
|
|
206
213
|
# ViewSet for Modulemd.
|
207
214
|
# @param rpm_modulemd_obsolete_href [String]
|
208
215
|
# @param [Hash] opts the optional parameters
|
216
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
209
217
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
210
218
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
211
219
|
# @return [Array<(RpmModulemdObsoleteResponse, Integer, Hash)>] RpmModulemdObsoleteResponse data, response status code and response headers
|
@@ -229,6 +237,7 @@ module PulpRpmClient
|
|
229
237
|
header_params = opts[:header_params] || {}
|
230
238
|
# HTTP header 'Accept' (if needed)
|
231
239
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
240
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
232
241
|
|
233
242
|
# form parameters
|
234
243
|
form_params = opts[:form_params] || {}
|
@@ -264,6 +273,7 @@ module PulpRpmClient
|
|
264
273
|
# @param rpm_modulemd_obsolete_href [String]
|
265
274
|
# @param set_label [SetLabel]
|
266
275
|
# @param [Hash] opts the optional parameters
|
276
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
267
277
|
# @return [SetLabelResponse]
|
268
278
|
def set_label(rpm_modulemd_obsolete_href, set_label, opts = {})
|
269
279
|
data, _status_code, _headers = set_label_with_http_info(rpm_modulemd_obsolete_href, set_label, opts)
|
@@ -275,6 +285,7 @@ module PulpRpmClient
|
|
275
285
|
# @param rpm_modulemd_obsolete_href [String]
|
276
286
|
# @param set_label [SetLabel]
|
277
287
|
# @param [Hash] opts the optional parameters
|
288
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
278
289
|
# @return [Array<(SetLabelResponse, Integer, Hash)>] SetLabelResponse data, response status code and response headers
|
279
290
|
def set_label_with_http_info(rpm_modulemd_obsolete_href, set_label, opts = {})
|
280
291
|
if @api_client.config.debugging
|
@@ -303,6 +314,7 @@ module PulpRpmClient
|
|
303
314
|
if !content_type.nil?
|
304
315
|
header_params['Content-Type'] = content_type
|
305
316
|
end
|
317
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
306
318
|
|
307
319
|
# form parameters
|
308
320
|
form_params = opts[:form_params] || {}
|
@@ -338,6 +350,7 @@ module PulpRpmClient
|
|
338
350
|
# @param rpm_modulemd_obsolete_href [String]
|
339
351
|
# @param unset_label [UnsetLabel]
|
340
352
|
# @param [Hash] opts the optional parameters
|
353
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
341
354
|
# @return [UnsetLabelResponse]
|
342
355
|
def unset_label(rpm_modulemd_obsolete_href, unset_label, opts = {})
|
343
356
|
data, _status_code, _headers = unset_label_with_http_info(rpm_modulemd_obsolete_href, unset_label, opts)
|
@@ -349,6 +362,7 @@ module PulpRpmClient
|
|
349
362
|
# @param rpm_modulemd_obsolete_href [String]
|
350
363
|
# @param unset_label [UnsetLabel]
|
351
364
|
# @param [Hash] opts the optional parameters
|
365
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
352
366
|
# @return [Array<(UnsetLabelResponse, Integer, Hash)>] UnsetLabelResponse data, response status code and response headers
|
353
367
|
def unset_label_with_http_info(rpm_modulemd_obsolete_href, unset_label, opts = {})
|
354
368
|
if @api_client.config.debugging
|
@@ -377,6 +391,7 @@ module PulpRpmClient
|
|
377
391
|
if !content_type.nil?
|
378
392
|
header_params['Content-Type'] = content_type
|
379
393
|
end
|
394
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
380
395
|
|
381
396
|
# form parameters
|
382
397
|
form_params = opts[:form_params] || {}
|
@@ -23,6 +23,7 @@ module PulpRpmClient
|
|
23
23
|
# Trigger an asynchronous task to create content,optionally create new repository version.
|
24
24
|
# @param rpm_modulemd [RpmModulemd]
|
25
25
|
# @param [Hash] opts the optional parameters
|
26
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
26
27
|
# @return [AsyncOperationResponse]
|
27
28
|
def create(rpm_modulemd, opts = {})
|
28
29
|
data, _status_code, _headers = create_with_http_info(rpm_modulemd, opts)
|
@@ -33,6 +34,7 @@ module PulpRpmClient
|
|
33
34
|
# Trigger an asynchronous task to create content,optionally create new repository version.
|
34
35
|
# @param rpm_modulemd [RpmModulemd]
|
35
36
|
# @param [Hash] opts the optional parameters
|
37
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
36
38
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
37
39
|
def create_with_http_info(rpm_modulemd, opts = {})
|
38
40
|
if @api_client.config.debugging
|
@@ -57,6 +59,7 @@ module PulpRpmClient
|
|
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 PulpRpmClient
|
|
90
93
|
# List modulemds
|
91
94
|
# ViewSet for Modulemd.
|
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] :arch Filter results where arch matches value
|
94
98
|
# @option opts [Array<String>] :arch__in Filter results where arch is in a comma-separated list of values
|
95
99
|
# @option opts [String] :context Filter results where context matches value
|
@@ -124,6 +128,7 @@ module PulpRpmClient
|
|
124
128
|
# List modulemds
|
125
129
|
# ViewSet for Modulemd.
|
126
130
|
# @param [Hash] opts the optional parameters
|
131
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
127
132
|
# @option opts [String] :arch Filter results where arch matches value
|
128
133
|
# @option opts [Array<String>] :arch__in Filter results where arch is in a comma-separated list of values
|
129
134
|
# @option opts [String] :context Filter results where context matches value
|
@@ -193,6 +198,7 @@ module PulpRpmClient
|
|
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 PulpRpmClient
|
|
227
233
|
# ViewSet for Modulemd.
|
228
234
|
# @param rpm_modulemd_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 [RpmModulemdResponse]
|
@@ -239,6 +246,7 @@ module PulpRpmClient
|
|
239
246
|
# ViewSet for Modulemd.
|
240
247
|
# @param rpm_modulemd_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<(RpmModulemdResponse, Integer, Hash)>] RpmModulemdResponse data, response status code and response headers
|
@@ -262,6 +270,7 @@ module PulpRpmClient
|
|
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 PulpRpmClient
|
|
297
306
|
# @param rpm_modulemd_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(rpm_modulemd_href, set_label, opts = {})
|
302
312
|
data, _status_code, _headers = set_label_with_http_info(rpm_modulemd_href, set_label, opts)
|
@@ -308,6 +318,7 @@ module PulpRpmClient
|
|
308
318
|
# @param rpm_modulemd_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(rpm_modulemd_href, set_label, opts = {})
|
313
324
|
if @api_client.config.debugging
|
@@ -336,6 +347,7 @@ module PulpRpmClient
|
|
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 PulpRpmClient
|
|
371
383
|
# @param rpm_modulemd_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(rpm_modulemd_href, unset_label, opts = {})
|
376
389
|
data, _status_code, _headers = unset_label_with_http_info(rpm_modulemd_href, unset_label, opts)
|
@@ -382,6 +395,7 @@ module PulpRpmClient
|
|
382
395
|
# @param rpm_modulemd_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(rpm_modulemd_href, unset_label, opts = {})
|
387
401
|
if @api_client.config.debugging
|
@@ -410,6 +424,7 @@ module PulpRpmClient
|
|
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] || {}
|
@@ -22,6 +22,7 @@ module PulpRpmClient
|
|
22
22
|
# List package categorys
|
23
23
|
# PackageCategory ViewSet.
|
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 [Integer] :limit Number of results to return per page.
|
26
27
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
27
28
|
# @option opts [Array<String>] :ordering Ordering * `pk` - Pk * `-pk` - Pk (descending)
|
@@ -45,6 +46,7 @@ module PulpRpmClient
|
|
45
46
|
# List package categorys
|
46
47
|
# PackageCategory ViewSet.
|
47
48
|
# @param [Hash] opts the optional parameters
|
49
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
48
50
|
# @option opts [Integer] :limit Number of results to return per page.
|
49
51
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
50
52
|
# @option opts [Array<String>] :ordering Ordering * `pk` - Pk * `-pk` - Pk (descending)
|
@@ -92,6 +94,7 @@ module PulpRpmClient
|
|
92
94
|
header_params = opts[:header_params] || {}
|
93
95
|
# HTTP header 'Accept' (if needed)
|
94
96
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
97
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
95
98
|
|
96
99
|
# form parameters
|
97
100
|
form_params = opts[:form_params] || {}
|
@@ -126,6 +129,7 @@ module PulpRpmClient
|
|
126
129
|
# PackageCategory ViewSet.
|
127
130
|
# @param rpm_package_category_href [String]
|
128
131
|
# @param [Hash] opts the optional parameters
|
132
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
129
133
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
130
134
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
131
135
|
# @return [RpmPackageCategoryResponse]
|
@@ -138,6 +142,7 @@ module PulpRpmClient
|
|
138
142
|
# PackageCategory ViewSet.
|
139
143
|
# @param rpm_package_category_href [String]
|
140
144
|
# @param [Hash] opts the optional parameters
|
145
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
141
146
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
142
147
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
143
148
|
# @return [Array<(RpmPackageCategoryResponse, Integer, Hash)>] RpmPackageCategoryResponse data, response status code and response headers
|
@@ -161,6 +166,7 @@ module PulpRpmClient
|
|
161
166
|
header_params = opts[:header_params] || {}
|
162
167
|
# HTTP header 'Accept' (if needed)
|
163
168
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
169
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
164
170
|
|
165
171
|
# form parameters
|
166
172
|
form_params = opts[:form_params] || {}
|
@@ -196,6 +202,7 @@ module PulpRpmClient
|
|
196
202
|
# @param rpm_package_category_href [String]
|
197
203
|
# @param set_label [SetLabel]
|
198
204
|
# @param [Hash] opts the optional parameters
|
205
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
199
206
|
# @return [SetLabelResponse]
|
200
207
|
def set_label(rpm_package_category_href, set_label, opts = {})
|
201
208
|
data, _status_code, _headers = set_label_with_http_info(rpm_package_category_href, set_label, opts)
|
@@ -207,6 +214,7 @@ module PulpRpmClient
|
|
207
214
|
# @param rpm_package_category_href [String]
|
208
215
|
# @param set_label [SetLabel]
|
209
216
|
# @param [Hash] opts the optional parameters
|
217
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
210
218
|
# @return [Array<(SetLabelResponse, Integer, Hash)>] SetLabelResponse data, response status code and response headers
|
211
219
|
def set_label_with_http_info(rpm_package_category_href, set_label, opts = {})
|
212
220
|
if @api_client.config.debugging
|
@@ -235,6 +243,7 @@ module PulpRpmClient
|
|
235
243
|
if !content_type.nil?
|
236
244
|
header_params['Content-Type'] = content_type
|
237
245
|
end
|
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 PulpRpmClient
|
|
270
279
|
# @param rpm_package_category_href [String]
|
271
280
|
# @param unset_label [UnsetLabel]
|
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 [UnsetLabelResponse]
|
274
284
|
def unset_label(rpm_package_category_href, unset_label, opts = {})
|
275
285
|
data, _status_code, _headers = unset_label_with_http_info(rpm_package_category_href, unset_label, opts)
|
@@ -281,6 +291,7 @@ module PulpRpmClient
|
|
281
291
|
# @param rpm_package_category_href [String]
|
282
292
|
# @param unset_label [UnsetLabel]
|
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<(UnsetLabelResponse, Integer, Hash)>] UnsetLabelResponse data, response status code and response headers
|
285
296
|
def unset_label_with_http_info(rpm_package_category_href, unset_label, opts = {})
|
286
297
|
if @api_client.config.debugging
|
@@ -309,6 +320,7 @@ module PulpRpmClient
|
|
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] || {}
|
@@ -22,6 +22,7 @@ module PulpRpmClient
|
|
22
22
|
# List package environments
|
23
23
|
# PackageEnvironment ViewSet.
|
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 [Integer] :limit Number of results to return per page.
|
26
27
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
27
28
|
# @option opts [Array<String>] :ordering Ordering * `pk` - Pk * `-pk` - Pk (descending)
|
@@ -45,6 +46,7 @@ module PulpRpmClient
|
|
45
46
|
# List package environments
|
46
47
|
# PackageEnvironment ViewSet.
|
47
48
|
# @param [Hash] opts the optional parameters
|
49
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
48
50
|
# @option opts [Integer] :limit Number of results to return per page.
|
49
51
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
50
52
|
# @option opts [Array<String>] :ordering Ordering * `pk` - Pk * `-pk` - Pk (descending)
|
@@ -92,6 +94,7 @@ module PulpRpmClient
|
|
92
94
|
header_params = opts[:header_params] || {}
|
93
95
|
# HTTP header 'Accept' (if needed)
|
94
96
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
97
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
95
98
|
|
96
99
|
# form parameters
|
97
100
|
form_params = opts[:form_params] || {}
|
@@ -126,6 +129,7 @@ module PulpRpmClient
|
|
126
129
|
# PackageEnvironment ViewSet.
|
127
130
|
# @param rpm_package_environment_href [String]
|
128
131
|
# @param [Hash] opts the optional parameters
|
132
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
129
133
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
130
134
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
131
135
|
# @return [RpmPackageEnvironmentResponse]
|
@@ -138,6 +142,7 @@ module PulpRpmClient
|
|
138
142
|
# PackageEnvironment ViewSet.
|
139
143
|
# @param rpm_package_environment_href [String]
|
140
144
|
# @param [Hash] opts the optional parameters
|
145
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
141
146
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
142
147
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
143
148
|
# @return [Array<(RpmPackageEnvironmentResponse, Integer, Hash)>] RpmPackageEnvironmentResponse data, response status code and response headers
|
@@ -161,6 +166,7 @@ module PulpRpmClient
|
|
161
166
|
header_params = opts[:header_params] || {}
|
162
167
|
# HTTP header 'Accept' (if needed)
|
163
168
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
169
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
164
170
|
|
165
171
|
# form parameters
|
166
172
|
form_params = opts[:form_params] || {}
|
@@ -196,6 +202,7 @@ module PulpRpmClient
|
|
196
202
|
# @param rpm_package_environment_href [String]
|
197
203
|
# @param set_label [SetLabel]
|
198
204
|
# @param [Hash] opts the optional parameters
|
205
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
199
206
|
# @return [SetLabelResponse]
|
200
207
|
def set_label(rpm_package_environment_href, set_label, opts = {})
|
201
208
|
data, _status_code, _headers = set_label_with_http_info(rpm_package_environment_href, set_label, opts)
|
@@ -207,6 +214,7 @@ module PulpRpmClient
|
|
207
214
|
# @param rpm_package_environment_href [String]
|
208
215
|
# @param set_label [SetLabel]
|
209
216
|
# @param [Hash] opts the optional parameters
|
217
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
210
218
|
# @return [Array<(SetLabelResponse, Integer, Hash)>] SetLabelResponse data, response status code and response headers
|
211
219
|
def set_label_with_http_info(rpm_package_environment_href, set_label, opts = {})
|
212
220
|
if @api_client.config.debugging
|
@@ -235,6 +243,7 @@ module PulpRpmClient
|
|
235
243
|
if !content_type.nil?
|
236
244
|
header_params['Content-Type'] = content_type
|
237
245
|
end
|
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 PulpRpmClient
|
|
270
279
|
# @param rpm_package_environment_href [String]
|
271
280
|
# @param unset_label [UnsetLabel]
|
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 [UnsetLabelResponse]
|
274
284
|
def unset_label(rpm_package_environment_href, unset_label, opts = {})
|
275
285
|
data, _status_code, _headers = unset_label_with_http_info(rpm_package_environment_href, unset_label, opts)
|
@@ -281,6 +291,7 @@ module PulpRpmClient
|
|
281
291
|
# @param rpm_package_environment_href [String]
|
282
292
|
# @param unset_label [UnsetLabel]
|
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<(UnsetLabelResponse, Integer, Hash)>] UnsetLabelResponse data, response status code and response headers
|
285
296
|
def unset_label_with_http_info(rpm_package_environment_href, unset_label, opts = {})
|
286
297
|
if @api_client.config.debugging
|
@@ -309,6 +320,7 @@ module PulpRpmClient
|
|
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] || {}
|
@@ -22,6 +22,7 @@ module PulpRpmClient
|
|
22
22
|
# List package groups
|
23
23
|
# PackageGroup ViewSet.
|
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 [Integer] :limit Number of results to return per page.
|
26
27
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
27
28
|
# @option opts [Array<String>] :ordering Ordering * `pk` - Pk * `-pk` - Pk (descending)
|
@@ -45,6 +46,7 @@ module PulpRpmClient
|
|
45
46
|
# List package groups
|
46
47
|
# PackageGroup ViewSet.
|
47
48
|
# @param [Hash] opts the optional parameters
|
49
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
48
50
|
# @option opts [Integer] :limit Number of results to return per page.
|
49
51
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
50
52
|
# @option opts [Array<String>] :ordering Ordering * `pk` - Pk * `-pk` - Pk (descending)
|
@@ -92,6 +94,7 @@ module PulpRpmClient
|
|
92
94
|
header_params = opts[:header_params] || {}
|
93
95
|
# HTTP header 'Accept' (if needed)
|
94
96
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
97
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
95
98
|
|
96
99
|
# form parameters
|
97
100
|
form_params = opts[:form_params] || {}
|
@@ -126,6 +129,7 @@ module PulpRpmClient
|
|
126
129
|
# PackageGroup ViewSet.
|
127
130
|
# @param rpm_package_group_href [String]
|
128
131
|
# @param [Hash] opts the optional parameters
|
132
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
129
133
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
130
134
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
131
135
|
# @return [RpmPackageGroupResponse]
|
@@ -138,6 +142,7 @@ module PulpRpmClient
|
|
138
142
|
# PackageGroup ViewSet.
|
139
143
|
# @param rpm_package_group_href [String]
|
140
144
|
# @param [Hash] opts the optional parameters
|
145
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
141
146
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
142
147
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
143
148
|
# @return [Array<(RpmPackageGroupResponse, Integer, Hash)>] RpmPackageGroupResponse data, response status code and response headers
|
@@ -161,6 +166,7 @@ module PulpRpmClient
|
|
161
166
|
header_params = opts[:header_params] || {}
|
162
167
|
# HTTP header 'Accept' (if needed)
|
163
168
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
169
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
164
170
|
|
165
171
|
# form parameters
|
166
172
|
form_params = opts[:form_params] || {}
|
@@ -196,6 +202,7 @@ module PulpRpmClient
|
|
196
202
|
# @param rpm_package_group_href [String]
|
197
203
|
# @param set_label [SetLabel]
|
198
204
|
# @param [Hash] opts the optional parameters
|
205
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
199
206
|
# @return [SetLabelResponse]
|
200
207
|
def set_label(rpm_package_group_href, set_label, opts = {})
|
201
208
|
data, _status_code, _headers = set_label_with_http_info(rpm_package_group_href, set_label, opts)
|
@@ -207,6 +214,7 @@ module PulpRpmClient
|
|
207
214
|
# @param rpm_package_group_href [String]
|
208
215
|
# @param set_label [SetLabel]
|
209
216
|
# @param [Hash] opts the optional parameters
|
217
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
210
218
|
# @return [Array<(SetLabelResponse, Integer, Hash)>] SetLabelResponse data, response status code and response headers
|
211
219
|
def set_label_with_http_info(rpm_package_group_href, set_label, opts = {})
|
212
220
|
if @api_client.config.debugging
|
@@ -235,6 +243,7 @@ module PulpRpmClient
|
|
235
243
|
if !content_type.nil?
|
236
244
|
header_params['Content-Type'] = content_type
|
237
245
|
end
|
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 PulpRpmClient
|
|
270
279
|
# @param rpm_package_group_href [String]
|
271
280
|
# @param unset_label [UnsetLabel]
|
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 [UnsetLabelResponse]
|
274
284
|
def unset_label(rpm_package_group_href, unset_label, opts = {})
|
275
285
|
data, _status_code, _headers = unset_label_with_http_info(rpm_package_group_href, unset_label, opts)
|
@@ -281,6 +291,7 @@ module PulpRpmClient
|
|
281
291
|
# @param rpm_package_group_href [String]
|
282
292
|
# @param unset_label [UnsetLabel]
|
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<(UnsetLabelResponse, Integer, Hash)>] UnsetLabelResponse data, response status code and response headers
|
285
296
|
def unset_label_with_http_info(rpm_package_group_href, unset_label, opts = {})
|
286
297
|
if @api_client.config.debugging
|
@@ -309,6 +320,7 @@ module PulpRpmClient
|
|
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] || {}
|