pulp_gem_client 0.7.1 → 0.7.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 +5 -4
- data/docs/ContentGemApi.md +22 -8
- data/docs/DistributionsGemApi.md +72 -32
- data/docs/GemGemContentResponse.md +2 -0
- data/docs/GemGemRemoteResponse.md +1 -1
- data/docs/PublicationsGemApi.md +40 -16
- data/docs/RemotesGemApi.md +72 -32
- data/docs/RepositoriesGemApi.md +88 -40
- data/docs/RepositoriesGemVersionsApi.md +22 -10
- data/docs/RepositoryVersionResponse.md +3 -1
- data/lib/pulp_gem_client/api/content_gem_api.rb +15 -0
- data/lib/pulp_gem_client/api/distributions_gem_api.rb +36 -0
- data/lib/pulp_gem_client/api/publications_gem_api.rb +24 -0
- data/lib/pulp_gem_client/api/remotes_gem_api.rb +36 -0
- data/lib/pulp_gem_client/api/repositories_gem_api.rb +42 -0
- data/lib/pulp_gem_client/api/repositories_gem_versions_api.rb +15 -3
- data/lib/pulp_gem_client/models/gem_gem_content_response.rb +10 -1
- data/lib/pulp_gem_client/models/gem_gem_remote.rb +0 -17
- data/lib/pulp_gem_client/models/gem_gem_remote_response.rb +0 -17
- data/lib/pulp_gem_client/models/gem_gem_repository.rb +0 -15
- data/lib/pulp_gem_client/models/gem_gem_repository_response.rb +0 -15
- data/lib/pulp_gem_client/models/paginated_repository_version_response_list.rb +0 -2
- data/lib/pulp_gem_client/models/paginatedgem_gem_content_response_list.rb +0 -2
- data/lib/pulp_gem_client/models/paginatedgem_gem_distribution_response_list.rb +0 -2
- data/lib/pulp_gem_client/models/paginatedgem_gem_publication_response_list.rb +0 -2
- data/lib/pulp_gem_client/models/paginatedgem_gem_remote_response_list.rb +0 -2
- data/lib/pulp_gem_client/models/paginatedgem_gem_repository_response_list.rb +0 -2
- data/lib/pulp_gem_client/models/patchedgem_gem_remote.rb +0 -17
- data/lib/pulp_gem_client/models/patchedgem_gem_repository.rb +0 -15
- data/lib/pulp_gem_client/models/repository_version_response.rb +13 -4
- data/lib/pulp_gem_client/version.rb +1 -1
- data/pulp_gem_client.gemspec +0 -1
- data/spec/api/content_gem_api_spec.rb +5 -0
- data/spec/api/distributions_gem_api_spec.rb +12 -0
- data/spec/api/publications_gem_api_spec.rb +8 -0
- data/spec/api/remotes_gem_api_spec.rb +12 -0
- data/spec/api/repositories_gem_api_spec.rb +14 -0
- data/spec/api/repositories_gem_versions_api_spec.rb +5 -1
- data/spec/models/gem_gem_content_response_spec.rb +6 -0
- data/spec/models/repository_version_response_spec.rb +6 -0
- metadata +28 -48
@@ -24,6 +24,7 @@ module PulpGemClient
|
|
24
24
|
# @param gem_gem_remote_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(gem_gem_remote_href, nested_role, opts = {})
|
29
30
|
data, _status_code, _headers = add_role_with_http_info(gem_gem_remote_href, nested_role, opts)
|
@@ -35,6 +36,7 @@ module PulpGemClient
|
|
35
36
|
# @param gem_gem_remote_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(gem_gem_remote_href, nested_role, opts = {})
|
40
42
|
if @api_client.config.debugging
|
@@ -63,6 +65,7 @@ module PulpGemClient
|
|
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 PulpGemClient
|
|
97
100
|
# A ViewSet for GemRemote.
|
98
101
|
# @param gem_gem_remote [GemGemRemote]
|
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 [GemGemRemoteResponse]
|
101
105
|
def create(gem_gem_remote, opts = {})
|
102
106
|
data, _status_code, _headers = create_with_http_info(gem_gem_remote, opts)
|
@@ -107,6 +111,7 @@ module PulpGemClient
|
|
107
111
|
# A ViewSet for GemRemote.
|
108
112
|
# @param gem_gem_remote [GemGemRemote]
|
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<(GemGemRemoteResponse, Integer, Hash)>] GemGemRemoteResponse data, response status code and response headers
|
111
116
|
def create_with_http_info(gem_gem_remote, opts = {})
|
112
117
|
if @api_client.config.debugging
|
@@ -131,6 +136,7 @@ module PulpGemClient
|
|
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 PulpGemClient
|
|
165
171
|
# Trigger an asynchronous delete task
|
166
172
|
# @param gem_gem_remote_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(gem_gem_remote_href, opts = {})
|
170
177
|
data, _status_code, _headers = delete_with_http_info(gem_gem_remote_href, opts)
|
@@ -175,6 +182,7 @@ module PulpGemClient
|
|
175
182
|
# Trigger an asynchronous delete task
|
176
183
|
# @param gem_gem_remote_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(gem_gem_remote_href, opts = {})
|
180
188
|
if @api_client.config.debugging
|
@@ -194,6 +202,7 @@ module PulpGemClient
|
|
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 PulpGemClient
|
|
227
236
|
# List gem remotes
|
228
237
|
# A ViewSet for GemRemote.
|
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 [Integer] :limit Number of results to return per page.
|
231
241
|
# @option opts [String] :name Filter results where name matches value
|
232
242
|
# @option opts [String] :name__contains Filter results where name contains value
|
@@ -262,6 +272,7 @@ module PulpGemClient
|
|
262
272
|
# List gem remotes
|
263
273
|
# A ViewSet for GemRemote.
|
264
274
|
# @param [Hash] opts the optional parameters
|
275
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
265
276
|
# @option opts [Integer] :limit Number of results to return per page.
|
266
277
|
# @option opts [String] :name Filter results where name matches value
|
267
278
|
# @option opts [String] :name__contains Filter results where name contains value
|
@@ -333,6 +344,7 @@ module PulpGemClient
|
|
333
344
|
header_params = opts[:header_params] || {}
|
334
345
|
# HTTP header 'Accept' (if needed)
|
335
346
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
347
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
336
348
|
|
337
349
|
# form parameters
|
338
350
|
form_params = opts[:form_params] || {}
|
@@ -367,6 +379,7 @@ module PulpGemClient
|
|
367
379
|
# List roles assigned to this object.
|
368
380
|
# @param gem_gem_remote_href [String]
|
369
381
|
# @param [Hash] opts the optional parameters
|
382
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
370
383
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
371
384
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
372
385
|
# @return [ObjectRolesResponse]
|
@@ -379,6 +392,7 @@ module PulpGemClient
|
|
379
392
|
# List roles assigned to this object.
|
380
393
|
# @param gem_gem_remote_href [String]
|
381
394
|
# @param [Hash] opts the optional parameters
|
395
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
382
396
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
383
397
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
384
398
|
# @return [Array<(ObjectRolesResponse, Integer, Hash)>] ObjectRolesResponse data, response status code and response headers
|
@@ -402,6 +416,7 @@ module PulpGemClient
|
|
402
416
|
header_params = opts[:header_params] || {}
|
403
417
|
# HTTP header 'Accept' (if needed)
|
404
418
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
419
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
405
420
|
|
406
421
|
# form parameters
|
407
422
|
form_params = opts[:form_params] || {}
|
@@ -436,6 +451,7 @@ module PulpGemClient
|
|
436
451
|
# List permissions available to the current user on this object.
|
437
452
|
# @param gem_gem_remote_href [String]
|
438
453
|
# @param [Hash] opts the optional parameters
|
454
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
439
455
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
440
456
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
441
457
|
# @return [MyPermissionsResponse]
|
@@ -448,6 +464,7 @@ module PulpGemClient
|
|
448
464
|
# List permissions available to the current user on this object.
|
449
465
|
# @param gem_gem_remote_href [String]
|
450
466
|
# @param [Hash] opts the optional parameters
|
467
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
451
468
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
452
469
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
453
470
|
# @return [Array<(MyPermissionsResponse, Integer, Hash)>] MyPermissionsResponse data, response status code and response headers
|
@@ -471,6 +488,7 @@ module PulpGemClient
|
|
471
488
|
header_params = opts[:header_params] || {}
|
472
489
|
# HTTP header 'Accept' (if needed)
|
473
490
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
491
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
474
492
|
|
475
493
|
# form parameters
|
476
494
|
form_params = opts[:form_params] || {}
|
@@ -506,6 +524,7 @@ module PulpGemClient
|
|
506
524
|
# @param gem_gem_remote_href [String]
|
507
525
|
# @param patchedgem_gem_remote [PatchedgemGemRemote]
|
508
526
|
# @param [Hash] opts the optional parameters
|
527
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
509
528
|
# @return [AsyncOperationResponse]
|
510
529
|
def partial_update(gem_gem_remote_href, patchedgem_gem_remote, opts = {})
|
511
530
|
data, _status_code, _headers = partial_update_with_http_info(gem_gem_remote_href, patchedgem_gem_remote, opts)
|
@@ -517,6 +536,7 @@ module PulpGemClient
|
|
517
536
|
# @param gem_gem_remote_href [String]
|
518
537
|
# @param patchedgem_gem_remote [PatchedgemGemRemote]
|
519
538
|
# @param [Hash] opts the optional parameters
|
539
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
520
540
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
521
541
|
def partial_update_with_http_info(gem_gem_remote_href, patchedgem_gem_remote, opts = {})
|
522
542
|
if @api_client.config.debugging
|
@@ -545,6 +565,7 @@ module PulpGemClient
|
|
545
565
|
if !content_type.nil?
|
546
566
|
header_params['Content-Type'] = content_type
|
547
567
|
end
|
568
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
548
569
|
|
549
570
|
# form parameters
|
550
571
|
form_params = opts[:form_params] || {}
|
@@ -579,6 +600,7 @@ module PulpGemClient
|
|
579
600
|
# A ViewSet for GemRemote.
|
580
601
|
# @param gem_gem_remote_href [String]
|
581
602
|
# @param [Hash] opts the optional parameters
|
603
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
582
604
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
583
605
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
584
606
|
# @return [GemGemRemoteResponse]
|
@@ -591,6 +613,7 @@ module PulpGemClient
|
|
591
613
|
# A ViewSet for GemRemote.
|
592
614
|
# @param gem_gem_remote_href [String]
|
593
615
|
# @param [Hash] opts the optional parameters
|
616
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
594
617
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
595
618
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
596
619
|
# @return [Array<(GemGemRemoteResponse, Integer, Hash)>] GemGemRemoteResponse data, response status code and response headers
|
@@ -614,6 +637,7 @@ module PulpGemClient
|
|
614
637
|
header_params = opts[:header_params] || {}
|
615
638
|
# HTTP header 'Accept' (if needed)
|
616
639
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
640
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
617
641
|
|
618
642
|
# form parameters
|
619
643
|
form_params = opts[:form_params] || {}
|
@@ -649,6 +673,7 @@ module PulpGemClient
|
|
649
673
|
# @param gem_gem_remote_href [String]
|
650
674
|
# @param nested_role [NestedRole]
|
651
675
|
# @param [Hash] opts the optional parameters
|
676
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
652
677
|
# @return [NestedRoleResponse]
|
653
678
|
def remove_role(gem_gem_remote_href, nested_role, opts = {})
|
654
679
|
data, _status_code, _headers = remove_role_with_http_info(gem_gem_remote_href, nested_role, opts)
|
@@ -660,6 +685,7 @@ module PulpGemClient
|
|
660
685
|
# @param gem_gem_remote_href [String]
|
661
686
|
# @param nested_role [NestedRole]
|
662
687
|
# @param [Hash] opts the optional parameters
|
688
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
663
689
|
# @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
|
664
690
|
def remove_role_with_http_info(gem_gem_remote_href, nested_role, opts = {})
|
665
691
|
if @api_client.config.debugging
|
@@ -688,6 +714,7 @@ module PulpGemClient
|
|
688
714
|
if !content_type.nil?
|
689
715
|
header_params['Content-Type'] = content_type
|
690
716
|
end
|
717
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
691
718
|
|
692
719
|
# form parameters
|
693
720
|
form_params = opts[:form_params] || {}
|
@@ -723,6 +750,7 @@ module PulpGemClient
|
|
723
750
|
# @param gem_gem_remote_href [String]
|
724
751
|
# @param set_label [SetLabel]
|
725
752
|
# @param [Hash] opts the optional parameters
|
753
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
726
754
|
# @return [SetLabelResponse]
|
727
755
|
def set_label(gem_gem_remote_href, set_label, opts = {})
|
728
756
|
data, _status_code, _headers = set_label_with_http_info(gem_gem_remote_href, set_label, opts)
|
@@ -734,6 +762,7 @@ module PulpGemClient
|
|
734
762
|
# @param gem_gem_remote_href [String]
|
735
763
|
# @param set_label [SetLabel]
|
736
764
|
# @param [Hash] opts the optional parameters
|
765
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
737
766
|
# @return [Array<(SetLabelResponse, Integer, Hash)>] SetLabelResponse data, response status code and response headers
|
738
767
|
def set_label_with_http_info(gem_gem_remote_href, set_label, opts = {})
|
739
768
|
if @api_client.config.debugging
|
@@ -762,6 +791,7 @@ module PulpGemClient
|
|
762
791
|
if !content_type.nil?
|
763
792
|
header_params['Content-Type'] = content_type
|
764
793
|
end
|
794
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
765
795
|
|
766
796
|
# form parameters
|
767
797
|
form_params = opts[:form_params] || {}
|
@@ -797,6 +827,7 @@ module PulpGemClient
|
|
797
827
|
# @param gem_gem_remote_href [String]
|
798
828
|
# @param unset_label [UnsetLabel]
|
799
829
|
# @param [Hash] opts the optional parameters
|
830
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
800
831
|
# @return [UnsetLabelResponse]
|
801
832
|
def unset_label(gem_gem_remote_href, unset_label, opts = {})
|
802
833
|
data, _status_code, _headers = unset_label_with_http_info(gem_gem_remote_href, unset_label, opts)
|
@@ -808,6 +839,7 @@ module PulpGemClient
|
|
808
839
|
# @param gem_gem_remote_href [String]
|
809
840
|
# @param unset_label [UnsetLabel]
|
810
841
|
# @param [Hash] opts the optional parameters
|
842
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
811
843
|
# @return [Array<(UnsetLabelResponse, Integer, Hash)>] UnsetLabelResponse data, response status code and response headers
|
812
844
|
def unset_label_with_http_info(gem_gem_remote_href, unset_label, opts = {})
|
813
845
|
if @api_client.config.debugging
|
@@ -836,6 +868,7 @@ module PulpGemClient
|
|
836
868
|
if !content_type.nil?
|
837
869
|
header_params['Content-Type'] = content_type
|
838
870
|
end
|
871
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
839
872
|
|
840
873
|
# form parameters
|
841
874
|
form_params = opts[:form_params] || {}
|
@@ -871,6 +904,7 @@ module PulpGemClient
|
|
871
904
|
# @param gem_gem_remote_href [String]
|
872
905
|
# @param gem_gem_remote [GemGemRemote]
|
873
906
|
# @param [Hash] opts the optional parameters
|
907
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
874
908
|
# @return [AsyncOperationResponse]
|
875
909
|
def update(gem_gem_remote_href, gem_gem_remote, opts = {})
|
876
910
|
data, _status_code, _headers = update_with_http_info(gem_gem_remote_href, gem_gem_remote, opts)
|
@@ -882,6 +916,7 @@ module PulpGemClient
|
|
882
916
|
# @param gem_gem_remote_href [String]
|
883
917
|
# @param gem_gem_remote [GemGemRemote]
|
884
918
|
# @param [Hash] opts the optional parameters
|
919
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
885
920
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
886
921
|
def update_with_http_info(gem_gem_remote_href, gem_gem_remote, opts = {})
|
887
922
|
if @api_client.config.debugging
|
@@ -910,6 +945,7 @@ module PulpGemClient
|
|
910
945
|
if !content_type.nil?
|
911
946
|
header_params['Content-Type'] = content_type
|
912
947
|
end
|
948
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
913
949
|
|
914
950
|
# form parameters
|
915
951
|
form_params = opts[:form_params] || {}
|
@@ -24,6 +24,7 @@ module PulpGemClient
|
|
24
24
|
# @param gem_gem_repository_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(gem_gem_repository_href, nested_role, opts = {})
|
29
30
|
data, _status_code, _headers = add_role_with_http_info(gem_gem_repository_href, nested_role, opts)
|
@@ -35,6 +36,7 @@ module PulpGemClient
|
|
35
36
|
# @param gem_gem_repository_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(gem_gem_repository_href, nested_role, opts = {})
|
40
42
|
if @api_client.config.debugging
|
@@ -63,6 +65,7 @@ module PulpGemClient
|
|
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 PulpGemClient
|
|
97
100
|
# A ViewSet for GemRepository.
|
98
101
|
# @param gem_gem_repository [GemGemRepository]
|
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 [GemGemRepositoryResponse]
|
101
105
|
def create(gem_gem_repository, opts = {})
|
102
106
|
data, _status_code, _headers = create_with_http_info(gem_gem_repository, opts)
|
@@ -107,6 +111,7 @@ module PulpGemClient
|
|
107
111
|
# A ViewSet for GemRepository.
|
108
112
|
# @param gem_gem_repository [GemGemRepository]
|
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<(GemGemRepositoryResponse, Integer, Hash)>] GemGemRepositoryResponse data, response status code and response headers
|
111
116
|
def create_with_http_info(gem_gem_repository, opts = {})
|
112
117
|
if @api_client.config.debugging
|
@@ -131,6 +136,7 @@ module PulpGemClient
|
|
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 PulpGemClient
|
|
165
171
|
# Trigger an asynchronous delete task
|
166
172
|
# @param gem_gem_repository_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(gem_gem_repository_href, opts = {})
|
170
177
|
data, _status_code, _headers = delete_with_http_info(gem_gem_repository_href, opts)
|
@@ -175,6 +182,7 @@ module PulpGemClient
|
|
175
182
|
# Trigger an asynchronous delete task
|
176
183
|
# @param gem_gem_repository_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(gem_gem_repository_href, opts = {})
|
180
188
|
if @api_client.config.debugging
|
@@ -194,6 +202,7 @@ module PulpGemClient
|
|
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 PulpGemClient
|
|
227
236
|
# List gem repositorys
|
228
237
|
# A ViewSet for GemRepository.
|
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] :latest_with_content Content Unit referenced by HREF/PRN
|
231
241
|
# @option opts [Integer] :limit Number of results to return per page.
|
232
242
|
# @option opts [String] :name Filter results where name matches value
|
@@ -266,6 +276,7 @@ module PulpGemClient
|
|
266
276
|
# List gem repositorys
|
267
277
|
# A ViewSet for GemRepository.
|
268
278
|
# @param [Hash] opts the optional parameters
|
279
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
269
280
|
# @option opts [String] :latest_with_content Content Unit referenced by HREF/PRN
|
270
281
|
# @option opts [Integer] :limit Number of results to return per page.
|
271
282
|
# @option opts [String] :name Filter results where name matches value
|
@@ -345,6 +356,7 @@ module PulpGemClient
|
|
345
356
|
header_params = opts[:header_params] || {}
|
346
357
|
# HTTP header 'Accept' (if needed)
|
347
358
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
359
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
348
360
|
|
349
361
|
# form parameters
|
350
362
|
form_params = opts[:form_params] || {}
|
@@ -379,6 +391,7 @@ module PulpGemClient
|
|
379
391
|
# List roles assigned to this object.
|
380
392
|
# @param gem_gem_repository_href [String]
|
381
393
|
# @param [Hash] opts the optional parameters
|
394
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
382
395
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
383
396
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
384
397
|
# @return [ObjectRolesResponse]
|
@@ -391,6 +404,7 @@ module PulpGemClient
|
|
391
404
|
# List roles assigned to this object.
|
392
405
|
# @param gem_gem_repository_href [String]
|
393
406
|
# @param [Hash] opts the optional parameters
|
407
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
394
408
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
395
409
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
396
410
|
# @return [Array<(ObjectRolesResponse, Integer, Hash)>] ObjectRolesResponse data, response status code and response headers
|
@@ -414,6 +428,7 @@ module PulpGemClient
|
|
414
428
|
header_params = opts[:header_params] || {}
|
415
429
|
# HTTP header 'Accept' (if needed)
|
416
430
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
431
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
417
432
|
|
418
433
|
# form parameters
|
419
434
|
form_params = opts[:form_params] || {}
|
@@ -449,6 +464,7 @@ module PulpGemClient
|
|
449
464
|
# @param gem_gem_repository_href [String]
|
450
465
|
# @param repository_add_remove_content [RepositoryAddRemoveContent]
|
451
466
|
# @param [Hash] opts the optional parameters
|
467
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
452
468
|
# @return [AsyncOperationResponse]
|
453
469
|
def modify(gem_gem_repository_href, repository_add_remove_content, opts = {})
|
454
470
|
data, _status_code, _headers = modify_with_http_info(gem_gem_repository_href, repository_add_remove_content, opts)
|
@@ -460,6 +476,7 @@ module PulpGemClient
|
|
460
476
|
# @param gem_gem_repository_href [String]
|
461
477
|
# @param repository_add_remove_content [RepositoryAddRemoveContent]
|
462
478
|
# @param [Hash] opts the optional parameters
|
479
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
463
480
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
464
481
|
def modify_with_http_info(gem_gem_repository_href, repository_add_remove_content, opts = {})
|
465
482
|
if @api_client.config.debugging
|
@@ -488,6 +505,7 @@ module PulpGemClient
|
|
488
505
|
if !content_type.nil?
|
489
506
|
header_params['Content-Type'] = content_type
|
490
507
|
end
|
508
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
491
509
|
|
492
510
|
# form parameters
|
493
511
|
form_params = opts[:form_params] || {}
|
@@ -522,6 +540,7 @@ module PulpGemClient
|
|
522
540
|
# List permissions available to the current user on this object.
|
523
541
|
# @param gem_gem_repository_href [String]
|
524
542
|
# @param [Hash] opts the optional parameters
|
543
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
525
544
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
526
545
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
527
546
|
# @return [MyPermissionsResponse]
|
@@ -534,6 +553,7 @@ module PulpGemClient
|
|
534
553
|
# List permissions available to the current user on this object.
|
535
554
|
# @param gem_gem_repository_href [String]
|
536
555
|
# @param [Hash] opts the optional parameters
|
556
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
537
557
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
538
558
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
539
559
|
# @return [Array<(MyPermissionsResponse, Integer, Hash)>] MyPermissionsResponse data, response status code and response headers
|
@@ -557,6 +577,7 @@ module PulpGemClient
|
|
557
577
|
header_params = opts[:header_params] || {}
|
558
578
|
# HTTP header 'Accept' (if needed)
|
559
579
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
580
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
560
581
|
|
561
582
|
# form parameters
|
562
583
|
form_params = opts[:form_params] || {}
|
@@ -592,6 +613,7 @@ module PulpGemClient
|
|
592
613
|
# @param gem_gem_repository_href [String]
|
593
614
|
# @param patchedgem_gem_repository [PatchedgemGemRepository]
|
594
615
|
# @param [Hash] opts the optional parameters
|
616
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
595
617
|
# @return [AsyncOperationResponse]
|
596
618
|
def partial_update(gem_gem_repository_href, patchedgem_gem_repository, opts = {})
|
597
619
|
data, _status_code, _headers = partial_update_with_http_info(gem_gem_repository_href, patchedgem_gem_repository, opts)
|
@@ -603,6 +625,7 @@ module PulpGemClient
|
|
603
625
|
# @param gem_gem_repository_href [String]
|
604
626
|
# @param patchedgem_gem_repository [PatchedgemGemRepository]
|
605
627
|
# @param [Hash] opts the optional parameters
|
628
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
606
629
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
607
630
|
def partial_update_with_http_info(gem_gem_repository_href, patchedgem_gem_repository, opts = {})
|
608
631
|
if @api_client.config.debugging
|
@@ -631,6 +654,7 @@ module PulpGemClient
|
|
631
654
|
if !content_type.nil?
|
632
655
|
header_params['Content-Type'] = content_type
|
633
656
|
end
|
657
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
634
658
|
|
635
659
|
# form parameters
|
636
660
|
form_params = opts[:form_params] || {}
|
@@ -665,6 +689,7 @@ module PulpGemClient
|
|
665
689
|
# A ViewSet for GemRepository.
|
666
690
|
# @param gem_gem_repository_href [String]
|
667
691
|
# @param [Hash] opts the optional parameters
|
692
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
668
693
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
669
694
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
670
695
|
# @return [GemGemRepositoryResponse]
|
@@ -677,6 +702,7 @@ module PulpGemClient
|
|
677
702
|
# A ViewSet for GemRepository.
|
678
703
|
# @param gem_gem_repository_href [String]
|
679
704
|
# @param [Hash] opts the optional parameters
|
705
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
680
706
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
681
707
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
682
708
|
# @return [Array<(GemGemRepositoryResponse, Integer, Hash)>] GemGemRepositoryResponse data, response status code and response headers
|
@@ -700,6 +726,7 @@ module PulpGemClient
|
|
700
726
|
header_params = opts[:header_params] || {}
|
701
727
|
# HTTP header 'Accept' (if needed)
|
702
728
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
729
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
703
730
|
|
704
731
|
# form parameters
|
705
732
|
form_params = opts[:form_params] || {}
|
@@ -735,6 +762,7 @@ module PulpGemClient
|
|
735
762
|
# @param gem_gem_repository_href [String]
|
736
763
|
# @param nested_role [NestedRole]
|
737
764
|
# @param [Hash] opts the optional parameters
|
765
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
738
766
|
# @return [NestedRoleResponse]
|
739
767
|
def remove_role(gem_gem_repository_href, nested_role, opts = {})
|
740
768
|
data, _status_code, _headers = remove_role_with_http_info(gem_gem_repository_href, nested_role, opts)
|
@@ -746,6 +774,7 @@ module PulpGemClient
|
|
746
774
|
# @param gem_gem_repository_href [String]
|
747
775
|
# @param nested_role [NestedRole]
|
748
776
|
# @param [Hash] opts the optional parameters
|
777
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
749
778
|
# @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
|
750
779
|
def remove_role_with_http_info(gem_gem_repository_href, nested_role, opts = {})
|
751
780
|
if @api_client.config.debugging
|
@@ -774,6 +803,7 @@ module PulpGemClient
|
|
774
803
|
if !content_type.nil?
|
775
804
|
header_params['Content-Type'] = content_type
|
776
805
|
end
|
806
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
777
807
|
|
778
808
|
# form parameters
|
779
809
|
form_params = opts[:form_params] || {}
|
@@ -809,6 +839,7 @@ module PulpGemClient
|
|
809
839
|
# @param gem_gem_repository_href [String]
|
810
840
|
# @param set_label [SetLabel]
|
811
841
|
# @param [Hash] opts the optional parameters
|
842
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
812
843
|
# @return [SetLabelResponse]
|
813
844
|
def set_label(gem_gem_repository_href, set_label, opts = {})
|
814
845
|
data, _status_code, _headers = set_label_with_http_info(gem_gem_repository_href, set_label, opts)
|
@@ -820,6 +851,7 @@ module PulpGemClient
|
|
820
851
|
# @param gem_gem_repository_href [String]
|
821
852
|
# @param set_label [SetLabel]
|
822
853
|
# @param [Hash] opts the optional parameters
|
854
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
823
855
|
# @return [Array<(SetLabelResponse, Integer, Hash)>] SetLabelResponse data, response status code and response headers
|
824
856
|
def set_label_with_http_info(gem_gem_repository_href, set_label, opts = {})
|
825
857
|
if @api_client.config.debugging
|
@@ -848,6 +880,7 @@ module PulpGemClient
|
|
848
880
|
if !content_type.nil?
|
849
881
|
header_params['Content-Type'] = content_type
|
850
882
|
end
|
883
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
851
884
|
|
852
885
|
# form parameters
|
853
886
|
form_params = opts[:form_params] || {}
|
@@ -883,6 +916,7 @@ module PulpGemClient
|
|
883
916
|
# @param gem_gem_repository_href [String]
|
884
917
|
# @param repository_sync_url [RepositorySyncURL]
|
885
918
|
# @param [Hash] opts the optional parameters
|
919
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
886
920
|
# @return [AsyncOperationResponse]
|
887
921
|
def sync(gem_gem_repository_href, repository_sync_url, opts = {})
|
888
922
|
data, _status_code, _headers = sync_with_http_info(gem_gem_repository_href, repository_sync_url, opts)
|
@@ -894,6 +928,7 @@ module PulpGemClient
|
|
894
928
|
# @param gem_gem_repository_href [String]
|
895
929
|
# @param repository_sync_url [RepositorySyncURL]
|
896
930
|
# @param [Hash] opts the optional parameters
|
931
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
897
932
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
898
933
|
def sync_with_http_info(gem_gem_repository_href, repository_sync_url, opts = {})
|
899
934
|
if @api_client.config.debugging
|
@@ -922,6 +957,7 @@ module PulpGemClient
|
|
922
957
|
if !content_type.nil?
|
923
958
|
header_params['Content-Type'] = content_type
|
924
959
|
end
|
960
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
925
961
|
|
926
962
|
# form parameters
|
927
963
|
form_params = opts[:form_params] || {}
|
@@ -957,6 +993,7 @@ module PulpGemClient
|
|
957
993
|
# @param gem_gem_repository_href [String]
|
958
994
|
# @param unset_label [UnsetLabel]
|
959
995
|
# @param [Hash] opts the optional parameters
|
996
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
960
997
|
# @return [UnsetLabelResponse]
|
961
998
|
def unset_label(gem_gem_repository_href, unset_label, opts = {})
|
962
999
|
data, _status_code, _headers = unset_label_with_http_info(gem_gem_repository_href, unset_label, opts)
|
@@ -968,6 +1005,7 @@ module PulpGemClient
|
|
968
1005
|
# @param gem_gem_repository_href [String]
|
969
1006
|
# @param unset_label [UnsetLabel]
|
970
1007
|
# @param [Hash] opts the optional parameters
|
1008
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
971
1009
|
# @return [Array<(UnsetLabelResponse, Integer, Hash)>] UnsetLabelResponse data, response status code and response headers
|
972
1010
|
def unset_label_with_http_info(gem_gem_repository_href, unset_label, opts = {})
|
973
1011
|
if @api_client.config.debugging
|
@@ -996,6 +1034,7 @@ module PulpGemClient
|
|
996
1034
|
if !content_type.nil?
|
997
1035
|
header_params['Content-Type'] = content_type
|
998
1036
|
end
|
1037
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
999
1038
|
|
1000
1039
|
# form parameters
|
1001
1040
|
form_params = opts[:form_params] || {}
|
@@ -1031,6 +1070,7 @@ module PulpGemClient
|
|
1031
1070
|
# @param gem_gem_repository_href [String]
|
1032
1071
|
# @param gem_gem_repository [GemGemRepository]
|
1033
1072
|
# @param [Hash] opts the optional parameters
|
1073
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
1034
1074
|
# @return [AsyncOperationResponse]
|
1035
1075
|
def update(gem_gem_repository_href, gem_gem_repository, opts = {})
|
1036
1076
|
data, _status_code, _headers = update_with_http_info(gem_gem_repository_href, gem_gem_repository, opts)
|
@@ -1042,6 +1082,7 @@ module PulpGemClient
|
|
1042
1082
|
# @param gem_gem_repository_href [String]
|
1043
1083
|
# @param gem_gem_repository [GemGemRepository]
|
1044
1084
|
# @param [Hash] opts the optional parameters
|
1085
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
1045
1086
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
1046
1087
|
def update_with_http_info(gem_gem_repository_href, gem_gem_repository, opts = {})
|
1047
1088
|
if @api_client.config.debugging
|
@@ -1070,6 +1111,7 @@ module PulpGemClient
|
|
1070
1111
|
if !content_type.nil?
|
1071
1112
|
header_params['Content-Type'] = content_type
|
1072
1113
|
end
|
1114
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
1073
1115
|
|
1074
1116
|
# form parameters
|
1075
1117
|
form_params = opts[:form_params] || {}
|