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