pulp_file_client 3.49.55 → 3.50.0
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 +6 -9
- data/docs/AcsFileApi.md +15 -51
- data/docs/ContentFilesApi.md +1 -7
- data/docs/DistributionsFileApi.md +17 -57
- data/docs/PublicationsFileApi.md +9 -33
- data/docs/RemotesFileApi.md +17 -57
- data/docs/RepositoriesFileApi.md +21 -69
- data/docs/RepositoriesFileVersionsApi.md +5 -17
- data/lib/pulp_file_client/api/acs_file_api.rb +0 -33
- data/lib/pulp_file_client/api/content_files_api.rb +0 -9
- data/lib/pulp_file_client/api/distributions_file_api.rb +0 -36
- data/lib/pulp_file_client/api/publications_file_api.rb +0 -24
- data/lib/pulp_file_client/api/remotes_file_api.rb +0 -36
- data/lib/pulp_file_client/api/repositories_file_api.rb +0 -42
- data/lib/pulp_file_client/api/repositories_file_versions_api.rb +0 -12
- data/lib/pulp_file_client/configuration.rb +2 -2
- data/lib/pulp_file_client/version.rb +1 -1
- data/spec/api/acs_file_api_spec.rb +0 -11
- data/spec/api/content_files_api_spec.rb +0 -3
- data/spec/api/distributions_file_api_spec.rb +0 -12
- data/spec/api/publications_file_api_spec.rb +0 -8
- data/spec/api/remotes_file_api_spec.rb +0 -12
- data/spec/api/repositories_file_api_spec.rb +0 -14
- data/spec/api/repositories_file_versions_api_spec.rb +0 -4
- data/spec/configuration_spec.rb +3 -3
- metadata +53 -53
|
@@ -24,7 +24,6 @@ module PulpFileClient
|
|
|
24
24
|
# @param file_file_alternate_content_source_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.
|
|
28
27
|
# @return [NestedRoleResponse]
|
|
29
28
|
def add_role(file_file_alternate_content_source_href, nested_role, opts = {})
|
|
30
29
|
data, _status_code, _headers = add_role_with_http_info(file_file_alternate_content_source_href, nested_role, opts)
|
|
@@ -36,7 +35,6 @@ module PulpFileClient
|
|
|
36
35
|
# @param file_file_alternate_content_source_href [String]
|
|
37
36
|
# @param nested_role [NestedRole]
|
|
38
37
|
# @param [Hash] opts the optional parameters
|
|
39
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
40
38
|
# @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
|
|
41
39
|
def add_role_with_http_info(file_file_alternate_content_source_href, nested_role, opts = {})
|
|
42
40
|
if @api_client.config.debugging
|
|
@@ -62,7 +60,6 @@ module PulpFileClient
|
|
|
62
60
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
63
61
|
# HTTP header 'Content-Type'
|
|
64
62
|
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?
|
|
66
63
|
|
|
67
64
|
# form parameters
|
|
68
65
|
form_params = opts[:form_params] || {}
|
|
@@ -96,7 +93,6 @@ module PulpFileClient
|
|
|
96
93
|
# Alternate Content Source ViewSet for File ACS support is provided as a tech preview in pulp_file.
|
|
97
94
|
# @param file_file_alternate_content_source [FileFileAlternateContentSource]
|
|
98
95
|
# @param [Hash] opts the optional parameters
|
|
99
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
100
96
|
# @return [FileFileAlternateContentSourceResponse]
|
|
101
97
|
def create(file_file_alternate_content_source, opts = {})
|
|
102
98
|
data, _status_code, _headers = create_with_http_info(file_file_alternate_content_source, opts)
|
|
@@ -107,7 +103,6 @@ module PulpFileClient
|
|
|
107
103
|
# Alternate Content Source ViewSet for File ACS support is provided as a tech preview in pulp_file.
|
|
108
104
|
# @param file_file_alternate_content_source [FileFileAlternateContentSource]
|
|
109
105
|
# @param [Hash] opts the optional parameters
|
|
110
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
111
106
|
# @return [Array<(FileFileAlternateContentSourceResponse, Integer, Hash)>] FileFileAlternateContentSourceResponse data, response status code and response headers
|
|
112
107
|
def create_with_http_info(file_file_alternate_content_source, opts = {})
|
|
113
108
|
if @api_client.config.debugging
|
|
@@ -129,7 +124,6 @@ module PulpFileClient
|
|
|
129
124
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
130
125
|
# HTTP header 'Content-Type'
|
|
131
126
|
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?
|
|
133
127
|
|
|
134
128
|
# form parameters
|
|
135
129
|
form_params = opts[:form_params] || {}
|
|
@@ -163,7 +157,6 @@ module PulpFileClient
|
|
|
163
157
|
# Trigger an asynchronous delete ACS task
|
|
164
158
|
# @param file_file_alternate_content_source_href [String]
|
|
165
159
|
# @param [Hash] opts the optional parameters
|
|
166
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
167
160
|
# @return [AsyncOperationResponse]
|
|
168
161
|
def delete(file_file_alternate_content_source_href, opts = {})
|
|
169
162
|
data, _status_code, _headers = delete_with_http_info(file_file_alternate_content_source_href, opts)
|
|
@@ -174,7 +167,6 @@ module PulpFileClient
|
|
|
174
167
|
# Trigger an asynchronous delete ACS task
|
|
175
168
|
# @param file_file_alternate_content_source_href [String]
|
|
176
169
|
# @param [Hash] opts the optional parameters
|
|
177
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
178
170
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
|
179
171
|
def delete_with_http_info(file_file_alternate_content_source_href, opts = {})
|
|
180
172
|
if @api_client.config.debugging
|
|
@@ -194,7 +186,6 @@ module PulpFileClient
|
|
|
194
186
|
header_params = opts[:header_params] || {}
|
|
195
187
|
# HTTP header 'Accept' (if needed)
|
|
196
188
|
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?
|
|
198
189
|
|
|
199
190
|
# form parameters
|
|
200
191
|
form_params = opts[:form_params] || {}
|
|
@@ -227,7 +218,6 @@ module PulpFileClient
|
|
|
227
218
|
# List file alternate content sources
|
|
228
219
|
# Alternate Content Source ViewSet for File ACS support is provided as a tech preview in pulp_file.
|
|
229
220
|
# @param [Hash] opts the optional parameters
|
|
230
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
231
221
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
232
222
|
# @option opts [String] :name Filter results where name matches value
|
|
233
223
|
# @option opts [String] :name__contains Filter results where name contains value
|
|
@@ -254,7 +244,6 @@ module PulpFileClient
|
|
|
254
244
|
# List file alternate content sources
|
|
255
245
|
# Alternate Content Source ViewSet for File ACS support is provided as a tech preview in pulp_file.
|
|
256
246
|
# @param [Hash] opts the optional parameters
|
|
257
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
258
247
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
259
248
|
# @option opts [String] :name Filter results where name matches value
|
|
260
249
|
# @option opts [String] :name__contains Filter results where name contains value
|
|
@@ -308,7 +297,6 @@ module PulpFileClient
|
|
|
308
297
|
header_params = opts[:header_params] || {}
|
|
309
298
|
# HTTP header 'Accept' (if needed)
|
|
310
299
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
311
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
312
300
|
|
|
313
301
|
# form parameters
|
|
314
302
|
form_params = opts[:form_params] || {}
|
|
@@ -342,7 +330,6 @@ module PulpFileClient
|
|
|
342
330
|
# List roles assigned to this object.
|
|
343
331
|
# @param file_file_alternate_content_source_href [String]
|
|
344
332
|
# @param [Hash] opts the optional parameters
|
|
345
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
346
333
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
347
334
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
348
335
|
# @return [ObjectRolesResponse]
|
|
@@ -355,7 +342,6 @@ module PulpFileClient
|
|
|
355
342
|
# List roles assigned to this object.
|
|
356
343
|
# @param file_file_alternate_content_source_href [String]
|
|
357
344
|
# @param [Hash] opts the optional parameters
|
|
358
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
359
345
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
360
346
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
361
347
|
# @return [Array<(ObjectRolesResponse, Integer, Hash)>] ObjectRolesResponse data, response status code and response headers
|
|
@@ -379,7 +365,6 @@ module PulpFileClient
|
|
|
379
365
|
header_params = opts[:header_params] || {}
|
|
380
366
|
# HTTP header 'Accept' (if needed)
|
|
381
367
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
382
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
383
368
|
|
|
384
369
|
# form parameters
|
|
385
370
|
form_params = opts[:form_params] || {}
|
|
@@ -413,7 +398,6 @@ module PulpFileClient
|
|
|
413
398
|
# List permissions available to the current user on this object.
|
|
414
399
|
# @param file_file_alternate_content_source_href [String]
|
|
415
400
|
# @param [Hash] opts the optional parameters
|
|
416
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
417
401
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
418
402
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
419
403
|
# @return [MyPermissionsResponse]
|
|
@@ -426,7 +410,6 @@ module PulpFileClient
|
|
|
426
410
|
# List permissions available to the current user on this object.
|
|
427
411
|
# @param file_file_alternate_content_source_href [String]
|
|
428
412
|
# @param [Hash] opts the optional parameters
|
|
429
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
430
413
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
431
414
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
432
415
|
# @return [Array<(MyPermissionsResponse, Integer, Hash)>] MyPermissionsResponse data, response status code and response headers
|
|
@@ -450,7 +433,6 @@ module PulpFileClient
|
|
|
450
433
|
header_params = opts[:header_params] || {}
|
|
451
434
|
# HTTP header 'Accept' (if needed)
|
|
452
435
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
453
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
454
436
|
|
|
455
437
|
# form parameters
|
|
456
438
|
form_params = opts[:form_params] || {}
|
|
@@ -485,7 +467,6 @@ module PulpFileClient
|
|
|
485
467
|
# @param file_file_alternate_content_source_href [String]
|
|
486
468
|
# @param patchedfile_file_alternate_content_source [PatchedfileFileAlternateContentSource]
|
|
487
469
|
# @param [Hash] opts the optional parameters
|
|
488
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
489
470
|
# @return [AsyncOperationResponse]
|
|
490
471
|
def partial_update(file_file_alternate_content_source_href, patchedfile_file_alternate_content_source, opts = {})
|
|
491
472
|
data, _status_code, _headers = partial_update_with_http_info(file_file_alternate_content_source_href, patchedfile_file_alternate_content_source, opts)
|
|
@@ -497,7 +478,6 @@ module PulpFileClient
|
|
|
497
478
|
# @param file_file_alternate_content_source_href [String]
|
|
498
479
|
# @param patchedfile_file_alternate_content_source [PatchedfileFileAlternateContentSource]
|
|
499
480
|
# @param [Hash] opts the optional parameters
|
|
500
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
501
481
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
|
502
482
|
def partial_update_with_http_info(file_file_alternate_content_source_href, patchedfile_file_alternate_content_source, opts = {})
|
|
503
483
|
if @api_client.config.debugging
|
|
@@ -523,7 +503,6 @@ module PulpFileClient
|
|
|
523
503
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
524
504
|
# HTTP header 'Content-Type'
|
|
525
505
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
|
526
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
527
506
|
|
|
528
507
|
# form parameters
|
|
529
508
|
form_params = opts[:form_params] || {}
|
|
@@ -557,7 +536,6 @@ module PulpFileClient
|
|
|
557
536
|
# Alternate Content Source ViewSet for File ACS support is provided as a tech preview in pulp_file.
|
|
558
537
|
# @param file_file_alternate_content_source_href [String]
|
|
559
538
|
# @param [Hash] opts the optional parameters
|
|
560
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
561
539
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
562
540
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
563
541
|
# @return [FileFileAlternateContentSourceResponse]
|
|
@@ -570,7 +548,6 @@ module PulpFileClient
|
|
|
570
548
|
# Alternate Content Source ViewSet for File ACS support is provided as a tech preview in pulp_file.
|
|
571
549
|
# @param file_file_alternate_content_source_href [String]
|
|
572
550
|
# @param [Hash] opts the optional parameters
|
|
573
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
574
551
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
575
552
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
576
553
|
# @return [Array<(FileFileAlternateContentSourceResponse, Integer, Hash)>] FileFileAlternateContentSourceResponse data, response status code and response headers
|
|
@@ -594,7 +571,6 @@ module PulpFileClient
|
|
|
594
571
|
header_params = opts[:header_params] || {}
|
|
595
572
|
# HTTP header 'Accept' (if needed)
|
|
596
573
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
597
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
598
574
|
|
|
599
575
|
# form parameters
|
|
600
576
|
form_params = opts[:form_params] || {}
|
|
@@ -628,7 +604,6 @@ module PulpFileClient
|
|
|
628
604
|
# Trigger an asynchronous task to create Alternate Content Source content.
|
|
629
605
|
# @param file_file_alternate_content_source_href [String]
|
|
630
606
|
# @param [Hash] opts the optional parameters
|
|
631
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
632
607
|
# @return [TaskGroupOperationResponse]
|
|
633
608
|
def refresh(file_file_alternate_content_source_href, opts = {})
|
|
634
609
|
data, _status_code, _headers = refresh_with_http_info(file_file_alternate_content_source_href, opts)
|
|
@@ -639,7 +614,6 @@ module PulpFileClient
|
|
|
639
614
|
# Trigger an asynchronous task to create Alternate Content Source content.
|
|
640
615
|
# @param file_file_alternate_content_source_href [String]
|
|
641
616
|
# @param [Hash] opts the optional parameters
|
|
642
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
643
617
|
# @return [Array<(TaskGroupOperationResponse, Integer, Hash)>] TaskGroupOperationResponse data, response status code and response headers
|
|
644
618
|
def refresh_with_http_info(file_file_alternate_content_source_href, opts = {})
|
|
645
619
|
if @api_client.config.debugging
|
|
@@ -659,7 +633,6 @@ module PulpFileClient
|
|
|
659
633
|
header_params = opts[:header_params] || {}
|
|
660
634
|
# HTTP header 'Accept' (if needed)
|
|
661
635
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
662
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
663
636
|
|
|
664
637
|
# form parameters
|
|
665
638
|
form_params = opts[:form_params] || {}
|
|
@@ -694,7 +667,6 @@ module PulpFileClient
|
|
|
694
667
|
# @param file_file_alternate_content_source_href [String]
|
|
695
668
|
# @param nested_role [NestedRole]
|
|
696
669
|
# @param [Hash] opts the optional parameters
|
|
697
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
698
670
|
# @return [NestedRoleResponse]
|
|
699
671
|
def remove_role(file_file_alternate_content_source_href, nested_role, opts = {})
|
|
700
672
|
data, _status_code, _headers = remove_role_with_http_info(file_file_alternate_content_source_href, nested_role, opts)
|
|
@@ -706,7 +678,6 @@ module PulpFileClient
|
|
|
706
678
|
# @param file_file_alternate_content_source_href [String]
|
|
707
679
|
# @param nested_role [NestedRole]
|
|
708
680
|
# @param [Hash] opts the optional parameters
|
|
709
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
710
681
|
# @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
|
|
711
682
|
def remove_role_with_http_info(file_file_alternate_content_source_href, nested_role, opts = {})
|
|
712
683
|
if @api_client.config.debugging
|
|
@@ -732,7 +703,6 @@ module PulpFileClient
|
|
|
732
703
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
733
704
|
# HTTP header 'Content-Type'
|
|
734
705
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
|
735
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
736
706
|
|
|
737
707
|
# form parameters
|
|
738
708
|
form_params = opts[:form_params] || {}
|
|
@@ -767,7 +737,6 @@ module PulpFileClient
|
|
|
767
737
|
# @param file_file_alternate_content_source_href [String]
|
|
768
738
|
# @param file_file_alternate_content_source [FileFileAlternateContentSource]
|
|
769
739
|
# @param [Hash] opts the optional parameters
|
|
770
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
771
740
|
# @return [AsyncOperationResponse]
|
|
772
741
|
def update(file_file_alternate_content_source_href, file_file_alternate_content_source, opts = {})
|
|
773
742
|
data, _status_code, _headers = update_with_http_info(file_file_alternate_content_source_href, file_file_alternate_content_source, opts)
|
|
@@ -779,7 +748,6 @@ module PulpFileClient
|
|
|
779
748
|
# @param file_file_alternate_content_source_href [String]
|
|
780
749
|
# @param file_file_alternate_content_source [FileFileAlternateContentSource]
|
|
781
750
|
# @param [Hash] opts the optional parameters
|
|
782
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
783
751
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
|
784
752
|
def update_with_http_info(file_file_alternate_content_source_href, file_file_alternate_content_source, opts = {})
|
|
785
753
|
if @api_client.config.debugging
|
|
@@ -805,7 +773,6 @@ module PulpFileClient
|
|
|
805
773
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
806
774
|
# HTTP header 'Content-Type'
|
|
807
775
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
|
808
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
809
776
|
|
|
810
777
|
# form parameters
|
|
811
778
|
form_params = opts[:form_params] || {}
|
|
@@ -23,7 +23,6 @@ module PulpFileClient
|
|
|
23
23
|
# Trigger an asynchronous task to create content,optionally create new repository version.
|
|
24
24
|
# @param relative_path [String] Path where the artifact is located relative to distributions base_path
|
|
25
25
|
# @param [Hash] opts the optional parameters
|
|
26
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
27
26
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
|
28
27
|
# @option opts [String] :artifact Artifact file representing the physical content
|
|
29
28
|
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
|
@@ -38,7 +37,6 @@ module PulpFileClient
|
|
|
38
37
|
# Trigger an asynchronous task to create content,optionally create new repository version.
|
|
39
38
|
# @param relative_path [String] Path where the artifact is located relative to distributions base_path
|
|
40
39
|
# @param [Hash] opts the optional parameters
|
|
41
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
42
40
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
|
43
41
|
# @option opts [String] :artifact Artifact file representing the physical content
|
|
44
42
|
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
|
@@ -68,7 +66,6 @@ module PulpFileClient
|
|
|
68
66
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
69
67
|
# HTTP header 'Content-Type'
|
|
70
68
|
header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data', 'application/x-www-form-urlencoded'])
|
|
71
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
72
69
|
|
|
73
70
|
# form parameters
|
|
74
71
|
form_params = opts[:form_params] || {}
|
|
@@ -106,7 +103,6 @@ module PulpFileClient
|
|
|
106
103
|
# List file contents
|
|
107
104
|
# FileContent represents a single file and its metadata, which can be added and removed from repositories.
|
|
108
105
|
# @param [Hash] opts the optional parameters
|
|
109
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
110
106
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
111
107
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
112
108
|
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `digest` - Digest * `-digest` - Digest (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
@@ -130,7 +126,6 @@ module PulpFileClient
|
|
|
130
126
|
# List file contents
|
|
131
127
|
# FileContent represents a single file and its metadata, which can be added and removed from repositories.
|
|
132
128
|
# @param [Hash] opts the optional parameters
|
|
133
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
134
129
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
135
130
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
136
131
|
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `digest` - Digest * `-digest` - Digest (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
@@ -178,7 +173,6 @@ module PulpFileClient
|
|
|
178
173
|
header_params = opts[:header_params] || {}
|
|
179
174
|
# HTTP header 'Accept' (if needed)
|
|
180
175
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
181
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
182
176
|
|
|
183
177
|
# form parameters
|
|
184
178
|
form_params = opts[:form_params] || {}
|
|
@@ -212,7 +206,6 @@ module PulpFileClient
|
|
|
212
206
|
# FileContent represents a single file and its metadata, which can be added and removed from repositories.
|
|
213
207
|
# @param file_file_content_href [String]
|
|
214
208
|
# @param [Hash] opts the optional parameters
|
|
215
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
216
209
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
217
210
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
218
211
|
# @return [FileFileContentResponse]
|
|
@@ -225,7 +218,6 @@ module PulpFileClient
|
|
|
225
218
|
# FileContent represents a single file and its metadata, which can be added and removed from repositories.
|
|
226
219
|
# @param file_file_content_href [String]
|
|
227
220
|
# @param [Hash] opts the optional parameters
|
|
228
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
229
221
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
230
222
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
231
223
|
# @return [Array<(FileFileContentResponse, Integer, Hash)>] FileFileContentResponse data, response status code and response headers
|
|
@@ -249,7 +241,6 @@ module PulpFileClient
|
|
|
249
241
|
header_params = opts[:header_params] || {}
|
|
250
242
|
# HTTP header 'Accept' (if needed)
|
|
251
243
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
252
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
253
244
|
|
|
254
245
|
# form parameters
|
|
255
246
|
form_params = opts[:form_params] || {}
|
|
@@ -24,7 +24,6 @@ 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.
|
|
28
27
|
# @return [NestedRoleResponse]
|
|
29
28
|
def add_role(file_file_distribution_href, nested_role, opts = {})
|
|
30
29
|
data, _status_code, _headers = add_role_with_http_info(file_file_distribution_href, nested_role, opts)
|
|
@@ -36,7 +35,6 @@ module PulpFileClient
|
|
|
36
35
|
# @param file_file_distribution_href [String]
|
|
37
36
|
# @param nested_role [NestedRole]
|
|
38
37
|
# @param [Hash] opts the optional parameters
|
|
39
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
40
38
|
# @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
|
|
41
39
|
def add_role_with_http_info(file_file_distribution_href, nested_role, opts = {})
|
|
42
40
|
if @api_client.config.debugging
|
|
@@ -62,7 +60,6 @@ module PulpFileClient
|
|
|
62
60
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
63
61
|
# HTTP header 'Content-Type'
|
|
64
62
|
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?
|
|
66
63
|
|
|
67
64
|
# form parameters
|
|
68
65
|
form_params = opts[:form_params] || {}
|
|
@@ -96,7 +93,6 @@ module PulpFileClient
|
|
|
96
93
|
# Trigger an asynchronous create task
|
|
97
94
|
# @param file_file_distribution [FileFileDistribution]
|
|
98
95
|
# @param [Hash] opts the optional parameters
|
|
99
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
100
96
|
# @return [AsyncOperationResponse]
|
|
101
97
|
def create(file_file_distribution, opts = {})
|
|
102
98
|
data, _status_code, _headers = create_with_http_info(file_file_distribution, opts)
|
|
@@ -107,7 +103,6 @@ module PulpFileClient
|
|
|
107
103
|
# Trigger an asynchronous create task
|
|
108
104
|
# @param file_file_distribution [FileFileDistribution]
|
|
109
105
|
# @param [Hash] opts the optional parameters
|
|
110
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
111
106
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
|
112
107
|
def create_with_http_info(file_file_distribution, opts = {})
|
|
113
108
|
if @api_client.config.debugging
|
|
@@ -129,7 +124,6 @@ module PulpFileClient
|
|
|
129
124
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
130
125
|
# HTTP header 'Content-Type'
|
|
131
126
|
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?
|
|
133
127
|
|
|
134
128
|
# form parameters
|
|
135
129
|
form_params = opts[:form_params] || {}
|
|
@@ -163,7 +157,6 @@ module PulpFileClient
|
|
|
163
157
|
# Trigger an asynchronous delete task
|
|
164
158
|
# @param file_file_distribution_href [String]
|
|
165
159
|
# @param [Hash] opts the optional parameters
|
|
166
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
167
160
|
# @return [AsyncOperationResponse]
|
|
168
161
|
def delete(file_file_distribution_href, opts = {})
|
|
169
162
|
data, _status_code, _headers = delete_with_http_info(file_file_distribution_href, opts)
|
|
@@ -174,7 +167,6 @@ module PulpFileClient
|
|
|
174
167
|
# Trigger an asynchronous delete task
|
|
175
168
|
# @param file_file_distribution_href [String]
|
|
176
169
|
# @param [Hash] opts the optional parameters
|
|
177
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
178
170
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
|
179
171
|
def delete_with_http_info(file_file_distribution_href, opts = {})
|
|
180
172
|
if @api_client.config.debugging
|
|
@@ -194,7 +186,6 @@ module PulpFileClient
|
|
|
194
186
|
header_params = opts[:header_params] || {}
|
|
195
187
|
# HTTP header 'Accept' (if needed)
|
|
196
188
|
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?
|
|
198
189
|
|
|
199
190
|
# form parameters
|
|
200
191
|
form_params = opts[:form_params] || {}
|
|
@@ -227,7 +218,6 @@ module PulpFileClient
|
|
|
227
218
|
# List file distributions
|
|
228
219
|
# 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.
|
|
229
220
|
# @param [Hash] opts the optional parameters
|
|
230
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
231
221
|
# @option opts [String] :base_path Filter results where base_path matches value
|
|
232
222
|
# @option opts [String] :base_path__contains Filter results where base_path contains value
|
|
233
223
|
# @option opts [String] :base_path__icontains Filter results where base_path contains value
|
|
@@ -262,7 +252,6 @@ module PulpFileClient
|
|
|
262
252
|
# List file distributions
|
|
263
253
|
# 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.
|
|
264
254
|
# @param [Hash] opts the optional parameters
|
|
265
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
266
255
|
# @option opts [String] :base_path Filter results where base_path matches value
|
|
267
256
|
# @option opts [String] :base_path__contains Filter results where base_path contains value
|
|
268
257
|
# @option opts [String] :base_path__icontains Filter results where base_path contains value
|
|
@@ -332,7 +321,6 @@ module PulpFileClient
|
|
|
332
321
|
header_params = opts[:header_params] || {}
|
|
333
322
|
# HTTP header 'Accept' (if needed)
|
|
334
323
|
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?
|
|
336
324
|
|
|
337
325
|
# form parameters
|
|
338
326
|
form_params = opts[:form_params] || {}
|
|
@@ -366,7 +354,6 @@ module PulpFileClient
|
|
|
366
354
|
# List roles assigned to this object.
|
|
367
355
|
# @param file_file_distribution_href [String]
|
|
368
356
|
# @param [Hash] opts the optional parameters
|
|
369
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
370
357
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
371
358
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
372
359
|
# @return [ObjectRolesResponse]
|
|
@@ -379,7 +366,6 @@ module PulpFileClient
|
|
|
379
366
|
# List roles assigned to this object.
|
|
380
367
|
# @param file_file_distribution_href [String]
|
|
381
368
|
# @param [Hash] opts the optional parameters
|
|
382
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
383
369
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
384
370
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
385
371
|
# @return [Array<(ObjectRolesResponse, Integer, Hash)>] ObjectRolesResponse data, response status code and response headers
|
|
@@ -403,7 +389,6 @@ module PulpFileClient
|
|
|
403
389
|
header_params = opts[:header_params] || {}
|
|
404
390
|
# HTTP header 'Accept' (if needed)
|
|
405
391
|
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?
|
|
407
392
|
|
|
408
393
|
# form parameters
|
|
409
394
|
form_params = opts[:form_params] || {}
|
|
@@ -437,7 +422,6 @@ module PulpFileClient
|
|
|
437
422
|
# List permissions available to the current user on this object.
|
|
438
423
|
# @param file_file_distribution_href [String]
|
|
439
424
|
# @param [Hash] opts the optional parameters
|
|
440
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
441
425
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
442
426
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
443
427
|
# @return [MyPermissionsResponse]
|
|
@@ -450,7 +434,6 @@ module PulpFileClient
|
|
|
450
434
|
# List permissions available to the current user on this object.
|
|
451
435
|
# @param file_file_distribution_href [String]
|
|
452
436
|
# @param [Hash] opts the optional parameters
|
|
453
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
454
437
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
455
438
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
456
439
|
# @return [Array<(MyPermissionsResponse, Integer, Hash)>] MyPermissionsResponse data, response status code and response headers
|
|
@@ -474,7 +457,6 @@ module PulpFileClient
|
|
|
474
457
|
header_params = opts[:header_params] || {}
|
|
475
458
|
# HTTP header 'Accept' (if needed)
|
|
476
459
|
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?
|
|
478
460
|
|
|
479
461
|
# form parameters
|
|
480
462
|
form_params = opts[:form_params] || {}
|
|
@@ -509,7 +491,6 @@ module PulpFileClient
|
|
|
509
491
|
# @param file_file_distribution_href [String]
|
|
510
492
|
# @param patchedfile_file_distribution [PatchedfileFileDistribution]
|
|
511
493
|
# @param [Hash] opts the optional parameters
|
|
512
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
513
494
|
# @return [AsyncOperationResponse]
|
|
514
495
|
def partial_update(file_file_distribution_href, patchedfile_file_distribution, opts = {})
|
|
515
496
|
data, _status_code, _headers = partial_update_with_http_info(file_file_distribution_href, patchedfile_file_distribution, opts)
|
|
@@ -521,7 +502,6 @@ module PulpFileClient
|
|
|
521
502
|
# @param file_file_distribution_href [String]
|
|
522
503
|
# @param patchedfile_file_distribution [PatchedfileFileDistribution]
|
|
523
504
|
# @param [Hash] opts the optional parameters
|
|
524
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
525
505
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
|
526
506
|
def partial_update_with_http_info(file_file_distribution_href, patchedfile_file_distribution, opts = {})
|
|
527
507
|
if @api_client.config.debugging
|
|
@@ -547,7 +527,6 @@ module PulpFileClient
|
|
|
547
527
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
548
528
|
# HTTP header 'Content-Type'
|
|
549
529
|
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?
|
|
551
530
|
|
|
552
531
|
# form parameters
|
|
553
532
|
form_params = opts[:form_params] || {}
|
|
@@ -581,7 +560,6 @@ module PulpFileClient
|
|
|
581
560
|
# 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.
|
|
582
561
|
# @param file_file_distribution_href [String]
|
|
583
562
|
# @param [Hash] opts the optional parameters
|
|
584
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
585
563
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
586
564
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
587
565
|
# @return [FileFileDistributionResponse]
|
|
@@ -594,7 +572,6 @@ module PulpFileClient
|
|
|
594
572
|
# 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.
|
|
595
573
|
# @param file_file_distribution_href [String]
|
|
596
574
|
# @param [Hash] opts the optional parameters
|
|
597
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
598
575
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
599
576
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
600
577
|
# @return [Array<(FileFileDistributionResponse, Integer, Hash)>] FileFileDistributionResponse data, response status code and response headers
|
|
@@ -618,7 +595,6 @@ module PulpFileClient
|
|
|
618
595
|
header_params = opts[:header_params] || {}
|
|
619
596
|
# HTTP header 'Accept' (if needed)
|
|
620
597
|
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?
|
|
622
598
|
|
|
623
599
|
# form parameters
|
|
624
600
|
form_params = opts[:form_params] || {}
|
|
@@ -653,7 +629,6 @@ module PulpFileClient
|
|
|
653
629
|
# @param file_file_distribution_href [String]
|
|
654
630
|
# @param nested_role [NestedRole]
|
|
655
631
|
# @param [Hash] opts the optional parameters
|
|
656
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
657
632
|
# @return [NestedRoleResponse]
|
|
658
633
|
def remove_role(file_file_distribution_href, nested_role, opts = {})
|
|
659
634
|
data, _status_code, _headers = remove_role_with_http_info(file_file_distribution_href, nested_role, opts)
|
|
@@ -665,7 +640,6 @@ module PulpFileClient
|
|
|
665
640
|
# @param file_file_distribution_href [String]
|
|
666
641
|
# @param nested_role [NestedRole]
|
|
667
642
|
# @param [Hash] opts the optional parameters
|
|
668
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
669
643
|
# @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
|
|
670
644
|
def remove_role_with_http_info(file_file_distribution_href, nested_role, opts = {})
|
|
671
645
|
if @api_client.config.debugging
|
|
@@ -691,7 +665,6 @@ module PulpFileClient
|
|
|
691
665
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
692
666
|
# HTTP header 'Content-Type'
|
|
693
667
|
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?
|
|
695
668
|
|
|
696
669
|
# form parameters
|
|
697
670
|
form_params = opts[:form_params] || {}
|
|
@@ -726,7 +699,6 @@ module PulpFileClient
|
|
|
726
699
|
# @param file_file_distribution_href [String]
|
|
727
700
|
# @param set_label [SetLabel]
|
|
728
701
|
# @param [Hash] opts the optional parameters
|
|
729
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
730
702
|
# @return [SetLabelResponse]
|
|
731
703
|
def set_label(file_file_distribution_href, set_label, opts = {})
|
|
732
704
|
data, _status_code, _headers = set_label_with_http_info(file_file_distribution_href, set_label, opts)
|
|
@@ -738,7 +710,6 @@ module PulpFileClient
|
|
|
738
710
|
# @param file_file_distribution_href [String]
|
|
739
711
|
# @param set_label [SetLabel]
|
|
740
712
|
# @param [Hash] opts the optional parameters
|
|
741
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
742
713
|
# @return [Array<(SetLabelResponse, Integer, Hash)>] SetLabelResponse data, response status code and response headers
|
|
743
714
|
def set_label_with_http_info(file_file_distribution_href, set_label, opts = {})
|
|
744
715
|
if @api_client.config.debugging
|
|
@@ -764,7 +735,6 @@ module PulpFileClient
|
|
|
764
735
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
765
736
|
# HTTP header 'Content-Type'
|
|
766
737
|
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?
|
|
768
738
|
|
|
769
739
|
# form parameters
|
|
770
740
|
form_params = opts[:form_params] || {}
|
|
@@ -799,7 +769,6 @@ module PulpFileClient
|
|
|
799
769
|
# @param file_file_distribution_href [String]
|
|
800
770
|
# @param unset_label [UnsetLabel]
|
|
801
771
|
# @param [Hash] opts the optional parameters
|
|
802
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
803
772
|
# @return [UnsetLabelResponse]
|
|
804
773
|
def unset_label(file_file_distribution_href, unset_label, opts = {})
|
|
805
774
|
data, _status_code, _headers = unset_label_with_http_info(file_file_distribution_href, unset_label, opts)
|
|
@@ -811,7 +780,6 @@ module PulpFileClient
|
|
|
811
780
|
# @param file_file_distribution_href [String]
|
|
812
781
|
# @param unset_label [UnsetLabel]
|
|
813
782
|
# @param [Hash] opts the optional parameters
|
|
814
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
815
783
|
# @return [Array<(UnsetLabelResponse, Integer, Hash)>] UnsetLabelResponse data, response status code and response headers
|
|
816
784
|
def unset_label_with_http_info(file_file_distribution_href, unset_label, opts = {})
|
|
817
785
|
if @api_client.config.debugging
|
|
@@ -837,7 +805,6 @@ module PulpFileClient
|
|
|
837
805
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
838
806
|
# HTTP header 'Content-Type'
|
|
839
807
|
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?
|
|
841
808
|
|
|
842
809
|
# form parameters
|
|
843
810
|
form_params = opts[:form_params] || {}
|
|
@@ -872,7 +839,6 @@ module PulpFileClient
|
|
|
872
839
|
# @param file_file_distribution_href [String]
|
|
873
840
|
# @param file_file_distribution [FileFileDistribution]
|
|
874
841
|
# @param [Hash] opts the optional parameters
|
|
875
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
876
842
|
# @return [AsyncOperationResponse]
|
|
877
843
|
def update(file_file_distribution_href, file_file_distribution, opts = {})
|
|
878
844
|
data, _status_code, _headers = update_with_http_info(file_file_distribution_href, file_file_distribution, opts)
|
|
@@ -884,7 +850,6 @@ module PulpFileClient
|
|
|
884
850
|
# @param file_file_distribution_href [String]
|
|
885
851
|
# @param file_file_distribution [FileFileDistribution]
|
|
886
852
|
# @param [Hash] opts the optional parameters
|
|
887
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
888
853
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
|
889
854
|
def update_with_http_info(file_file_distribution_href, file_file_distribution, opts = {})
|
|
890
855
|
if @api_client.config.debugging
|
|
@@ -910,7 +875,6 @@ module PulpFileClient
|
|
|
910
875
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
911
876
|
# HTTP header 'Content-Type'
|
|
912
877
|
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?
|
|
914
878
|
|
|
915
879
|
# form parameters
|
|
916
880
|
form_params = opts[:form_params] || {}
|