pulp_file_client 3.49.53 → 3.49.54
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/AcsFileApi.md +50 -14
- data/docs/ContentFilesApi.md +6 -0
- data/docs/DistributionsFileApi.md +56 -16
- data/docs/PublicationsFileApi.md +32 -8
- data/docs/RemotesFileApi.md +56 -16
- data/docs/RepositoriesFileApi.md +68 -20
- data/docs/RepositoriesFileVersionsApi.md +16 -4
- data/lib/pulp_file_client/api/acs_file_api.rb +33 -0
- data/lib/pulp_file_client/api/content_files_api.rb +9 -0
- data/lib/pulp_file_client/api/distributions_file_api.rb +36 -0
- data/lib/pulp_file_client/api/publications_file_api.rb +24 -0
- data/lib/pulp_file_client/api/remotes_file_api.rb +36 -0
- data/lib/pulp_file_client/api/repositories_file_api.rb +42 -0
- data/lib/pulp_file_client/api/repositories_file_versions_api.rb +12 -0
- data/lib/pulp_file_client/version.rb +1 -1
- data/spec/api/acs_file_api_spec.rb +11 -0
- data/spec/api/content_files_api_spec.rb +3 -0
- data/spec/api/distributions_file_api_spec.rb +12 -0
- data/spec/api/publications_file_api_spec.rb +8 -0
- data/spec/api/remotes_file_api_spec.rb +12 -0
- data/spec/api/repositories_file_api_spec.rb +14 -0
- data/spec/api/repositories_file_versions_api_spec.rb +4 -0
- metadata +2 -2
|
@@ -24,6 +24,7 @@ module PulpFileClient
|
|
|
24
24
|
# @param file_file_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(file_file_distribution_href, nested_role, opts = {})
|
|
29
30
|
data, _status_code, _headers = add_role_with_http_info(file_file_distribution_href, nested_role, opts)
|
|
@@ -35,6 +36,7 @@ module PulpFileClient
|
|
|
35
36
|
# @param file_file_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(file_file_distribution_href, nested_role, opts = {})
|
|
40
42
|
if @api_client.config.debugging
|
|
@@ -60,6 +62,7 @@ module PulpFileClient
|
|
|
60
62
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
61
63
|
# HTTP header 'Content-Type'
|
|
62
64
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
|
65
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
63
66
|
|
|
64
67
|
# form parameters
|
|
65
68
|
form_params = opts[:form_params] || {}
|
|
@@ -93,6 +96,7 @@ module PulpFileClient
|
|
|
93
96
|
# Trigger an asynchronous create task
|
|
94
97
|
# @param file_file_distribution [FileFileDistribution]
|
|
95
98
|
# @param [Hash] opts the optional parameters
|
|
99
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
96
100
|
# @return [AsyncOperationResponse]
|
|
97
101
|
def create(file_file_distribution, opts = {})
|
|
98
102
|
data, _status_code, _headers = create_with_http_info(file_file_distribution, opts)
|
|
@@ -103,6 +107,7 @@ module PulpFileClient
|
|
|
103
107
|
# Trigger an asynchronous create task
|
|
104
108
|
# @param file_file_distribution [FileFileDistribution]
|
|
105
109
|
# @param [Hash] opts the optional parameters
|
|
110
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
106
111
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
|
107
112
|
def create_with_http_info(file_file_distribution, opts = {})
|
|
108
113
|
if @api_client.config.debugging
|
|
@@ -124,6 +129,7 @@ module PulpFileClient
|
|
|
124
129
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
125
130
|
# HTTP header 'Content-Type'
|
|
126
131
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
|
132
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
127
133
|
|
|
128
134
|
# form parameters
|
|
129
135
|
form_params = opts[:form_params] || {}
|
|
@@ -157,6 +163,7 @@ module PulpFileClient
|
|
|
157
163
|
# Trigger an asynchronous delete task
|
|
158
164
|
# @param file_file_distribution_href [String]
|
|
159
165
|
# @param [Hash] opts the optional parameters
|
|
166
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
160
167
|
# @return [AsyncOperationResponse]
|
|
161
168
|
def delete(file_file_distribution_href, opts = {})
|
|
162
169
|
data, _status_code, _headers = delete_with_http_info(file_file_distribution_href, opts)
|
|
@@ -167,6 +174,7 @@ module PulpFileClient
|
|
|
167
174
|
# Trigger an asynchronous delete task
|
|
168
175
|
# @param file_file_distribution_href [String]
|
|
169
176
|
# @param [Hash] opts the optional parameters
|
|
177
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
170
178
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
|
171
179
|
def delete_with_http_info(file_file_distribution_href, opts = {})
|
|
172
180
|
if @api_client.config.debugging
|
|
@@ -186,6 +194,7 @@ module PulpFileClient
|
|
|
186
194
|
header_params = opts[:header_params] || {}
|
|
187
195
|
# HTTP header 'Accept' (if needed)
|
|
188
196
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
197
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
189
198
|
|
|
190
199
|
# form parameters
|
|
191
200
|
form_params = opts[:form_params] || {}
|
|
@@ -218,6 +227,7 @@ module PulpFileClient
|
|
|
218
227
|
# List file distributions
|
|
219
228
|
# FileDistributions host File Publications which makes the metadata and the referenced File Content available to HTTP clients. Additionally, a FileDistribution with an associated FilePublication can be the target url of a File Remote , allowing another instance of Pulp to sync the content.
|
|
220
229
|
# @param [Hash] opts the optional parameters
|
|
230
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
221
231
|
# @option opts [String] :base_path Filter results where base_path matches value
|
|
222
232
|
# @option opts [String] :base_path__contains Filter results where base_path contains value
|
|
223
233
|
# @option opts [String] :base_path__icontains Filter results where base_path contains value
|
|
@@ -252,6 +262,7 @@ module PulpFileClient
|
|
|
252
262
|
# List file distributions
|
|
253
263
|
# FileDistributions host File Publications which makes the metadata and the referenced File Content available to HTTP clients. Additionally, a FileDistribution with an associated FilePublication can be the target url of a File Remote , allowing another instance of Pulp to sync the content.
|
|
254
264
|
# @param [Hash] opts the optional parameters
|
|
265
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
255
266
|
# @option opts [String] :base_path Filter results where base_path matches value
|
|
256
267
|
# @option opts [String] :base_path__contains Filter results where base_path contains value
|
|
257
268
|
# @option opts [String] :base_path__icontains Filter results where base_path contains value
|
|
@@ -321,6 +332,7 @@ module PulpFileClient
|
|
|
321
332
|
header_params = opts[:header_params] || {}
|
|
322
333
|
# HTTP header 'Accept' (if needed)
|
|
323
334
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
335
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
324
336
|
|
|
325
337
|
# form parameters
|
|
326
338
|
form_params = opts[:form_params] || {}
|
|
@@ -354,6 +366,7 @@ module PulpFileClient
|
|
|
354
366
|
# List roles assigned to this object.
|
|
355
367
|
# @param file_file_distribution_href [String]
|
|
356
368
|
# @param [Hash] opts the optional parameters
|
|
369
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
357
370
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
358
371
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
359
372
|
# @return [ObjectRolesResponse]
|
|
@@ -366,6 +379,7 @@ module PulpFileClient
|
|
|
366
379
|
# List roles assigned to this object.
|
|
367
380
|
# @param file_file_distribution_href [String]
|
|
368
381
|
# @param [Hash] opts the optional parameters
|
|
382
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
369
383
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
370
384
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
371
385
|
# @return [Array<(ObjectRolesResponse, Integer, Hash)>] ObjectRolesResponse data, response status code and response headers
|
|
@@ -389,6 +403,7 @@ module PulpFileClient
|
|
|
389
403
|
header_params = opts[:header_params] || {}
|
|
390
404
|
# HTTP header 'Accept' (if needed)
|
|
391
405
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
406
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
392
407
|
|
|
393
408
|
# form parameters
|
|
394
409
|
form_params = opts[:form_params] || {}
|
|
@@ -422,6 +437,7 @@ module PulpFileClient
|
|
|
422
437
|
# List permissions available to the current user on this object.
|
|
423
438
|
# @param file_file_distribution_href [String]
|
|
424
439
|
# @param [Hash] opts the optional parameters
|
|
440
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
425
441
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
426
442
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
427
443
|
# @return [MyPermissionsResponse]
|
|
@@ -434,6 +450,7 @@ module PulpFileClient
|
|
|
434
450
|
# List permissions available to the current user on this object.
|
|
435
451
|
# @param file_file_distribution_href [String]
|
|
436
452
|
# @param [Hash] opts the optional parameters
|
|
453
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
437
454
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
438
455
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
439
456
|
# @return [Array<(MyPermissionsResponse, Integer, Hash)>] MyPermissionsResponse data, response status code and response headers
|
|
@@ -457,6 +474,7 @@ module PulpFileClient
|
|
|
457
474
|
header_params = opts[:header_params] || {}
|
|
458
475
|
# HTTP header 'Accept' (if needed)
|
|
459
476
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
477
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
460
478
|
|
|
461
479
|
# form parameters
|
|
462
480
|
form_params = opts[:form_params] || {}
|
|
@@ -491,6 +509,7 @@ module PulpFileClient
|
|
|
491
509
|
# @param file_file_distribution_href [String]
|
|
492
510
|
# @param patchedfile_file_distribution [PatchedfileFileDistribution]
|
|
493
511
|
# @param [Hash] opts the optional parameters
|
|
512
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
494
513
|
# @return [AsyncOperationResponse]
|
|
495
514
|
def partial_update(file_file_distribution_href, patchedfile_file_distribution, opts = {})
|
|
496
515
|
data, _status_code, _headers = partial_update_with_http_info(file_file_distribution_href, patchedfile_file_distribution, opts)
|
|
@@ -502,6 +521,7 @@ module PulpFileClient
|
|
|
502
521
|
# @param file_file_distribution_href [String]
|
|
503
522
|
# @param patchedfile_file_distribution [PatchedfileFileDistribution]
|
|
504
523
|
# @param [Hash] opts the optional parameters
|
|
524
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
505
525
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
|
506
526
|
def partial_update_with_http_info(file_file_distribution_href, patchedfile_file_distribution, opts = {})
|
|
507
527
|
if @api_client.config.debugging
|
|
@@ -527,6 +547,7 @@ module PulpFileClient
|
|
|
527
547
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
528
548
|
# HTTP header 'Content-Type'
|
|
529
549
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
|
550
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
530
551
|
|
|
531
552
|
# form parameters
|
|
532
553
|
form_params = opts[:form_params] || {}
|
|
@@ -560,6 +581,7 @@ module PulpFileClient
|
|
|
560
581
|
# FileDistributions host File Publications which makes the metadata and the referenced File Content available to HTTP clients. Additionally, a FileDistribution with an associated FilePublication can be the target url of a File Remote , allowing another instance of Pulp to sync the content.
|
|
561
582
|
# @param file_file_distribution_href [String]
|
|
562
583
|
# @param [Hash] opts the optional parameters
|
|
584
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
563
585
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
564
586
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
565
587
|
# @return [FileFileDistributionResponse]
|
|
@@ -572,6 +594,7 @@ module PulpFileClient
|
|
|
572
594
|
# FileDistributions host File Publications which makes the metadata and the referenced File Content available to HTTP clients. Additionally, a FileDistribution with an associated FilePublication can be the target url of a File Remote , allowing another instance of Pulp to sync the content.
|
|
573
595
|
# @param file_file_distribution_href [String]
|
|
574
596
|
# @param [Hash] opts the optional parameters
|
|
597
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
575
598
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
576
599
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
577
600
|
# @return [Array<(FileFileDistributionResponse, Integer, Hash)>] FileFileDistributionResponse data, response status code and response headers
|
|
@@ -595,6 +618,7 @@ module PulpFileClient
|
|
|
595
618
|
header_params = opts[:header_params] || {}
|
|
596
619
|
# HTTP header 'Accept' (if needed)
|
|
597
620
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
621
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
598
622
|
|
|
599
623
|
# form parameters
|
|
600
624
|
form_params = opts[:form_params] || {}
|
|
@@ -629,6 +653,7 @@ module PulpFileClient
|
|
|
629
653
|
# @param file_file_distribution_href [String]
|
|
630
654
|
# @param nested_role [NestedRole]
|
|
631
655
|
# @param [Hash] opts the optional parameters
|
|
656
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
632
657
|
# @return [NestedRoleResponse]
|
|
633
658
|
def remove_role(file_file_distribution_href, nested_role, opts = {})
|
|
634
659
|
data, _status_code, _headers = remove_role_with_http_info(file_file_distribution_href, nested_role, opts)
|
|
@@ -640,6 +665,7 @@ module PulpFileClient
|
|
|
640
665
|
# @param file_file_distribution_href [String]
|
|
641
666
|
# @param nested_role [NestedRole]
|
|
642
667
|
# @param [Hash] opts the optional parameters
|
|
668
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
643
669
|
# @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
|
|
644
670
|
def remove_role_with_http_info(file_file_distribution_href, nested_role, opts = {})
|
|
645
671
|
if @api_client.config.debugging
|
|
@@ -665,6 +691,7 @@ module PulpFileClient
|
|
|
665
691
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
666
692
|
# HTTP header 'Content-Type'
|
|
667
693
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
|
694
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
668
695
|
|
|
669
696
|
# form parameters
|
|
670
697
|
form_params = opts[:form_params] || {}
|
|
@@ -699,6 +726,7 @@ module PulpFileClient
|
|
|
699
726
|
# @param file_file_distribution_href [String]
|
|
700
727
|
# @param set_label [SetLabel]
|
|
701
728
|
# @param [Hash] opts the optional parameters
|
|
729
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
702
730
|
# @return [SetLabelResponse]
|
|
703
731
|
def set_label(file_file_distribution_href, set_label, opts = {})
|
|
704
732
|
data, _status_code, _headers = set_label_with_http_info(file_file_distribution_href, set_label, opts)
|
|
@@ -710,6 +738,7 @@ module PulpFileClient
|
|
|
710
738
|
# @param file_file_distribution_href [String]
|
|
711
739
|
# @param set_label [SetLabel]
|
|
712
740
|
# @param [Hash] opts the optional parameters
|
|
741
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
713
742
|
# @return [Array<(SetLabelResponse, Integer, Hash)>] SetLabelResponse data, response status code and response headers
|
|
714
743
|
def set_label_with_http_info(file_file_distribution_href, set_label, opts = {})
|
|
715
744
|
if @api_client.config.debugging
|
|
@@ -735,6 +764,7 @@ module PulpFileClient
|
|
|
735
764
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
736
765
|
# HTTP header 'Content-Type'
|
|
737
766
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
|
767
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
738
768
|
|
|
739
769
|
# form parameters
|
|
740
770
|
form_params = opts[:form_params] || {}
|
|
@@ -769,6 +799,7 @@ module PulpFileClient
|
|
|
769
799
|
# @param file_file_distribution_href [String]
|
|
770
800
|
# @param unset_label [UnsetLabel]
|
|
771
801
|
# @param [Hash] opts the optional parameters
|
|
802
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
772
803
|
# @return [UnsetLabelResponse]
|
|
773
804
|
def unset_label(file_file_distribution_href, unset_label, opts = {})
|
|
774
805
|
data, _status_code, _headers = unset_label_with_http_info(file_file_distribution_href, unset_label, opts)
|
|
@@ -780,6 +811,7 @@ module PulpFileClient
|
|
|
780
811
|
# @param file_file_distribution_href [String]
|
|
781
812
|
# @param unset_label [UnsetLabel]
|
|
782
813
|
# @param [Hash] opts the optional parameters
|
|
814
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
783
815
|
# @return [Array<(UnsetLabelResponse, Integer, Hash)>] UnsetLabelResponse data, response status code and response headers
|
|
784
816
|
def unset_label_with_http_info(file_file_distribution_href, unset_label, opts = {})
|
|
785
817
|
if @api_client.config.debugging
|
|
@@ -805,6 +837,7 @@ module PulpFileClient
|
|
|
805
837
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
806
838
|
# HTTP header 'Content-Type'
|
|
807
839
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
|
840
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
808
841
|
|
|
809
842
|
# form parameters
|
|
810
843
|
form_params = opts[:form_params] || {}
|
|
@@ -839,6 +872,7 @@ module PulpFileClient
|
|
|
839
872
|
# @param file_file_distribution_href [String]
|
|
840
873
|
# @param file_file_distribution [FileFileDistribution]
|
|
841
874
|
# @param [Hash] opts the optional parameters
|
|
875
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
842
876
|
# @return [AsyncOperationResponse]
|
|
843
877
|
def update(file_file_distribution_href, file_file_distribution, opts = {})
|
|
844
878
|
data, _status_code, _headers = update_with_http_info(file_file_distribution_href, file_file_distribution, opts)
|
|
@@ -850,6 +884,7 @@ module PulpFileClient
|
|
|
850
884
|
# @param file_file_distribution_href [String]
|
|
851
885
|
# @param file_file_distribution [FileFileDistribution]
|
|
852
886
|
# @param [Hash] opts the optional parameters
|
|
887
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
853
888
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
|
854
889
|
def update_with_http_info(file_file_distribution_href, file_file_distribution, opts = {})
|
|
855
890
|
if @api_client.config.debugging
|
|
@@ -875,6 +910,7 @@ module PulpFileClient
|
|
|
875
910
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
876
911
|
# HTTP header 'Content-Type'
|
|
877
912
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
|
913
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
878
914
|
|
|
879
915
|
# form parameters
|
|
880
916
|
form_params = opts[:form_params] || {}
|
|
@@ -24,6 +24,7 @@ module PulpFileClient
|
|
|
24
24
|
# @param file_file_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(file_file_publication_href, nested_role, opts = {})
|
|
29
30
|
data, _status_code, _headers = add_role_with_http_info(file_file_publication_href, nested_role, opts)
|
|
@@ -35,6 +36,7 @@ module PulpFileClient
|
|
|
35
36
|
# @param file_file_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(file_file_publication_href, nested_role, opts = {})
|
|
40
42
|
if @api_client.config.debugging
|
|
@@ -60,6 +62,7 @@ module PulpFileClient
|
|
|
60
62
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
61
63
|
# HTTP header 'Content-Type'
|
|
62
64
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
|
65
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
63
66
|
|
|
64
67
|
# form parameters
|
|
65
68
|
form_params = opts[:form_params] || {}
|
|
@@ -93,6 +96,7 @@ module PulpFileClient
|
|
|
93
96
|
# Trigger an asynchronous task to publish file content.
|
|
94
97
|
# @param file_file_publication [FileFilePublication]
|
|
95
98
|
# @param [Hash] opts the optional parameters
|
|
99
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
96
100
|
# @return [AsyncOperationResponse]
|
|
97
101
|
def create(file_file_publication, opts = {})
|
|
98
102
|
data, _status_code, _headers = create_with_http_info(file_file_publication, opts)
|
|
@@ -103,6 +107,7 @@ module PulpFileClient
|
|
|
103
107
|
# Trigger an asynchronous task to publish file content.
|
|
104
108
|
# @param file_file_publication [FileFilePublication]
|
|
105
109
|
# @param [Hash] opts the optional parameters
|
|
110
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
106
111
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
|
107
112
|
def create_with_http_info(file_file_publication, opts = {})
|
|
108
113
|
if @api_client.config.debugging
|
|
@@ -124,6 +129,7 @@ module PulpFileClient
|
|
|
124
129
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
125
130
|
# HTTP header 'Content-Type'
|
|
126
131
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
|
132
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
127
133
|
|
|
128
134
|
# form parameters
|
|
129
135
|
form_params = opts[:form_params] || {}
|
|
@@ -157,6 +163,7 @@ module PulpFileClient
|
|
|
157
163
|
# A FilePublication contains metadata about all the File Content in a particular File Repository Version. Once a FilePublication has been created, it can be hosted using the File Distribution API.
|
|
158
164
|
# @param file_file_publication_href [String]
|
|
159
165
|
# @param [Hash] opts the optional parameters
|
|
166
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
160
167
|
# @return [nil]
|
|
161
168
|
def delete(file_file_publication_href, opts = {})
|
|
162
169
|
delete_with_http_info(file_file_publication_href, opts)
|
|
@@ -167,6 +174,7 @@ module PulpFileClient
|
|
|
167
174
|
# A FilePublication contains metadata about all the File Content in a particular File Repository Version. Once a FilePublication has been created, it can be hosted using the File Distribution API.
|
|
168
175
|
# @param file_file_publication_href [String]
|
|
169
176
|
# @param [Hash] opts the optional parameters
|
|
177
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
170
178
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
171
179
|
def delete_with_http_info(file_file_publication_href, opts = {})
|
|
172
180
|
if @api_client.config.debugging
|
|
@@ -184,6 +192,7 @@ module PulpFileClient
|
|
|
184
192
|
|
|
185
193
|
# header parameters
|
|
186
194
|
header_params = opts[:header_params] || {}
|
|
195
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
187
196
|
|
|
188
197
|
# form parameters
|
|
189
198
|
form_params = opts[:form_params] || {}
|
|
@@ -216,6 +225,7 @@ module PulpFileClient
|
|
|
216
225
|
# List file publications
|
|
217
226
|
# A FilePublication contains metadata about all the File Content in a particular File Repository Version. Once a FilePublication has been created, it can be hosted using the File Distribution API.
|
|
218
227
|
# @param [Hash] opts the optional parameters
|
|
228
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
219
229
|
# @option opts [String] :content Content Unit referenced by HREF
|
|
220
230
|
# @option opts [String] :content__in Content Unit referenced by HREF
|
|
221
231
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
@@ -243,6 +253,7 @@ module PulpFileClient
|
|
|
243
253
|
# List file publications
|
|
244
254
|
# A FilePublication contains metadata about all the File Content in a particular File Repository Version. Once a FilePublication has been created, it can be hosted using the File Distribution API.
|
|
245
255
|
# @param [Hash] opts the optional parameters
|
|
256
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
246
257
|
# @option opts [String] :content Content Unit referenced by HREF
|
|
247
258
|
# @option opts [String] :content__in Content Unit referenced by HREF
|
|
248
259
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
@@ -298,6 +309,7 @@ module PulpFileClient
|
|
|
298
309
|
header_params = opts[:header_params] || {}
|
|
299
310
|
# HTTP header 'Accept' (if needed)
|
|
300
311
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
312
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
301
313
|
|
|
302
314
|
# form parameters
|
|
303
315
|
form_params = opts[:form_params] || {}
|
|
@@ -331,6 +343,7 @@ module PulpFileClient
|
|
|
331
343
|
# List roles assigned to this object.
|
|
332
344
|
# @param file_file_publication_href [String]
|
|
333
345
|
# @param [Hash] opts the optional parameters
|
|
346
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
334
347
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
335
348
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
336
349
|
# @return [ObjectRolesResponse]
|
|
@@ -343,6 +356,7 @@ module PulpFileClient
|
|
|
343
356
|
# List roles assigned to this object.
|
|
344
357
|
# @param file_file_publication_href [String]
|
|
345
358
|
# @param [Hash] opts the optional parameters
|
|
359
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
346
360
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
347
361
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
348
362
|
# @return [Array<(ObjectRolesResponse, Integer, Hash)>] ObjectRolesResponse data, response status code and response headers
|
|
@@ -366,6 +380,7 @@ module PulpFileClient
|
|
|
366
380
|
header_params = opts[:header_params] || {}
|
|
367
381
|
# HTTP header 'Accept' (if needed)
|
|
368
382
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
383
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
369
384
|
|
|
370
385
|
# form parameters
|
|
371
386
|
form_params = opts[:form_params] || {}
|
|
@@ -399,6 +414,7 @@ module PulpFileClient
|
|
|
399
414
|
# List permissions available to the current user on this object.
|
|
400
415
|
# @param file_file_publication_href [String]
|
|
401
416
|
# @param [Hash] opts the optional parameters
|
|
417
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
402
418
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
403
419
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
404
420
|
# @return [MyPermissionsResponse]
|
|
@@ -411,6 +427,7 @@ module PulpFileClient
|
|
|
411
427
|
# List permissions available to the current user on this object.
|
|
412
428
|
# @param file_file_publication_href [String]
|
|
413
429
|
# @param [Hash] opts the optional parameters
|
|
430
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
414
431
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
415
432
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
416
433
|
# @return [Array<(MyPermissionsResponse, Integer, Hash)>] MyPermissionsResponse data, response status code and response headers
|
|
@@ -434,6 +451,7 @@ module PulpFileClient
|
|
|
434
451
|
header_params = opts[:header_params] || {}
|
|
435
452
|
# HTTP header 'Accept' (if needed)
|
|
436
453
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
454
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
437
455
|
|
|
438
456
|
# form parameters
|
|
439
457
|
form_params = opts[:form_params] || {}
|
|
@@ -467,6 +485,7 @@ module PulpFileClient
|
|
|
467
485
|
# A FilePublication contains metadata about all the File Content in a particular File Repository Version. Once a FilePublication has been created, it can be hosted using the File Distribution API.
|
|
468
486
|
# @param file_file_publication_href [String]
|
|
469
487
|
# @param [Hash] opts the optional parameters
|
|
488
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
470
489
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
471
490
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
472
491
|
# @return [FileFilePublicationResponse]
|
|
@@ -479,6 +498,7 @@ module PulpFileClient
|
|
|
479
498
|
# A FilePublication contains metadata about all the File Content in a particular File Repository Version. Once a FilePublication has been created, it can be hosted using the File Distribution API.
|
|
480
499
|
# @param file_file_publication_href [String]
|
|
481
500
|
# @param [Hash] opts the optional parameters
|
|
501
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
482
502
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
483
503
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
484
504
|
# @return [Array<(FileFilePublicationResponse, Integer, Hash)>] FileFilePublicationResponse data, response status code and response headers
|
|
@@ -502,6 +522,7 @@ module PulpFileClient
|
|
|
502
522
|
header_params = opts[:header_params] || {}
|
|
503
523
|
# HTTP header 'Accept' (if needed)
|
|
504
524
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
525
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
505
526
|
|
|
506
527
|
# form parameters
|
|
507
528
|
form_params = opts[:form_params] || {}
|
|
@@ -536,6 +557,7 @@ module PulpFileClient
|
|
|
536
557
|
# @param file_file_publication_href [String]
|
|
537
558
|
# @param nested_role [NestedRole]
|
|
538
559
|
# @param [Hash] opts the optional parameters
|
|
560
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
539
561
|
# @return [NestedRoleResponse]
|
|
540
562
|
def remove_role(file_file_publication_href, nested_role, opts = {})
|
|
541
563
|
data, _status_code, _headers = remove_role_with_http_info(file_file_publication_href, nested_role, opts)
|
|
@@ -547,6 +569,7 @@ module PulpFileClient
|
|
|
547
569
|
# @param file_file_publication_href [String]
|
|
548
570
|
# @param nested_role [NestedRole]
|
|
549
571
|
# @param [Hash] opts the optional parameters
|
|
572
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
550
573
|
# @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
|
|
551
574
|
def remove_role_with_http_info(file_file_publication_href, nested_role, opts = {})
|
|
552
575
|
if @api_client.config.debugging
|
|
@@ -572,6 +595,7 @@ module PulpFileClient
|
|
|
572
595
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
573
596
|
# HTTP header 'Content-Type'
|
|
574
597
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
|
598
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
575
599
|
|
|
576
600
|
# form parameters
|
|
577
601
|
form_params = opts[:form_params] || {}
|