pulp_rpm_client 3.30.2 → 3.31.1
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 +9 -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 +105 -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 +20 -8
- 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 +99 -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 +12 -0
- 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 +22 -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 +4 -0
- 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 +82 -82
@@ -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] || {}
|
@@ -24,6 +24,7 @@ module PulpRpmClient
|
|
24
24
|
# @param rpm_rpm_publication_href [String]
|
25
25
|
# @param nested_role [NestedRole]
|
26
26
|
# @param [Hash] opts the optional parameters
|
27
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
27
28
|
# @return [NestedRoleResponse]
|
28
29
|
def add_role(rpm_rpm_publication_href, nested_role, opts = {})
|
29
30
|
data, _status_code, _headers = add_role_with_http_info(rpm_rpm_publication_href, nested_role, opts)
|
@@ -35,6 +36,7 @@ module PulpRpmClient
|
|
35
36
|
# @param rpm_rpm_publication_href [String]
|
36
37
|
# @param nested_role [NestedRole]
|
37
38
|
# @param [Hash] opts the optional parameters
|
39
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
38
40
|
# @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
|
39
41
|
def add_role_with_http_info(rpm_rpm_publication_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 task to create a new RPM content publication.
|
98
101
|
# @param rpm_rpm_publication [RpmRpmPublication]
|
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_publication, opts = {})
|
102
106
|
data, _status_code, _headers = create_with_http_info(rpm_rpm_publication, opts)
|
@@ -107,6 +111,7 @@ module PulpRpmClient
|
|
107
111
|
# Trigger an asynchronous task to create a new RPM content publication.
|
108
112
|
# @param rpm_rpm_publication [RpmRpmPublication]
|
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_publication, 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
|
# ViewSet for Rpm Publications.
|
166
172
|
# @param rpm_rpm_publication_href [String]
|
167
173
|
# @param [Hash] opts the optional parameters
|
174
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
168
175
|
# @return [nil]
|
169
176
|
def delete(rpm_rpm_publication_href, opts = {})
|
170
177
|
delete_with_http_info(rpm_rpm_publication_href, opts)
|
@@ -175,6 +182,7 @@ module PulpRpmClient
|
|
175
182
|
# ViewSet for Rpm Publications.
|
176
183
|
# @param rpm_rpm_publication_href [String]
|
177
184
|
# @param [Hash] opts the optional parameters
|
185
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
178
186
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
179
187
|
def delete_with_http_info(rpm_rpm_publication_href, opts = {})
|
180
188
|
if @api_client.config.debugging
|
@@ -192,6 +200,7 @@ module PulpRpmClient
|
|
192
200
|
|
193
201
|
# header parameters
|
194
202
|
header_params = opts[:header_params] || {}
|
203
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
195
204
|
|
196
205
|
# form parameters
|
197
206
|
form_params = opts[:form_params] || {}
|
@@ -225,6 +234,7 @@ module PulpRpmClient
|
|
225
234
|
# List rpm publications
|
226
235
|
# ViewSet for Rpm Publications.
|
227
236
|
# @param [Hash] opts the optional parameters
|
237
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
228
238
|
# @option opts [Boolean] :checkpoint Filter results where checkpoint matches value
|
229
239
|
# @option opts [String] :content Content Unit referenced by HREF/PRN
|
230
240
|
# @option opts [Array<String>] :content__in Multiple values may be separated by commas.
|
@@ -255,6 +265,7 @@ module PulpRpmClient
|
|
255
265
|
# List rpm publications
|
256
266
|
# ViewSet for Rpm Publications.
|
257
267
|
# @param [Hash] opts the optional parameters
|
268
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
258
269
|
# @option opts [Boolean] :checkpoint Filter results where checkpoint matches value
|
259
270
|
# @option opts [String] :content Content Unit referenced by HREF/PRN
|
260
271
|
# @option opts [Array<String>] :content__in Multiple values may be separated by commas.
|
@@ -316,6 +327,7 @@ module PulpRpmClient
|
|
316
327
|
header_params = opts[:header_params] || {}
|
317
328
|
# HTTP header 'Accept' (if needed)
|
318
329
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
330
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
319
331
|
|
320
332
|
# form parameters
|
321
333
|
form_params = opts[:form_params] || {}
|
@@ -350,6 +362,7 @@ module PulpRpmClient
|
|
350
362
|
# List roles assigned to this object.
|
351
363
|
# @param rpm_rpm_publication_href [String]
|
352
364
|
# @param [Hash] opts the optional parameters
|
365
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
353
366
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
354
367
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
355
368
|
# @return [ObjectRolesResponse]
|
@@ -362,6 +375,7 @@ module PulpRpmClient
|
|
362
375
|
# List roles assigned to this object.
|
363
376
|
# @param rpm_rpm_publication_href [String]
|
364
377
|
# @param [Hash] opts the optional parameters
|
378
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
365
379
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
366
380
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
367
381
|
# @return [Array<(ObjectRolesResponse, Integer, Hash)>] ObjectRolesResponse data, response status code and response headers
|
@@ -385,6 +399,7 @@ module PulpRpmClient
|
|
385
399
|
header_params = opts[:header_params] || {}
|
386
400
|
# HTTP header 'Accept' (if needed)
|
387
401
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
402
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
388
403
|
|
389
404
|
# form parameters
|
390
405
|
form_params = opts[:form_params] || {}
|
@@ -419,6 +434,7 @@ module PulpRpmClient
|
|
419
434
|
# List permissions available to the current user on this object.
|
420
435
|
# @param rpm_rpm_publication_href [String]
|
421
436
|
# @param [Hash] opts the optional parameters
|
437
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
422
438
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
423
439
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
424
440
|
# @return [MyPermissionsResponse]
|
@@ -431,6 +447,7 @@ module PulpRpmClient
|
|
431
447
|
# List permissions available to the current user on this object.
|
432
448
|
# @param rpm_rpm_publication_href [String]
|
433
449
|
# @param [Hash] opts the optional parameters
|
450
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
434
451
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
435
452
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
436
453
|
# @return [Array<(MyPermissionsResponse, Integer, Hash)>] MyPermissionsResponse data, response status code and response headers
|
@@ -454,6 +471,7 @@ module PulpRpmClient
|
|
454
471
|
header_params = opts[:header_params] || {}
|
455
472
|
# HTTP header 'Accept' (if needed)
|
456
473
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
474
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
457
475
|
|
458
476
|
# form parameters
|
459
477
|
form_params = opts[:form_params] || {}
|
@@ -488,6 +506,7 @@ module PulpRpmClient
|
|
488
506
|
# ViewSet for Rpm Publications.
|
489
507
|
# @param rpm_rpm_publication_href [String]
|
490
508
|
# @param [Hash] opts the optional parameters
|
509
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
491
510
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
492
511
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
493
512
|
# @return [RpmRpmPublicationResponse]
|
@@ -500,6 +519,7 @@ module PulpRpmClient
|
|
500
519
|
# ViewSet for Rpm Publications.
|
501
520
|
# @param rpm_rpm_publication_href [String]
|
502
521
|
# @param [Hash] opts the optional parameters
|
522
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
503
523
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
504
524
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
505
525
|
# @return [Array<(RpmRpmPublicationResponse, Integer, Hash)>] RpmRpmPublicationResponse data, response status code and response headers
|
@@ -523,6 +543,7 @@ module PulpRpmClient
|
|
523
543
|
header_params = opts[:header_params] || {}
|
524
544
|
# HTTP header 'Accept' (if needed)
|
525
545
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
546
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
526
547
|
|
527
548
|
# form parameters
|
528
549
|
form_params = opts[:form_params] || {}
|
@@ -558,6 +579,7 @@ module PulpRpmClient
|
|
558
579
|
# @param rpm_rpm_publication_href [String]
|
559
580
|
# @param nested_role [NestedRole]
|
560
581
|
# @param [Hash] opts the optional parameters
|
582
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
561
583
|
# @return [NestedRoleResponse]
|
562
584
|
def remove_role(rpm_rpm_publication_href, nested_role, opts = {})
|
563
585
|
data, _status_code, _headers = remove_role_with_http_info(rpm_rpm_publication_href, nested_role, opts)
|
@@ -569,6 +591,7 @@ module PulpRpmClient
|
|
569
591
|
# @param rpm_rpm_publication_href [String]
|
570
592
|
# @param nested_role [NestedRole]
|
571
593
|
# @param [Hash] opts the optional parameters
|
594
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
572
595
|
# @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
|
573
596
|
def remove_role_with_http_info(rpm_rpm_publication_href, nested_role, opts = {})
|
574
597
|
if @api_client.config.debugging
|
@@ -597,6 +620,7 @@ module PulpRpmClient
|
|
597
620
|
if !content_type.nil?
|
598
621
|
header_params['Content-Type'] = content_type
|
599
622
|
end
|
623
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
600
624
|
|
601
625
|
# form parameters
|
602
626
|
form_params = opts[:form_params] || {}
|