pulp_file_client 3.49.57 → 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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# PulpFileClient::DistributionsFileApi
|
|
2
2
|
|
|
3
|
-
All URIs are relative to *http://
|
|
3
|
+
All URIs are relative to *http://pulp*
|
|
4
4
|
|
|
5
5
|
Method | HTTP request | Description
|
|
6
6
|
------------- | ------------- | -------------
|
|
@@ -21,7 +21,7 @@ Method | HTTP request | Description
|
|
|
21
21
|
|
|
22
22
|
## add_role
|
|
23
23
|
|
|
24
|
-
> NestedRoleResponse add_role(file_file_distribution_href, nested_role
|
|
24
|
+
> NestedRoleResponse add_role(file_file_distribution_href, nested_role)
|
|
25
25
|
|
|
26
26
|
Add a role
|
|
27
27
|
|
|
@@ -42,13 +42,10 @@ end
|
|
|
42
42
|
api_instance = PulpFileClient::DistributionsFileApi.new
|
|
43
43
|
file_file_distribution_href = 'file_file_distribution_href_example' # String |
|
|
44
44
|
nested_role = PulpFileClient::NestedRole.new # NestedRole |
|
|
45
|
-
opts = {
|
|
46
|
-
x_task_diagnostics: ['x_task_diagnostics_example'] # Array<String> | List of profilers to use on tasks.
|
|
47
|
-
}
|
|
48
45
|
|
|
49
46
|
begin
|
|
50
47
|
#Add a role
|
|
51
|
-
result = api_instance.add_role(file_file_distribution_href, nested_role
|
|
48
|
+
result = api_instance.add_role(file_file_distribution_href, nested_role)
|
|
52
49
|
p result
|
|
53
50
|
rescue PulpFileClient::ApiError => e
|
|
54
51
|
puts "Exception when calling DistributionsFileApi->add_role: #{e}"
|
|
@@ -62,7 +59,6 @@ Name | Type | Description | Notes
|
|
|
62
59
|
------------- | ------------- | ------------- | -------------
|
|
63
60
|
**file_file_distribution_href** | **String**| |
|
|
64
61
|
**nested_role** | [**NestedRole**](NestedRole.md)| |
|
|
65
|
-
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
66
62
|
|
|
67
63
|
### Return type
|
|
68
64
|
|
|
@@ -80,7 +76,7 @@ Name | Type | Description | Notes
|
|
|
80
76
|
|
|
81
77
|
## create
|
|
82
78
|
|
|
83
|
-
> AsyncOperationResponse create(file_file_distribution
|
|
79
|
+
> AsyncOperationResponse create(file_file_distribution)
|
|
84
80
|
|
|
85
81
|
Create a file distribution
|
|
86
82
|
|
|
@@ -100,13 +96,10 @@ end
|
|
|
100
96
|
|
|
101
97
|
api_instance = PulpFileClient::DistributionsFileApi.new
|
|
102
98
|
file_file_distribution = PulpFileClient::FileFileDistribution.new # FileFileDistribution |
|
|
103
|
-
opts = {
|
|
104
|
-
x_task_diagnostics: ['x_task_diagnostics_example'] # Array<String> | List of profilers to use on tasks.
|
|
105
|
-
}
|
|
106
99
|
|
|
107
100
|
begin
|
|
108
101
|
#Create a file distribution
|
|
109
|
-
result = api_instance.create(file_file_distribution
|
|
102
|
+
result = api_instance.create(file_file_distribution)
|
|
110
103
|
p result
|
|
111
104
|
rescue PulpFileClient::ApiError => e
|
|
112
105
|
puts "Exception when calling DistributionsFileApi->create: #{e}"
|
|
@@ -119,7 +112,6 @@ end
|
|
|
119
112
|
Name | Type | Description | Notes
|
|
120
113
|
------------- | ------------- | ------------- | -------------
|
|
121
114
|
**file_file_distribution** | [**FileFileDistribution**](FileFileDistribution.md)| |
|
|
122
|
-
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
123
115
|
|
|
124
116
|
### Return type
|
|
125
117
|
|
|
@@ -137,7 +129,7 @@ Name | Type | Description | Notes
|
|
|
137
129
|
|
|
138
130
|
## delete
|
|
139
131
|
|
|
140
|
-
> AsyncOperationResponse delete(file_file_distribution_href
|
|
132
|
+
> AsyncOperationResponse delete(file_file_distribution_href)
|
|
141
133
|
|
|
142
134
|
Delete a file distribution
|
|
143
135
|
|
|
@@ -157,13 +149,10 @@ end
|
|
|
157
149
|
|
|
158
150
|
api_instance = PulpFileClient::DistributionsFileApi.new
|
|
159
151
|
file_file_distribution_href = 'file_file_distribution_href_example' # String |
|
|
160
|
-
opts = {
|
|
161
|
-
x_task_diagnostics: ['x_task_diagnostics_example'] # Array<String> | List of profilers to use on tasks.
|
|
162
|
-
}
|
|
163
152
|
|
|
164
153
|
begin
|
|
165
154
|
#Delete a file distribution
|
|
166
|
-
result = api_instance.delete(file_file_distribution_href
|
|
155
|
+
result = api_instance.delete(file_file_distribution_href)
|
|
167
156
|
p result
|
|
168
157
|
rescue PulpFileClient::ApiError => e
|
|
169
158
|
puts "Exception when calling DistributionsFileApi->delete: #{e}"
|
|
@@ -176,7 +165,6 @@ end
|
|
|
176
165
|
Name | Type | Description | Notes
|
|
177
166
|
------------- | ------------- | ------------- | -------------
|
|
178
167
|
**file_file_distribution_href** | **String**| |
|
|
179
|
-
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
180
168
|
|
|
181
169
|
### Return type
|
|
182
170
|
|
|
@@ -214,7 +202,6 @@ end
|
|
|
214
202
|
|
|
215
203
|
api_instance = PulpFileClient::DistributionsFileApi.new
|
|
216
204
|
opts = {
|
|
217
|
-
x_task_diagnostics: ['x_task_diagnostics_example'], # Array<String> | List of profilers to use on tasks.
|
|
218
205
|
base_path: 'base_path_example', # String | Filter results where base_path matches value
|
|
219
206
|
base_path__contains: 'base_path__contains_example', # String | Filter results where base_path contains value
|
|
220
207
|
base_path__icontains: 'base_path__icontains_example', # String | Filter results where base_path contains value
|
|
@@ -256,7 +243,6 @@ end
|
|
|
256
243
|
|
|
257
244
|
Name | Type | Description | Notes
|
|
258
245
|
------------- | ------------- | ------------- | -------------
|
|
259
|
-
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
260
246
|
**base_path** | **String**| Filter results where base_path matches value | [optional]
|
|
261
247
|
**base_path__contains** | **String**| Filter results where base_path contains value | [optional]
|
|
262
248
|
**base_path__icontains** | **String**| Filter results where base_path contains value | [optional]
|
|
@@ -320,7 +306,6 @@ end
|
|
|
320
306
|
api_instance = PulpFileClient::DistributionsFileApi.new
|
|
321
307
|
file_file_distribution_href = 'file_file_distribution_href_example' # String |
|
|
322
308
|
opts = {
|
|
323
|
-
x_task_diagnostics: ['x_task_diagnostics_example'], # Array<String> | List of profilers to use on tasks.
|
|
324
309
|
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
|
325
310
|
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
|
326
311
|
}
|
|
@@ -340,7 +325,6 @@ end
|
|
|
340
325
|
Name | Type | Description | Notes
|
|
341
326
|
------------- | ------------- | ------------- | -------------
|
|
342
327
|
**file_file_distribution_href** | **String**| |
|
|
343
|
-
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
344
328
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
|
345
329
|
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
|
346
330
|
|
|
@@ -381,7 +365,6 @@ end
|
|
|
381
365
|
api_instance = PulpFileClient::DistributionsFileApi.new
|
|
382
366
|
file_file_distribution_href = 'file_file_distribution_href_example' # String |
|
|
383
367
|
opts = {
|
|
384
|
-
x_task_diagnostics: ['x_task_diagnostics_example'], # Array<String> | List of profilers to use on tasks.
|
|
385
368
|
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
|
386
369
|
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
|
387
370
|
}
|
|
@@ -401,7 +384,6 @@ end
|
|
|
401
384
|
Name | Type | Description | Notes
|
|
402
385
|
------------- | ------------- | ------------- | -------------
|
|
403
386
|
**file_file_distribution_href** | **String**| |
|
|
404
|
-
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
405
387
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
|
406
388
|
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
|
407
389
|
|
|
@@ -421,7 +403,7 @@ Name | Type | Description | Notes
|
|
|
421
403
|
|
|
422
404
|
## partial_update
|
|
423
405
|
|
|
424
|
-
> AsyncOperationResponse partial_update(file_file_distribution_href, patchedfile_file_distribution
|
|
406
|
+
> AsyncOperationResponse partial_update(file_file_distribution_href, patchedfile_file_distribution)
|
|
425
407
|
|
|
426
408
|
Update a file distribution
|
|
427
409
|
|
|
@@ -442,13 +424,10 @@ end
|
|
|
442
424
|
api_instance = PulpFileClient::DistributionsFileApi.new
|
|
443
425
|
file_file_distribution_href = 'file_file_distribution_href_example' # String |
|
|
444
426
|
patchedfile_file_distribution = PulpFileClient::PatchedfileFileDistribution.new # PatchedfileFileDistribution |
|
|
445
|
-
opts = {
|
|
446
|
-
x_task_diagnostics: ['x_task_diagnostics_example'] # Array<String> | List of profilers to use on tasks.
|
|
447
|
-
}
|
|
448
427
|
|
|
449
428
|
begin
|
|
450
429
|
#Update a file distribution
|
|
451
|
-
result = api_instance.partial_update(file_file_distribution_href, patchedfile_file_distribution
|
|
430
|
+
result = api_instance.partial_update(file_file_distribution_href, patchedfile_file_distribution)
|
|
452
431
|
p result
|
|
453
432
|
rescue PulpFileClient::ApiError => e
|
|
454
433
|
puts "Exception when calling DistributionsFileApi->partial_update: #{e}"
|
|
@@ -462,7 +441,6 @@ Name | Type | Description | Notes
|
|
|
462
441
|
------------- | ------------- | ------------- | -------------
|
|
463
442
|
**file_file_distribution_href** | **String**| |
|
|
464
443
|
**patchedfile_file_distribution** | [**PatchedfileFileDistribution**](PatchedfileFileDistribution.md)| |
|
|
465
|
-
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
466
444
|
|
|
467
445
|
### Return type
|
|
468
446
|
|
|
@@ -501,7 +479,6 @@ end
|
|
|
501
479
|
api_instance = PulpFileClient::DistributionsFileApi.new
|
|
502
480
|
file_file_distribution_href = 'file_file_distribution_href_example' # String |
|
|
503
481
|
opts = {
|
|
504
|
-
x_task_diagnostics: ['x_task_diagnostics_example'], # Array<String> | List of profilers to use on tasks.
|
|
505
482
|
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
|
506
483
|
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
|
507
484
|
}
|
|
@@ -521,7 +498,6 @@ end
|
|
|
521
498
|
Name | Type | Description | Notes
|
|
522
499
|
------------- | ------------- | ------------- | -------------
|
|
523
500
|
**file_file_distribution_href** | **String**| |
|
|
524
|
-
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
525
501
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
|
526
502
|
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
|
527
503
|
|
|
@@ -541,7 +517,7 @@ Name | Type | Description | Notes
|
|
|
541
517
|
|
|
542
518
|
## remove_role
|
|
543
519
|
|
|
544
|
-
> NestedRoleResponse remove_role(file_file_distribution_href, nested_role
|
|
520
|
+
> NestedRoleResponse remove_role(file_file_distribution_href, nested_role)
|
|
545
521
|
|
|
546
522
|
Remove a role
|
|
547
523
|
|
|
@@ -562,13 +538,10 @@ end
|
|
|
562
538
|
api_instance = PulpFileClient::DistributionsFileApi.new
|
|
563
539
|
file_file_distribution_href = 'file_file_distribution_href_example' # String |
|
|
564
540
|
nested_role = PulpFileClient::NestedRole.new # NestedRole |
|
|
565
|
-
opts = {
|
|
566
|
-
x_task_diagnostics: ['x_task_diagnostics_example'] # Array<String> | List of profilers to use on tasks.
|
|
567
|
-
}
|
|
568
541
|
|
|
569
542
|
begin
|
|
570
543
|
#Remove a role
|
|
571
|
-
result = api_instance.remove_role(file_file_distribution_href, nested_role
|
|
544
|
+
result = api_instance.remove_role(file_file_distribution_href, nested_role)
|
|
572
545
|
p result
|
|
573
546
|
rescue PulpFileClient::ApiError => e
|
|
574
547
|
puts "Exception when calling DistributionsFileApi->remove_role: #{e}"
|
|
@@ -582,7 +555,6 @@ Name | Type | Description | Notes
|
|
|
582
555
|
------------- | ------------- | ------------- | -------------
|
|
583
556
|
**file_file_distribution_href** | **String**| |
|
|
584
557
|
**nested_role** | [**NestedRole**](NestedRole.md)| |
|
|
585
|
-
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
586
558
|
|
|
587
559
|
### Return type
|
|
588
560
|
|
|
@@ -600,7 +572,7 @@ Name | Type | Description | Notes
|
|
|
600
572
|
|
|
601
573
|
## set_label
|
|
602
574
|
|
|
603
|
-
> SetLabelResponse set_label(file_file_distribution_href, set_label
|
|
575
|
+
> SetLabelResponse set_label(file_file_distribution_href, set_label)
|
|
604
576
|
|
|
605
577
|
Set a label
|
|
606
578
|
|
|
@@ -621,13 +593,10 @@ end
|
|
|
621
593
|
api_instance = PulpFileClient::DistributionsFileApi.new
|
|
622
594
|
file_file_distribution_href = 'file_file_distribution_href_example' # String |
|
|
623
595
|
set_label = PulpFileClient::SetLabel.new # SetLabel |
|
|
624
|
-
opts = {
|
|
625
|
-
x_task_diagnostics: ['x_task_diagnostics_example'] # Array<String> | List of profilers to use on tasks.
|
|
626
|
-
}
|
|
627
596
|
|
|
628
597
|
begin
|
|
629
598
|
#Set a label
|
|
630
|
-
result = api_instance.set_label(file_file_distribution_href, set_label
|
|
599
|
+
result = api_instance.set_label(file_file_distribution_href, set_label)
|
|
631
600
|
p result
|
|
632
601
|
rescue PulpFileClient::ApiError => e
|
|
633
602
|
puts "Exception when calling DistributionsFileApi->set_label: #{e}"
|
|
@@ -641,7 +610,6 @@ Name | Type | Description | Notes
|
|
|
641
610
|
------------- | ------------- | ------------- | -------------
|
|
642
611
|
**file_file_distribution_href** | **String**| |
|
|
643
612
|
**set_label** | [**SetLabel**](SetLabel.md)| |
|
|
644
|
-
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
645
613
|
|
|
646
614
|
### Return type
|
|
647
615
|
|
|
@@ -659,7 +627,7 @@ Name | Type | Description | Notes
|
|
|
659
627
|
|
|
660
628
|
## unset_label
|
|
661
629
|
|
|
662
|
-
> UnsetLabelResponse unset_label(file_file_distribution_href, unset_label
|
|
630
|
+
> UnsetLabelResponse unset_label(file_file_distribution_href, unset_label)
|
|
663
631
|
|
|
664
632
|
Unset a label
|
|
665
633
|
|
|
@@ -680,13 +648,10 @@ end
|
|
|
680
648
|
api_instance = PulpFileClient::DistributionsFileApi.new
|
|
681
649
|
file_file_distribution_href = 'file_file_distribution_href_example' # String |
|
|
682
650
|
unset_label = PulpFileClient::UnsetLabel.new # UnsetLabel |
|
|
683
|
-
opts = {
|
|
684
|
-
x_task_diagnostics: ['x_task_diagnostics_example'] # Array<String> | List of profilers to use on tasks.
|
|
685
|
-
}
|
|
686
651
|
|
|
687
652
|
begin
|
|
688
653
|
#Unset a label
|
|
689
|
-
result = api_instance.unset_label(file_file_distribution_href, unset_label
|
|
654
|
+
result = api_instance.unset_label(file_file_distribution_href, unset_label)
|
|
690
655
|
p result
|
|
691
656
|
rescue PulpFileClient::ApiError => e
|
|
692
657
|
puts "Exception when calling DistributionsFileApi->unset_label: #{e}"
|
|
@@ -700,7 +665,6 @@ Name | Type | Description | Notes
|
|
|
700
665
|
------------- | ------------- | ------------- | -------------
|
|
701
666
|
**file_file_distribution_href** | **String**| |
|
|
702
667
|
**unset_label** | [**UnsetLabel**](UnsetLabel.md)| |
|
|
703
|
-
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
704
668
|
|
|
705
669
|
### Return type
|
|
706
670
|
|
|
@@ -718,7 +682,7 @@ Name | Type | Description | Notes
|
|
|
718
682
|
|
|
719
683
|
## update
|
|
720
684
|
|
|
721
|
-
> AsyncOperationResponse update(file_file_distribution_href, file_file_distribution
|
|
685
|
+
> AsyncOperationResponse update(file_file_distribution_href, file_file_distribution)
|
|
722
686
|
|
|
723
687
|
Update a file distribution
|
|
724
688
|
|
|
@@ -739,13 +703,10 @@ end
|
|
|
739
703
|
api_instance = PulpFileClient::DistributionsFileApi.new
|
|
740
704
|
file_file_distribution_href = 'file_file_distribution_href_example' # String |
|
|
741
705
|
file_file_distribution = PulpFileClient::FileFileDistribution.new # FileFileDistribution |
|
|
742
|
-
opts = {
|
|
743
|
-
x_task_diagnostics: ['x_task_diagnostics_example'] # Array<String> | List of profilers to use on tasks.
|
|
744
|
-
}
|
|
745
706
|
|
|
746
707
|
begin
|
|
747
708
|
#Update a file distribution
|
|
748
|
-
result = api_instance.update(file_file_distribution_href, file_file_distribution
|
|
709
|
+
result = api_instance.update(file_file_distribution_href, file_file_distribution)
|
|
749
710
|
p result
|
|
750
711
|
rescue PulpFileClient::ApiError => e
|
|
751
712
|
puts "Exception when calling DistributionsFileApi->update: #{e}"
|
|
@@ -759,7 +720,6 @@ Name | Type | Description | Notes
|
|
|
759
720
|
------------- | ------------- | ------------- | -------------
|
|
760
721
|
**file_file_distribution_href** | **String**| |
|
|
761
722
|
**file_file_distribution** | [**FileFileDistribution**](FileFileDistribution.md)| |
|
|
762
|
-
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
763
723
|
|
|
764
724
|
### Return type
|
|
765
725
|
|
data/docs/PublicationsFileApi.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# PulpFileClient::PublicationsFileApi
|
|
2
2
|
|
|
3
|
-
All URIs are relative to *http://
|
|
3
|
+
All URIs are relative to *http://pulp*
|
|
4
4
|
|
|
5
5
|
Method | HTTP request | Description
|
|
6
6
|
------------- | ------------- | -------------
|
|
@@ -17,7 +17,7 @@ Method | HTTP request | Description
|
|
|
17
17
|
|
|
18
18
|
## add_role
|
|
19
19
|
|
|
20
|
-
> NestedRoleResponse add_role(file_file_publication_href, nested_role
|
|
20
|
+
> NestedRoleResponse add_role(file_file_publication_href, nested_role)
|
|
21
21
|
|
|
22
22
|
Add a role
|
|
23
23
|
|
|
@@ -38,13 +38,10 @@ end
|
|
|
38
38
|
api_instance = PulpFileClient::PublicationsFileApi.new
|
|
39
39
|
file_file_publication_href = 'file_file_publication_href_example' # String |
|
|
40
40
|
nested_role = PulpFileClient::NestedRole.new # NestedRole |
|
|
41
|
-
opts = {
|
|
42
|
-
x_task_diagnostics: ['x_task_diagnostics_example'] # Array<String> | List of profilers to use on tasks.
|
|
43
|
-
}
|
|
44
41
|
|
|
45
42
|
begin
|
|
46
43
|
#Add a role
|
|
47
|
-
result = api_instance.add_role(file_file_publication_href, nested_role
|
|
44
|
+
result = api_instance.add_role(file_file_publication_href, nested_role)
|
|
48
45
|
p result
|
|
49
46
|
rescue PulpFileClient::ApiError => e
|
|
50
47
|
puts "Exception when calling PublicationsFileApi->add_role: #{e}"
|
|
@@ -58,7 +55,6 @@ Name | Type | Description | Notes
|
|
|
58
55
|
------------- | ------------- | ------------- | -------------
|
|
59
56
|
**file_file_publication_href** | **String**| |
|
|
60
57
|
**nested_role** | [**NestedRole**](NestedRole.md)| |
|
|
61
|
-
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
62
58
|
|
|
63
59
|
### Return type
|
|
64
60
|
|
|
@@ -76,7 +72,7 @@ Name | Type | Description | Notes
|
|
|
76
72
|
|
|
77
73
|
## create
|
|
78
74
|
|
|
79
|
-
> AsyncOperationResponse create(file_file_publication
|
|
75
|
+
> AsyncOperationResponse create(file_file_publication)
|
|
80
76
|
|
|
81
77
|
Create a file publication
|
|
82
78
|
|
|
@@ -96,13 +92,10 @@ end
|
|
|
96
92
|
|
|
97
93
|
api_instance = PulpFileClient::PublicationsFileApi.new
|
|
98
94
|
file_file_publication = PulpFileClient::FileFilePublication.new # FileFilePublication |
|
|
99
|
-
opts = {
|
|
100
|
-
x_task_diagnostics: ['x_task_diagnostics_example'] # Array<String> | List of profilers to use on tasks.
|
|
101
|
-
}
|
|
102
95
|
|
|
103
96
|
begin
|
|
104
97
|
#Create a file publication
|
|
105
|
-
result = api_instance.create(file_file_publication
|
|
98
|
+
result = api_instance.create(file_file_publication)
|
|
106
99
|
p result
|
|
107
100
|
rescue PulpFileClient::ApiError => e
|
|
108
101
|
puts "Exception when calling PublicationsFileApi->create: #{e}"
|
|
@@ -115,7 +108,6 @@ end
|
|
|
115
108
|
Name | Type | Description | Notes
|
|
116
109
|
------------- | ------------- | ------------- | -------------
|
|
117
110
|
**file_file_publication** | [**FileFilePublication**](FileFilePublication.md)| |
|
|
118
|
-
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
119
111
|
|
|
120
112
|
### Return type
|
|
121
113
|
|
|
@@ -133,7 +125,7 @@ Name | Type | Description | Notes
|
|
|
133
125
|
|
|
134
126
|
## delete
|
|
135
127
|
|
|
136
|
-
> delete(file_file_publication_href
|
|
128
|
+
> delete(file_file_publication_href)
|
|
137
129
|
|
|
138
130
|
Delete a file publication
|
|
139
131
|
|
|
@@ -153,13 +145,10 @@ end
|
|
|
153
145
|
|
|
154
146
|
api_instance = PulpFileClient::PublicationsFileApi.new
|
|
155
147
|
file_file_publication_href = 'file_file_publication_href_example' # String |
|
|
156
|
-
opts = {
|
|
157
|
-
x_task_diagnostics: ['x_task_diagnostics_example'] # Array<String> | List of profilers to use on tasks.
|
|
158
|
-
}
|
|
159
148
|
|
|
160
149
|
begin
|
|
161
150
|
#Delete a file publication
|
|
162
|
-
api_instance.delete(file_file_publication_href
|
|
151
|
+
api_instance.delete(file_file_publication_href)
|
|
163
152
|
rescue PulpFileClient::ApiError => e
|
|
164
153
|
puts "Exception when calling PublicationsFileApi->delete: #{e}"
|
|
165
154
|
end
|
|
@@ -171,7 +160,6 @@ end
|
|
|
171
160
|
Name | Type | Description | Notes
|
|
172
161
|
------------- | ------------- | ------------- | -------------
|
|
173
162
|
**file_file_publication_href** | **String**| |
|
|
174
|
-
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
175
163
|
|
|
176
164
|
### Return type
|
|
177
165
|
|
|
@@ -209,7 +197,6 @@ end
|
|
|
209
197
|
|
|
210
198
|
api_instance = PulpFileClient::PublicationsFileApi.new
|
|
211
199
|
opts = {
|
|
212
|
-
x_task_diagnostics: ['x_task_diagnostics_example'], # Array<String> | List of profilers to use on tasks.
|
|
213
200
|
content: 'content_example', # String | Content Unit referenced by HREF
|
|
214
201
|
content__in: 'content__in_example', # String | Content Unit referenced by HREF
|
|
215
202
|
limit: 56, # Integer | Number of results to return per page.
|
|
@@ -244,7 +231,6 @@ end
|
|
|
244
231
|
|
|
245
232
|
Name | Type | Description | Notes
|
|
246
233
|
------------- | ------------- | ------------- | -------------
|
|
247
|
-
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
248
234
|
**content** | **String**| Content Unit referenced by HREF | [optional]
|
|
249
235
|
**content__in** | **String**| Content Unit referenced by HREF | [optional]
|
|
250
236
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
|
@@ -301,7 +287,6 @@ end
|
|
|
301
287
|
api_instance = PulpFileClient::PublicationsFileApi.new
|
|
302
288
|
file_file_publication_href = 'file_file_publication_href_example' # String |
|
|
303
289
|
opts = {
|
|
304
|
-
x_task_diagnostics: ['x_task_diagnostics_example'], # Array<String> | List of profilers to use on tasks.
|
|
305
290
|
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
|
306
291
|
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
|
307
292
|
}
|
|
@@ -321,7 +306,6 @@ end
|
|
|
321
306
|
Name | Type | Description | Notes
|
|
322
307
|
------------- | ------------- | ------------- | -------------
|
|
323
308
|
**file_file_publication_href** | **String**| |
|
|
324
|
-
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
325
309
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
|
326
310
|
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
|
327
311
|
|
|
@@ -362,7 +346,6 @@ end
|
|
|
362
346
|
api_instance = PulpFileClient::PublicationsFileApi.new
|
|
363
347
|
file_file_publication_href = 'file_file_publication_href_example' # String |
|
|
364
348
|
opts = {
|
|
365
|
-
x_task_diagnostics: ['x_task_diagnostics_example'], # Array<String> | List of profilers to use on tasks.
|
|
366
349
|
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
|
367
350
|
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
|
368
351
|
}
|
|
@@ -382,7 +365,6 @@ end
|
|
|
382
365
|
Name | Type | Description | Notes
|
|
383
366
|
------------- | ------------- | ------------- | -------------
|
|
384
367
|
**file_file_publication_href** | **String**| |
|
|
385
|
-
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
386
368
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
|
387
369
|
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
|
388
370
|
|
|
@@ -423,7 +405,6 @@ end
|
|
|
423
405
|
api_instance = PulpFileClient::PublicationsFileApi.new
|
|
424
406
|
file_file_publication_href = 'file_file_publication_href_example' # String |
|
|
425
407
|
opts = {
|
|
426
|
-
x_task_diagnostics: ['x_task_diagnostics_example'], # Array<String> | List of profilers to use on tasks.
|
|
427
408
|
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
|
428
409
|
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
|
429
410
|
}
|
|
@@ -443,7 +424,6 @@ end
|
|
|
443
424
|
Name | Type | Description | Notes
|
|
444
425
|
------------- | ------------- | ------------- | -------------
|
|
445
426
|
**file_file_publication_href** | **String**| |
|
|
446
|
-
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
447
427
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
|
448
428
|
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
|
449
429
|
|
|
@@ -463,7 +443,7 @@ Name | Type | Description | Notes
|
|
|
463
443
|
|
|
464
444
|
## remove_role
|
|
465
445
|
|
|
466
|
-
> NestedRoleResponse remove_role(file_file_publication_href, nested_role
|
|
446
|
+
> NestedRoleResponse remove_role(file_file_publication_href, nested_role)
|
|
467
447
|
|
|
468
448
|
Remove a role
|
|
469
449
|
|
|
@@ -484,13 +464,10 @@ end
|
|
|
484
464
|
api_instance = PulpFileClient::PublicationsFileApi.new
|
|
485
465
|
file_file_publication_href = 'file_file_publication_href_example' # String |
|
|
486
466
|
nested_role = PulpFileClient::NestedRole.new # NestedRole |
|
|
487
|
-
opts = {
|
|
488
|
-
x_task_diagnostics: ['x_task_diagnostics_example'] # Array<String> | List of profilers to use on tasks.
|
|
489
|
-
}
|
|
490
467
|
|
|
491
468
|
begin
|
|
492
469
|
#Remove a role
|
|
493
|
-
result = api_instance.remove_role(file_file_publication_href, nested_role
|
|
470
|
+
result = api_instance.remove_role(file_file_publication_href, nested_role)
|
|
494
471
|
p result
|
|
495
472
|
rescue PulpFileClient::ApiError => e
|
|
496
473
|
puts "Exception when calling PublicationsFileApi->remove_role: #{e}"
|
|
@@ -504,7 +481,6 @@ Name | Type | Description | Notes
|
|
|
504
481
|
------------- | ------------- | ------------- | -------------
|
|
505
482
|
**file_file_publication_href** | **String**| |
|
|
506
483
|
**nested_role** | [**NestedRole**](NestedRole.md)| |
|
|
507
|
-
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
508
484
|
|
|
509
485
|
### Return type
|
|
510
486
|
|