pulp_rpm_client 3.31.0 → 3.31.2
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 +24 -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 +18 -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 +6 -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
@@ -22,6 +22,7 @@ module PulpRpmClient
|
|
22
22
|
# List package langpackss
|
23
23
|
# PackageLangpacks 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 langpackss
|
46
47
|
# PackageLangpacks 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
|
# PackageLangpacks ViewSet.
|
127
130
|
# @param rpm_package_langpacks_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 [RpmPackageLangpacksResponse]
|
@@ -138,6 +142,7 @@ module PulpRpmClient
|
|
138
142
|
# PackageLangpacks ViewSet.
|
139
143
|
# @param rpm_package_langpacks_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<(RpmPackageLangpacksResponse, Integer, Hash)>] RpmPackageLangpacksResponse 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_langpacks_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_langpacks_href, set_label, opts = {})
|
201
208
|
data, _status_code, _headers = set_label_with_http_info(rpm_package_langpacks_href, set_label, opts)
|
@@ -207,6 +214,7 @@ module PulpRpmClient
|
|
207
214
|
# @param rpm_package_langpacks_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_langpacks_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_langpacks_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_langpacks_href, unset_label, opts = {})
|
275
285
|
data, _status_code, _headers = unset_label_with_http_info(rpm_package_langpacks_href, unset_label, opts)
|
@@ -281,6 +291,7 @@ module PulpRpmClient
|
|
281
291
|
# @param rpm_package_langpacks_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_langpacks_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
|
# Create a package
|
23
23
|
# Trigger an asynchronous task to create an RPM package,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 PulpRpmClient
|
|
38
39
|
# Create a package
|
39
40
|
# Trigger an asynchronous task to create an RPM package,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 PulpRpmClient
|
|
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 PulpRpmClient
|
|
113
116
|
# List packages
|
114
117
|
# A ViewSet for Package. Define endpoint name which will appear in the API endpoint for this content type. For example:: http://pulp.example.com/pulp/api/v3/content/rpm/packages/ Also specify queryset and serializer for Package.
|
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] :arch Filter results where arch matches value
|
117
121
|
# @option opts [String] :arch__contains Filter results where arch contains value
|
118
122
|
# @option opts [Array<String>] :arch__in Filter results where arch is in a comma-separated list of values
|
@@ -164,6 +168,7 @@ module PulpRpmClient
|
|
164
168
|
# List packages
|
165
169
|
# A ViewSet for Package. Define endpoint name which will appear in the API endpoint for this content type. For example:: http://pulp.example.com/pulp/api/v3/content/rpm/packages/ Also specify queryset and serializer for Package.
|
166
170
|
# @param [Hash] opts the optional parameters
|
171
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
167
172
|
# @option opts [String] :arch Filter results where arch matches value
|
168
173
|
# @option opts [String] :arch__contains Filter results where arch contains value
|
169
174
|
# @option opts [Array<String>] :arch__in Filter results where arch is in a comma-separated list of values
|
@@ -271,6 +276,7 @@ module PulpRpmClient
|
|
271
276
|
header_params = opts[:header_params] || {}
|
272
277
|
# HTTP header 'Accept' (if needed)
|
273
278
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
279
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
274
280
|
|
275
281
|
# form parameters
|
276
282
|
form_params = opts[:form_params] || {}
|
@@ -305,6 +311,7 @@ module PulpRpmClient
|
|
305
311
|
# A ViewSet for Package. Define endpoint name which will appear in the API endpoint for this content type. For example:: http://pulp.example.com/pulp/api/v3/content/rpm/packages/ Also specify queryset and serializer for Package.
|
306
312
|
# @param rpm_package_href [String]
|
307
313
|
# @param [Hash] opts the optional parameters
|
314
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
308
315
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
309
316
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
310
317
|
# @return [RpmPackageResponse]
|
@@ -317,6 +324,7 @@ module PulpRpmClient
|
|
317
324
|
# A ViewSet for Package. Define endpoint name which will appear in the API endpoint for this content type. For example:: http://pulp.example.com/pulp/api/v3/content/rpm/packages/ Also specify queryset and serializer for Package.
|
318
325
|
# @param rpm_package_href [String]
|
319
326
|
# @param [Hash] opts the optional parameters
|
327
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
320
328
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
321
329
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
322
330
|
# @return [Array<(RpmPackageResponse, Integer, Hash)>] RpmPackageResponse data, response status code and response headers
|
@@ -340,6 +348,7 @@ module PulpRpmClient
|
|
340
348
|
header_params = opts[:header_params] || {}
|
341
349
|
# HTTP header 'Accept' (if needed)
|
342
350
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
351
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
343
352
|
|
344
353
|
# form parameters
|
345
354
|
form_params = opts[:form_params] || {}
|
@@ -375,6 +384,7 @@ module PulpRpmClient
|
|
375
384
|
# @param rpm_package_href [String]
|
376
385
|
# @param set_label [SetLabel]
|
377
386
|
# @param [Hash] opts the optional parameters
|
387
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
378
388
|
# @return [SetLabelResponse]
|
379
389
|
def set_label(rpm_package_href, set_label, opts = {})
|
380
390
|
data, _status_code, _headers = set_label_with_http_info(rpm_package_href, set_label, opts)
|
@@ -386,6 +396,7 @@ module PulpRpmClient
|
|
386
396
|
# @param rpm_package_href [String]
|
387
397
|
# @param set_label [SetLabel]
|
388
398
|
# @param [Hash] opts the optional parameters
|
399
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
389
400
|
# @return [Array<(SetLabelResponse, Integer, Hash)>] SetLabelResponse data, response status code and response headers
|
390
401
|
def set_label_with_http_info(rpm_package_href, set_label, opts = {})
|
391
402
|
if @api_client.config.debugging
|
@@ -414,6 +425,7 @@ module PulpRpmClient
|
|
414
425
|
if !content_type.nil?
|
415
426
|
header_params['Content-Type'] = content_type
|
416
427
|
end
|
428
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
417
429
|
|
418
430
|
# form parameters
|
419
431
|
form_params = opts[:form_params] || {}
|
@@ -449,6 +461,7 @@ module PulpRpmClient
|
|
449
461
|
# @param rpm_package_href [String]
|
450
462
|
# @param unset_label [UnsetLabel]
|
451
463
|
# @param [Hash] opts the optional parameters
|
464
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
452
465
|
# @return [UnsetLabelResponse]
|
453
466
|
def unset_label(rpm_package_href, unset_label, opts = {})
|
454
467
|
data, _status_code, _headers = unset_label_with_http_info(rpm_package_href, unset_label, opts)
|
@@ -460,6 +473,7 @@ module PulpRpmClient
|
|
460
473
|
# @param rpm_package_href [String]
|
461
474
|
# @param unset_label [UnsetLabel]
|
462
475
|
# @param [Hash] opts the optional parameters
|
476
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
463
477
|
# @return [Array<(UnsetLabelResponse, Integer, Hash)>] UnsetLabelResponse data, response status code and response headers
|
464
478
|
def unset_label_with_http_info(rpm_package_href, unset_label, opts = {})
|
465
479
|
if @api_client.config.debugging
|
@@ -488,6 +502,7 @@ module PulpRpmClient
|
|
488
502
|
if !content_type.nil?
|
489
503
|
header_params['Content-Type'] = content_type
|
490
504
|
end
|
505
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
491
506
|
|
492
507
|
# form parameters
|
493
508
|
form_params = opts[:form_params] || {}
|
@@ -521,6 +536,7 @@ module PulpRpmClient
|
|
521
536
|
# Upload an RPM package synchronously.
|
522
537
|
# Synchronously upload an RPM package.
|
523
538
|
# @param [Hash] opts the optional parameters
|
539
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
524
540
|
# @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
525
541
|
# @option opts [String] :artifact Artifact file representing the physical content
|
526
542
|
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
@@ -535,6 +551,7 @@ module PulpRpmClient
|
|
535
551
|
# Upload an RPM package synchronously.
|
536
552
|
# Synchronously upload an RPM package.
|
537
553
|
# @param [Hash] opts the optional parameters
|
554
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
538
555
|
# @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
539
556
|
# @option opts [String] :artifact Artifact file representing the physical content
|
540
557
|
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
@@ -564,6 +581,7 @@ module PulpRpmClient
|
|
564
581
|
if !content_type.nil?
|
565
582
|
header_params['Content-Type'] = content_type
|
566
583
|
end
|
584
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
567
585
|
|
568
586
|
# form parameters
|
569
587
|
form_params = opts[:form_params] || {}
|
@@ -22,6 +22,7 @@ module PulpRpmClient
|
|
22
22
|
# List repo metadata files
|
23
23
|
# RepoMetadataFile 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 repo metadata files
|
46
47
|
# RepoMetadataFile 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
|
# RepoMetadataFile Viewset.
|
127
130
|
# @param rpm_repo_metadata_file_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 [RpmRepoMetadataFileResponse]
|
@@ -138,6 +142,7 @@ module PulpRpmClient
|
|
138
142
|
# RepoMetadataFile Viewset.
|
139
143
|
# @param rpm_repo_metadata_file_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<(RpmRepoMetadataFileResponse, Integer, Hash)>] RpmRepoMetadataFileResponse 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_repo_metadata_file_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_repo_metadata_file_href, set_label, opts = {})
|
201
208
|
data, _status_code, _headers = set_label_with_http_info(rpm_repo_metadata_file_href, set_label, opts)
|
@@ -207,6 +214,7 @@ module PulpRpmClient
|
|
207
214
|
# @param rpm_repo_metadata_file_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_repo_metadata_file_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_repo_metadata_file_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_repo_metadata_file_href, unset_label, opts = {})
|
275
285
|
data, _status_code, _headers = unset_label_with_http_info(rpm_repo_metadata_file_href, unset_label, opts)
|
@@ -281,6 +291,7 @@ module PulpRpmClient
|
|
281
291
|
# @param rpm_repo_metadata_file_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_repo_metadata_file_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] || {}
|
@@ -24,6 +24,7 @@ module PulpRpmClient
|
|
24
24
|
# @param rpm_rpm_distribution_href [String]
|
25
25
|
# @param nested_role [NestedRole]
|
26
26
|
# @param [Hash] opts the optional parameters
|
27
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
27
28
|
# @return [NestedRoleResponse]
|
28
29
|
def add_role(rpm_rpm_distribution_href, nested_role, opts = {})
|
29
30
|
data, _status_code, _headers = add_role_with_http_info(rpm_rpm_distribution_href, nested_role, opts)
|
@@ -35,6 +36,7 @@ module PulpRpmClient
|
|
35
36
|
# @param rpm_rpm_distribution_href [String]
|
36
37
|
# @param nested_role [NestedRole]
|
37
38
|
# @param [Hash] opts the optional parameters
|
39
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
38
40
|
# @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
|
39
41
|
def add_role_with_http_info(rpm_rpm_distribution_href, nested_role, opts = {})
|
40
42
|
if @api_client.config.debugging
|
@@ -63,6 +65,7 @@ module PulpRpmClient
|
|
63
65
|
if !content_type.nil?
|
64
66
|
header_params['Content-Type'] = content_type
|
65
67
|
end
|
68
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
66
69
|
|
67
70
|
# form parameters
|
68
71
|
form_params = opts[:form_params] || {}
|
@@ -97,6 +100,7 @@ module PulpRpmClient
|
|
97
100
|
# Trigger an asynchronous create task
|
98
101
|
# @param rpm_rpm_distribution [RpmRpmDistribution]
|
99
102
|
# @param [Hash] opts the optional parameters
|
103
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
100
104
|
# @return [AsyncOperationResponse]
|
101
105
|
def create(rpm_rpm_distribution, opts = {})
|
102
106
|
data, _status_code, _headers = create_with_http_info(rpm_rpm_distribution, opts)
|
@@ -107,6 +111,7 @@ module PulpRpmClient
|
|
107
111
|
# Trigger an asynchronous create task
|
108
112
|
# @param rpm_rpm_distribution [RpmRpmDistribution]
|
109
113
|
# @param [Hash] opts the optional parameters
|
114
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
110
115
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
111
116
|
def create_with_http_info(rpm_rpm_distribution, opts = {})
|
112
117
|
if @api_client.config.debugging
|
@@ -131,6 +136,7 @@ module PulpRpmClient
|
|
131
136
|
if !content_type.nil?
|
132
137
|
header_params['Content-Type'] = content_type
|
133
138
|
end
|
139
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
134
140
|
|
135
141
|
# form parameters
|
136
142
|
form_params = opts[:form_params] || {}
|
@@ -165,6 +171,7 @@ module PulpRpmClient
|
|
165
171
|
# Trigger an asynchronous delete task
|
166
172
|
# @param rpm_rpm_distribution_href [String]
|
167
173
|
# @param [Hash] opts the optional parameters
|
174
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
168
175
|
# @return [AsyncOperationResponse]
|
169
176
|
def delete(rpm_rpm_distribution_href, opts = {})
|
170
177
|
data, _status_code, _headers = delete_with_http_info(rpm_rpm_distribution_href, opts)
|
@@ -175,6 +182,7 @@ module PulpRpmClient
|
|
175
182
|
# Trigger an asynchronous delete task
|
176
183
|
# @param rpm_rpm_distribution_href [String]
|
177
184
|
# @param [Hash] opts the optional parameters
|
185
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
178
186
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
179
187
|
def delete_with_http_info(rpm_rpm_distribution_href, opts = {})
|
180
188
|
if @api_client.config.debugging
|
@@ -194,6 +202,7 @@ module PulpRpmClient
|
|
194
202
|
header_params = opts[:header_params] || {}
|
195
203
|
# HTTP header 'Accept' (if needed)
|
196
204
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
205
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
197
206
|
|
198
207
|
# form parameters
|
199
208
|
form_params = opts[:form_params] || {}
|
@@ -227,6 +236,7 @@ module PulpRpmClient
|
|
227
236
|
# List rpm distributions
|
228
237
|
# ViewSet for RPM Distributions.
|
229
238
|
# @param [Hash] opts the optional parameters
|
239
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
230
240
|
# @option opts [String] :base_path Filter results where base_path matches value
|
231
241
|
# @option opts [String] :base_path__contains Filter results where base_path contains value
|
232
242
|
# @option opts [String] :base_path__icontains Filter results where base_path contains value
|
@@ -263,6 +273,7 @@ module PulpRpmClient
|
|
263
273
|
# List rpm distributions
|
264
274
|
# ViewSet for RPM Distributions.
|
265
275
|
# @param [Hash] opts the optional parameters
|
276
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
266
277
|
# @option opts [String] :base_path Filter results where base_path matches value
|
267
278
|
# @option opts [String] :base_path__contains Filter results where base_path contains value
|
268
279
|
# @option opts [String] :base_path__icontains Filter results where base_path contains value
|
@@ -336,6 +347,7 @@ module PulpRpmClient
|
|
336
347
|
header_params = opts[:header_params] || {}
|
337
348
|
# HTTP header 'Accept' (if needed)
|
338
349
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
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] || {}
|
@@ -370,6 +382,7 @@ module PulpRpmClient
|
|
370
382
|
# List roles assigned to this object.
|
371
383
|
# @param rpm_rpm_distribution_href [String]
|
372
384
|
# @param [Hash] opts the optional parameters
|
385
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
373
386
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
374
387
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
375
388
|
# @return [ObjectRolesResponse]
|
@@ -382,6 +395,7 @@ module PulpRpmClient
|
|
382
395
|
# List roles assigned to this object.
|
383
396
|
# @param rpm_rpm_distribution_href [String]
|
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
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
386
400
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
387
401
|
# @return [Array<(ObjectRolesResponse, Integer, Hash)>] ObjectRolesResponse data, response status code and response headers
|
@@ -405,6 +419,7 @@ module PulpRpmClient
|
|
405
419
|
header_params = opts[:header_params] || {}
|
406
420
|
# HTTP header 'Accept' (if needed)
|
407
421
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
422
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
408
423
|
|
409
424
|
# form parameters
|
410
425
|
form_params = opts[:form_params] || {}
|
@@ -439,6 +454,7 @@ module PulpRpmClient
|
|
439
454
|
# List permissions available to the current user on this object.
|
440
455
|
# @param rpm_rpm_distribution_href [String]
|
441
456
|
# @param [Hash] opts the optional parameters
|
457
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
442
458
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
443
459
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
444
460
|
# @return [MyPermissionsResponse]
|
@@ -451,6 +467,7 @@ module PulpRpmClient
|
|
451
467
|
# List permissions available to the current user on this object.
|
452
468
|
# @param rpm_rpm_distribution_href [String]
|
453
469
|
# @param [Hash] opts the optional parameters
|
470
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
454
471
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
455
472
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
456
473
|
# @return [Array<(MyPermissionsResponse, Integer, Hash)>] MyPermissionsResponse data, response status code and response headers
|
@@ -474,6 +491,7 @@ module PulpRpmClient
|
|
474
491
|
header_params = opts[:header_params] || {}
|
475
492
|
# HTTP header 'Accept' (if needed)
|
476
493
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
494
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
477
495
|
|
478
496
|
# form parameters
|
479
497
|
form_params = opts[:form_params] || {}
|
@@ -509,6 +527,7 @@ module PulpRpmClient
|
|
509
527
|
# @param rpm_rpm_distribution_href [String]
|
510
528
|
# @param patchedrpm_rpm_distribution [PatchedrpmRpmDistribution]
|
511
529
|
# @param [Hash] opts the optional parameters
|
530
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
512
531
|
# @return [AsyncOperationResponse]
|
513
532
|
def partial_update(rpm_rpm_distribution_href, patchedrpm_rpm_distribution, opts = {})
|
514
533
|
data, _status_code, _headers = partial_update_with_http_info(rpm_rpm_distribution_href, patchedrpm_rpm_distribution, opts)
|
@@ -520,6 +539,7 @@ module PulpRpmClient
|
|
520
539
|
# @param rpm_rpm_distribution_href [String]
|
521
540
|
# @param patchedrpm_rpm_distribution [PatchedrpmRpmDistribution]
|
522
541
|
# @param [Hash] opts the optional parameters
|
542
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
523
543
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
524
544
|
def partial_update_with_http_info(rpm_rpm_distribution_href, patchedrpm_rpm_distribution, opts = {})
|
525
545
|
if @api_client.config.debugging
|
@@ -548,6 +568,7 @@ module PulpRpmClient
|
|
548
568
|
if !content_type.nil?
|
549
569
|
header_params['Content-Type'] = content_type
|
550
570
|
end
|
571
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
551
572
|
|
552
573
|
# form parameters
|
553
574
|
form_params = opts[:form_params] || {}
|
@@ -582,6 +603,7 @@ module PulpRpmClient
|
|
582
603
|
# ViewSet for RPM Distributions.
|
583
604
|
# @param rpm_rpm_distribution_href [String]
|
584
605
|
# @param [Hash] opts the optional parameters
|
606
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
585
607
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
586
608
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
587
609
|
# @return [RpmRpmDistributionResponse]
|
@@ -594,6 +616,7 @@ module PulpRpmClient
|
|
594
616
|
# ViewSet for RPM Distributions.
|
595
617
|
# @param rpm_rpm_distribution_href [String]
|
596
618
|
# @param [Hash] opts the optional parameters
|
619
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
597
620
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
598
621
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
599
622
|
# @return [Array<(RpmRpmDistributionResponse, Integer, Hash)>] RpmRpmDistributionResponse data, response status code and response headers
|
@@ -617,6 +640,7 @@ module PulpRpmClient
|
|
617
640
|
header_params = opts[:header_params] || {}
|
618
641
|
# HTTP header 'Accept' (if needed)
|
619
642
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
643
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
620
644
|
|
621
645
|
# form parameters
|
622
646
|
form_params = opts[:form_params] || {}
|
@@ -652,6 +676,7 @@ module PulpRpmClient
|
|
652
676
|
# @param rpm_rpm_distribution_href [String]
|
653
677
|
# @param nested_role [NestedRole]
|
654
678
|
# @param [Hash] opts the optional parameters
|
679
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
655
680
|
# @return [NestedRoleResponse]
|
656
681
|
def remove_role(rpm_rpm_distribution_href, nested_role, opts = {})
|
657
682
|
data, _status_code, _headers = remove_role_with_http_info(rpm_rpm_distribution_href, nested_role, opts)
|
@@ -663,6 +688,7 @@ module PulpRpmClient
|
|
663
688
|
# @param rpm_rpm_distribution_href [String]
|
664
689
|
# @param nested_role [NestedRole]
|
665
690
|
# @param [Hash] opts the optional parameters
|
691
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
666
692
|
# @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
|
667
693
|
def remove_role_with_http_info(rpm_rpm_distribution_href, nested_role, opts = {})
|
668
694
|
if @api_client.config.debugging
|
@@ -691,6 +717,7 @@ module PulpRpmClient
|
|
691
717
|
if !content_type.nil?
|
692
718
|
header_params['Content-Type'] = content_type
|
693
719
|
end
|
720
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
694
721
|
|
695
722
|
# form parameters
|
696
723
|
form_params = opts[:form_params] || {}
|
@@ -726,6 +753,7 @@ module PulpRpmClient
|
|
726
753
|
# @param rpm_rpm_distribution_href [String]
|
727
754
|
# @param set_label [SetLabel]
|
728
755
|
# @param [Hash] opts the optional parameters
|
756
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
729
757
|
# @return [SetLabelResponse]
|
730
758
|
def set_label(rpm_rpm_distribution_href, set_label, opts = {})
|
731
759
|
data, _status_code, _headers = set_label_with_http_info(rpm_rpm_distribution_href, set_label, opts)
|
@@ -737,6 +765,7 @@ module PulpRpmClient
|
|
737
765
|
# @param rpm_rpm_distribution_href [String]
|
738
766
|
# @param set_label [SetLabel]
|
739
767
|
# @param [Hash] opts the optional parameters
|
768
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
740
769
|
# @return [Array<(SetLabelResponse, Integer, Hash)>] SetLabelResponse data, response status code and response headers
|
741
770
|
def set_label_with_http_info(rpm_rpm_distribution_href, set_label, opts = {})
|
742
771
|
if @api_client.config.debugging
|
@@ -765,6 +794,7 @@ module PulpRpmClient
|
|
765
794
|
if !content_type.nil?
|
766
795
|
header_params['Content-Type'] = content_type
|
767
796
|
end
|
797
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
768
798
|
|
769
799
|
# form parameters
|
770
800
|
form_params = opts[:form_params] || {}
|
@@ -800,6 +830,7 @@ module PulpRpmClient
|
|
800
830
|
# @param rpm_rpm_distribution_href [String]
|
801
831
|
# @param unset_label [UnsetLabel]
|
802
832
|
# @param [Hash] opts the optional parameters
|
833
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
803
834
|
# @return [UnsetLabelResponse]
|
804
835
|
def unset_label(rpm_rpm_distribution_href, unset_label, opts = {})
|
805
836
|
data, _status_code, _headers = unset_label_with_http_info(rpm_rpm_distribution_href, unset_label, opts)
|
@@ -811,6 +842,7 @@ module PulpRpmClient
|
|
811
842
|
# @param rpm_rpm_distribution_href [String]
|
812
843
|
# @param unset_label [UnsetLabel]
|
813
844
|
# @param [Hash] opts the optional parameters
|
845
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
814
846
|
# @return [Array<(UnsetLabelResponse, Integer, Hash)>] UnsetLabelResponse data, response status code and response headers
|
815
847
|
def unset_label_with_http_info(rpm_rpm_distribution_href, unset_label, opts = {})
|
816
848
|
if @api_client.config.debugging
|
@@ -839,6 +871,7 @@ module PulpRpmClient
|
|
839
871
|
if !content_type.nil?
|
840
872
|
header_params['Content-Type'] = content_type
|
841
873
|
end
|
874
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
842
875
|
|
843
876
|
# form parameters
|
844
877
|
form_params = opts[:form_params] || {}
|
@@ -874,6 +907,7 @@ module PulpRpmClient
|
|
874
907
|
# @param rpm_rpm_distribution_href [String]
|
875
908
|
# @param rpm_rpm_distribution [RpmRpmDistribution]
|
876
909
|
# @param [Hash] opts the optional parameters
|
910
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
877
911
|
# @return [AsyncOperationResponse]
|
878
912
|
def update(rpm_rpm_distribution_href, rpm_rpm_distribution, opts = {})
|
879
913
|
data, _status_code, _headers = update_with_http_info(rpm_rpm_distribution_href, rpm_rpm_distribution, opts)
|
@@ -885,6 +919,7 @@ module PulpRpmClient
|
|
885
919
|
# @param rpm_rpm_distribution_href [String]
|
886
920
|
# @param rpm_rpm_distribution [RpmRpmDistribution]
|
887
921
|
# @param [Hash] opts the optional parameters
|
922
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
888
923
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
889
924
|
def update_with_http_info(rpm_rpm_distribution_href, rpm_rpm_distribution, opts = {})
|
890
925
|
if @api_client.config.debugging
|
@@ -913,6 +948,7 @@ module PulpRpmClient
|
|
913
948
|
if !content_type.nil?
|
914
949
|
header_params['Content-Type'] = content_type
|
915
950
|
end
|
951
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
916
952
|
|
917
953
|
# form parameters
|
918
954
|
form_params = opts[:form_params] || {}
|