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
data/docs/RemotesFileApi.md
CHANGED
|
@@ -21,7 +21,7 @@ Method | HTTP request | Description
|
|
|
21
21
|
|
|
22
22
|
## add_role
|
|
23
23
|
|
|
24
|
-
> NestedRoleResponse add_role(file_file_remote_href, nested_role)
|
|
24
|
+
> NestedRoleResponse add_role(file_file_remote_href, nested_role, opts)
|
|
25
25
|
|
|
26
26
|
Add a role
|
|
27
27
|
|
|
@@ -42,10 +42,13 @@ end
|
|
|
42
42
|
api_instance = PulpFileClient::RemotesFileApi.new
|
|
43
43
|
file_file_remote_href = 'file_file_remote_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_remote_href, nested_role)
|
|
51
|
+
result = api_instance.add_role(file_file_remote_href, nested_role, opts)
|
|
49
52
|
p result
|
|
50
53
|
rescue PulpFileClient::ApiError => e
|
|
51
54
|
puts "Exception when calling RemotesFileApi->add_role: #{e}"
|
|
@@ -59,6 +62,7 @@ Name | Type | Description | Notes
|
|
|
59
62
|
------------- | ------------- | ------------- | -------------
|
|
60
63
|
**file_file_remote_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
|
-
> FileFileRemoteResponse create(file_file_remote)
|
|
83
|
+
> FileFileRemoteResponse create(file_file_remote, opts)
|
|
80
84
|
|
|
81
85
|
Create a file remote
|
|
82
86
|
|
|
@@ -96,10 +100,13 @@ end
|
|
|
96
100
|
|
|
97
101
|
api_instance = PulpFileClient::RemotesFileApi.new
|
|
98
102
|
file_file_remote = PulpFileClient::FileFileRemote.new # FileFileRemote |
|
|
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 remote
|
|
102
|
-
result = api_instance.create(file_file_remote)
|
|
109
|
+
result = api_instance.create(file_file_remote, opts)
|
|
103
110
|
p result
|
|
104
111
|
rescue PulpFileClient::ApiError => e
|
|
105
112
|
puts "Exception when calling RemotesFileApi->create: #{e}"
|
|
@@ -112,6 +119,7 @@ end
|
|
|
112
119
|
Name | Type | Description | Notes
|
|
113
120
|
------------- | ------------- | ------------- | -------------
|
|
114
121
|
**file_file_remote** | [**FileFileRemote**](FileFileRemote.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_remote_href)
|
|
140
|
+
> AsyncOperationResponse delete(file_file_remote_href, opts)
|
|
133
141
|
|
|
134
142
|
Delete a file remote
|
|
135
143
|
|
|
@@ -149,10 +157,13 @@ end
|
|
|
149
157
|
|
|
150
158
|
api_instance = PulpFileClient::RemotesFileApi.new
|
|
151
159
|
file_file_remote_href = 'file_file_remote_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 remote
|
|
155
|
-
result = api_instance.delete(file_file_remote_href)
|
|
166
|
+
result = api_instance.delete(file_file_remote_href, opts)
|
|
156
167
|
p result
|
|
157
168
|
rescue PulpFileClient::ApiError => e
|
|
158
169
|
puts "Exception when calling RemotesFileApi->delete: #{e}"
|
|
@@ -165,6 +176,7 @@ end
|
|
|
165
176
|
Name | Type | Description | Notes
|
|
166
177
|
------------- | ------------- | ------------- | -------------
|
|
167
178
|
**file_file_remote_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::RemotesFileApi.new
|
|
204
216
|
opts = {
|
|
217
|
+
x_task_diagnostics: ['x_task_diagnostics_example'], # Array<String> | List of profilers to use on tasks.
|
|
205
218
|
limit: 56, # Integer | Number of results to return per page.
|
|
206
219
|
name: 'name_example', # String | Filter results where name matches value
|
|
207
220
|
name__contains: 'name__contains_example', # String | Filter results where name contains value
|
|
@@ -242,6 +255,7 @@ end
|
|
|
242
255
|
|
|
243
256
|
Name | Type | Description | Notes
|
|
244
257
|
------------- | ------------- | ------------- | -------------
|
|
258
|
+
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
245
259
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
|
246
260
|
**name** | **String**| Filter results where name matches value | [optional]
|
|
247
261
|
**name__contains** | **String**| Filter results where name contains value | [optional]
|
|
@@ -304,6 +318,7 @@ end
|
|
|
304
318
|
api_instance = PulpFileClient::RemotesFileApi.new
|
|
305
319
|
file_file_remote_href = 'file_file_remote_href_example' # String |
|
|
306
320
|
opts = {
|
|
321
|
+
x_task_diagnostics: ['x_task_diagnostics_example'], # Array<String> | List of profilers to use on tasks.
|
|
307
322
|
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
|
308
323
|
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
|
309
324
|
}
|
|
@@ -323,6 +338,7 @@ end
|
|
|
323
338
|
Name | Type | Description | Notes
|
|
324
339
|
------------- | ------------- | ------------- | -------------
|
|
325
340
|
**file_file_remote_href** | **String**| |
|
|
341
|
+
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
326
342
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
|
327
343
|
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
|
328
344
|
|
|
@@ -363,6 +379,7 @@ end
|
|
|
363
379
|
api_instance = PulpFileClient::RemotesFileApi.new
|
|
364
380
|
file_file_remote_href = 'file_file_remote_href_example' # String |
|
|
365
381
|
opts = {
|
|
382
|
+
x_task_diagnostics: ['x_task_diagnostics_example'], # Array<String> | List of profilers to use on tasks.
|
|
366
383
|
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
|
367
384
|
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
|
368
385
|
}
|
|
@@ -382,6 +399,7 @@ end
|
|
|
382
399
|
Name | Type | Description | Notes
|
|
383
400
|
------------- | ------------- | ------------- | -------------
|
|
384
401
|
**file_file_remote_href** | **String**| |
|
|
402
|
+
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
385
403
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
|
386
404
|
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
|
387
405
|
|
|
@@ -401,7 +419,7 @@ Name | Type | Description | Notes
|
|
|
401
419
|
|
|
402
420
|
## partial_update
|
|
403
421
|
|
|
404
|
-
> AsyncOperationResponse partial_update(file_file_remote_href, patchedfile_file_remote)
|
|
422
|
+
> AsyncOperationResponse partial_update(file_file_remote_href, patchedfile_file_remote, opts)
|
|
405
423
|
|
|
406
424
|
Update a file remote
|
|
407
425
|
|
|
@@ -422,10 +440,13 @@ end
|
|
|
422
440
|
api_instance = PulpFileClient::RemotesFileApi.new
|
|
423
441
|
file_file_remote_href = 'file_file_remote_href_example' # String |
|
|
424
442
|
patchedfile_file_remote = PulpFileClient::PatchedfileFileRemote.new # PatchedfileFileRemote |
|
|
443
|
+
opts = {
|
|
444
|
+
x_task_diagnostics: ['x_task_diagnostics_example'] # Array<String> | List of profilers to use on tasks.
|
|
445
|
+
}
|
|
425
446
|
|
|
426
447
|
begin
|
|
427
448
|
#Update a file remote
|
|
428
|
-
result = api_instance.partial_update(file_file_remote_href, patchedfile_file_remote)
|
|
449
|
+
result = api_instance.partial_update(file_file_remote_href, patchedfile_file_remote, opts)
|
|
429
450
|
p result
|
|
430
451
|
rescue PulpFileClient::ApiError => e
|
|
431
452
|
puts "Exception when calling RemotesFileApi->partial_update: #{e}"
|
|
@@ -439,6 +460,7 @@ Name | Type | Description | Notes
|
|
|
439
460
|
------------- | ------------- | ------------- | -------------
|
|
440
461
|
**file_file_remote_href** | **String**| |
|
|
441
462
|
**patchedfile_file_remote** | [**PatchedfileFileRemote**](PatchedfileFileRemote.md)| |
|
|
463
|
+
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
442
464
|
|
|
443
465
|
### Return type
|
|
444
466
|
|
|
@@ -477,6 +499,7 @@ end
|
|
|
477
499
|
api_instance = PulpFileClient::RemotesFileApi.new
|
|
478
500
|
file_file_remote_href = 'file_file_remote_href_example' # String |
|
|
479
501
|
opts = {
|
|
502
|
+
x_task_diagnostics: ['x_task_diagnostics_example'], # Array<String> | List of profilers to use on tasks.
|
|
480
503
|
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
|
481
504
|
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
|
482
505
|
}
|
|
@@ -496,6 +519,7 @@ end
|
|
|
496
519
|
Name | Type | Description | Notes
|
|
497
520
|
------------- | ------------- | ------------- | -------------
|
|
498
521
|
**file_file_remote_href** | **String**| |
|
|
522
|
+
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
499
523
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
|
500
524
|
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
|
501
525
|
|
|
@@ -515,7 +539,7 @@ Name | Type | Description | Notes
|
|
|
515
539
|
|
|
516
540
|
## remove_role
|
|
517
541
|
|
|
518
|
-
> NestedRoleResponse remove_role(file_file_remote_href, nested_role)
|
|
542
|
+
> NestedRoleResponse remove_role(file_file_remote_href, nested_role, opts)
|
|
519
543
|
|
|
520
544
|
Remove a role
|
|
521
545
|
|
|
@@ -536,10 +560,13 @@ end
|
|
|
536
560
|
api_instance = PulpFileClient::RemotesFileApi.new
|
|
537
561
|
file_file_remote_href = 'file_file_remote_href_example' # String |
|
|
538
562
|
nested_role = PulpFileClient::NestedRole.new # NestedRole |
|
|
563
|
+
opts = {
|
|
564
|
+
x_task_diagnostics: ['x_task_diagnostics_example'] # Array<String> | List of profilers to use on tasks.
|
|
565
|
+
}
|
|
539
566
|
|
|
540
567
|
begin
|
|
541
568
|
#Remove a role
|
|
542
|
-
result = api_instance.remove_role(file_file_remote_href, nested_role)
|
|
569
|
+
result = api_instance.remove_role(file_file_remote_href, nested_role, opts)
|
|
543
570
|
p result
|
|
544
571
|
rescue PulpFileClient::ApiError => e
|
|
545
572
|
puts "Exception when calling RemotesFileApi->remove_role: #{e}"
|
|
@@ -553,6 +580,7 @@ Name | Type | Description | Notes
|
|
|
553
580
|
------------- | ------------- | ------------- | -------------
|
|
554
581
|
**file_file_remote_href** | **String**| |
|
|
555
582
|
**nested_role** | [**NestedRole**](NestedRole.md)| |
|
|
583
|
+
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
556
584
|
|
|
557
585
|
### Return type
|
|
558
586
|
|
|
@@ -570,7 +598,7 @@ Name | Type | Description | Notes
|
|
|
570
598
|
|
|
571
599
|
## set_label
|
|
572
600
|
|
|
573
|
-
> SetLabelResponse set_label(file_file_remote_href, set_label)
|
|
601
|
+
> SetLabelResponse set_label(file_file_remote_href, set_label, opts)
|
|
574
602
|
|
|
575
603
|
Set a label
|
|
576
604
|
|
|
@@ -591,10 +619,13 @@ end
|
|
|
591
619
|
api_instance = PulpFileClient::RemotesFileApi.new
|
|
592
620
|
file_file_remote_href = 'file_file_remote_href_example' # String |
|
|
593
621
|
set_label = PulpFileClient::SetLabel.new # SetLabel |
|
|
622
|
+
opts = {
|
|
623
|
+
x_task_diagnostics: ['x_task_diagnostics_example'] # Array<String> | List of profilers to use on tasks.
|
|
624
|
+
}
|
|
594
625
|
|
|
595
626
|
begin
|
|
596
627
|
#Set a label
|
|
597
|
-
result = api_instance.set_label(file_file_remote_href, set_label)
|
|
628
|
+
result = api_instance.set_label(file_file_remote_href, set_label, opts)
|
|
598
629
|
p result
|
|
599
630
|
rescue PulpFileClient::ApiError => e
|
|
600
631
|
puts "Exception when calling RemotesFileApi->set_label: #{e}"
|
|
@@ -608,6 +639,7 @@ Name | Type | Description | Notes
|
|
|
608
639
|
------------- | ------------- | ------------- | -------------
|
|
609
640
|
**file_file_remote_href** | **String**| |
|
|
610
641
|
**set_label** | [**SetLabel**](SetLabel.md)| |
|
|
642
|
+
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
611
643
|
|
|
612
644
|
### Return type
|
|
613
645
|
|
|
@@ -625,7 +657,7 @@ Name | Type | Description | Notes
|
|
|
625
657
|
|
|
626
658
|
## unset_label
|
|
627
659
|
|
|
628
|
-
> UnsetLabelResponse unset_label(file_file_remote_href, unset_label)
|
|
660
|
+
> UnsetLabelResponse unset_label(file_file_remote_href, unset_label, opts)
|
|
629
661
|
|
|
630
662
|
Unset a label
|
|
631
663
|
|
|
@@ -646,10 +678,13 @@ end
|
|
|
646
678
|
api_instance = PulpFileClient::RemotesFileApi.new
|
|
647
679
|
file_file_remote_href = 'file_file_remote_href_example' # String |
|
|
648
680
|
unset_label = PulpFileClient::UnsetLabel.new # UnsetLabel |
|
|
681
|
+
opts = {
|
|
682
|
+
x_task_diagnostics: ['x_task_diagnostics_example'] # Array<String> | List of profilers to use on tasks.
|
|
683
|
+
}
|
|
649
684
|
|
|
650
685
|
begin
|
|
651
686
|
#Unset a label
|
|
652
|
-
result = api_instance.unset_label(file_file_remote_href, unset_label)
|
|
687
|
+
result = api_instance.unset_label(file_file_remote_href, unset_label, opts)
|
|
653
688
|
p result
|
|
654
689
|
rescue PulpFileClient::ApiError => e
|
|
655
690
|
puts "Exception when calling RemotesFileApi->unset_label: #{e}"
|
|
@@ -663,6 +698,7 @@ Name | Type | Description | Notes
|
|
|
663
698
|
------------- | ------------- | ------------- | -------------
|
|
664
699
|
**file_file_remote_href** | **String**| |
|
|
665
700
|
**unset_label** | [**UnsetLabel**](UnsetLabel.md)| |
|
|
701
|
+
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
666
702
|
|
|
667
703
|
### Return type
|
|
668
704
|
|
|
@@ -680,7 +716,7 @@ Name | Type | Description | Notes
|
|
|
680
716
|
|
|
681
717
|
## update
|
|
682
718
|
|
|
683
|
-
> AsyncOperationResponse update(file_file_remote_href, file_file_remote)
|
|
719
|
+
> AsyncOperationResponse update(file_file_remote_href, file_file_remote, opts)
|
|
684
720
|
|
|
685
721
|
Update a file remote
|
|
686
722
|
|
|
@@ -701,10 +737,13 @@ end
|
|
|
701
737
|
api_instance = PulpFileClient::RemotesFileApi.new
|
|
702
738
|
file_file_remote_href = 'file_file_remote_href_example' # String |
|
|
703
739
|
file_file_remote = PulpFileClient::FileFileRemote.new # FileFileRemote |
|
|
740
|
+
opts = {
|
|
741
|
+
x_task_diagnostics: ['x_task_diagnostics_example'] # Array<String> | List of profilers to use on tasks.
|
|
742
|
+
}
|
|
704
743
|
|
|
705
744
|
begin
|
|
706
745
|
#Update a file remote
|
|
707
|
-
result = api_instance.update(file_file_remote_href, file_file_remote)
|
|
746
|
+
result = api_instance.update(file_file_remote_href, file_file_remote, opts)
|
|
708
747
|
p result
|
|
709
748
|
rescue PulpFileClient::ApiError => e
|
|
710
749
|
puts "Exception when calling RemotesFileApi->update: #{e}"
|
|
@@ -718,6 +757,7 @@ Name | Type | Description | Notes
|
|
|
718
757
|
------------- | ------------- | ------------- | -------------
|
|
719
758
|
**file_file_remote_href** | **String**| |
|
|
720
759
|
**file_file_remote** | [**FileFileRemote**](FileFileRemote.md)| |
|
|
760
|
+
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
721
761
|
|
|
722
762
|
### Return type
|
|
723
763
|
|
data/docs/RepositoriesFileApi.md
CHANGED
|
@@ -23,7 +23,7 @@ Method | HTTP request | Description
|
|
|
23
23
|
|
|
24
24
|
## add_role
|
|
25
25
|
|
|
26
|
-
> NestedRoleResponse add_role(file_file_repository_href, nested_role)
|
|
26
|
+
> NestedRoleResponse add_role(file_file_repository_href, nested_role, opts)
|
|
27
27
|
|
|
28
28
|
Add a role
|
|
29
29
|
|
|
@@ -44,10 +44,13 @@ end
|
|
|
44
44
|
api_instance = PulpFileClient::RepositoriesFileApi.new
|
|
45
45
|
file_file_repository_href = 'file_file_repository_href_example' # String |
|
|
46
46
|
nested_role = PulpFileClient::NestedRole.new # NestedRole |
|
|
47
|
+
opts = {
|
|
48
|
+
x_task_diagnostics: ['x_task_diagnostics_example'] # Array<String> | List of profilers to use on tasks.
|
|
49
|
+
}
|
|
47
50
|
|
|
48
51
|
begin
|
|
49
52
|
#Add a role
|
|
50
|
-
result = api_instance.add_role(file_file_repository_href, nested_role)
|
|
53
|
+
result = api_instance.add_role(file_file_repository_href, nested_role, opts)
|
|
51
54
|
p result
|
|
52
55
|
rescue PulpFileClient::ApiError => e
|
|
53
56
|
puts "Exception when calling RepositoriesFileApi->add_role: #{e}"
|
|
@@ -61,6 +64,7 @@ Name | Type | Description | Notes
|
|
|
61
64
|
------------- | ------------- | ------------- | -------------
|
|
62
65
|
**file_file_repository_href** | **String**| |
|
|
63
66
|
**nested_role** | [**NestedRole**](NestedRole.md)| |
|
|
67
|
+
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
64
68
|
|
|
65
69
|
### Return type
|
|
66
70
|
|
|
@@ -78,7 +82,7 @@ Name | Type | Description | Notes
|
|
|
78
82
|
|
|
79
83
|
## create
|
|
80
84
|
|
|
81
|
-
> FileFileRepositoryResponse create(file_file_repository)
|
|
85
|
+
> FileFileRepositoryResponse create(file_file_repository, opts)
|
|
82
86
|
|
|
83
87
|
Create a file repository
|
|
84
88
|
|
|
@@ -98,10 +102,13 @@ end
|
|
|
98
102
|
|
|
99
103
|
api_instance = PulpFileClient::RepositoriesFileApi.new
|
|
100
104
|
file_file_repository = PulpFileClient::FileFileRepository.new # FileFileRepository |
|
|
105
|
+
opts = {
|
|
106
|
+
x_task_diagnostics: ['x_task_diagnostics_example'] # Array<String> | List of profilers to use on tasks.
|
|
107
|
+
}
|
|
101
108
|
|
|
102
109
|
begin
|
|
103
110
|
#Create a file repository
|
|
104
|
-
result = api_instance.create(file_file_repository)
|
|
111
|
+
result = api_instance.create(file_file_repository, opts)
|
|
105
112
|
p result
|
|
106
113
|
rescue PulpFileClient::ApiError => e
|
|
107
114
|
puts "Exception when calling RepositoriesFileApi->create: #{e}"
|
|
@@ -114,6 +121,7 @@ end
|
|
|
114
121
|
Name | Type | Description | Notes
|
|
115
122
|
------------- | ------------- | ------------- | -------------
|
|
116
123
|
**file_file_repository** | [**FileFileRepository**](FileFileRepository.md)| |
|
|
124
|
+
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
117
125
|
|
|
118
126
|
### Return type
|
|
119
127
|
|
|
@@ -131,7 +139,7 @@ Name | Type | Description | Notes
|
|
|
131
139
|
|
|
132
140
|
## delete
|
|
133
141
|
|
|
134
|
-
> AsyncOperationResponse delete(file_file_repository_href)
|
|
142
|
+
> AsyncOperationResponse delete(file_file_repository_href, opts)
|
|
135
143
|
|
|
136
144
|
Delete a file repository
|
|
137
145
|
|
|
@@ -151,10 +159,13 @@ end
|
|
|
151
159
|
|
|
152
160
|
api_instance = PulpFileClient::RepositoriesFileApi.new
|
|
153
161
|
file_file_repository_href = 'file_file_repository_href_example' # String |
|
|
162
|
+
opts = {
|
|
163
|
+
x_task_diagnostics: ['x_task_diagnostics_example'] # Array<String> | List of profilers to use on tasks.
|
|
164
|
+
}
|
|
154
165
|
|
|
155
166
|
begin
|
|
156
167
|
#Delete a file repository
|
|
157
|
-
result = api_instance.delete(file_file_repository_href)
|
|
168
|
+
result = api_instance.delete(file_file_repository_href, opts)
|
|
158
169
|
p result
|
|
159
170
|
rescue PulpFileClient::ApiError => e
|
|
160
171
|
puts "Exception when calling RepositoriesFileApi->delete: #{e}"
|
|
@@ -167,6 +178,7 @@ end
|
|
|
167
178
|
Name | Type | Description | Notes
|
|
168
179
|
------------- | ------------- | ------------- | -------------
|
|
169
180
|
**file_file_repository_href** | **String**| |
|
|
181
|
+
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
170
182
|
|
|
171
183
|
### Return type
|
|
172
184
|
|
|
@@ -204,6 +216,7 @@ end
|
|
|
204
216
|
|
|
205
217
|
api_instance = PulpFileClient::RepositoriesFileApi.new
|
|
206
218
|
opts = {
|
|
219
|
+
x_task_diagnostics: ['x_task_diagnostics_example'], # Array<String> | List of profilers to use on tasks.
|
|
207
220
|
latest_with_content: 'latest_with_content_example', # String | Content Unit referenced by HREF
|
|
208
221
|
limit: 56, # Integer | Number of results to return per page.
|
|
209
222
|
name: 'name_example', # String | Filter results where name matches value
|
|
@@ -249,6 +262,7 @@ end
|
|
|
249
262
|
|
|
250
263
|
Name | Type | Description | Notes
|
|
251
264
|
------------- | ------------- | ------------- | -------------
|
|
265
|
+
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
252
266
|
**latest_with_content** | **String**| Content Unit referenced by HREF | [optional]
|
|
253
267
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
|
254
268
|
**name** | **String**| Filter results where name matches value | [optional]
|
|
@@ -316,6 +330,7 @@ end
|
|
|
316
330
|
api_instance = PulpFileClient::RepositoriesFileApi.new
|
|
317
331
|
file_file_repository_href = 'file_file_repository_href_example' # String |
|
|
318
332
|
opts = {
|
|
333
|
+
x_task_diagnostics: ['x_task_diagnostics_example'], # Array<String> | List of profilers to use on tasks.
|
|
319
334
|
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
|
320
335
|
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
|
321
336
|
}
|
|
@@ -335,6 +350,7 @@ end
|
|
|
335
350
|
Name | Type | Description | Notes
|
|
336
351
|
------------- | ------------- | ------------- | -------------
|
|
337
352
|
**file_file_repository_href** | **String**| |
|
|
353
|
+
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
338
354
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
|
339
355
|
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
|
340
356
|
|
|
@@ -354,7 +370,7 @@ Name | Type | Description | Notes
|
|
|
354
370
|
|
|
355
371
|
## modify
|
|
356
372
|
|
|
357
|
-
> AsyncOperationResponse modify(file_file_repository_href, repository_add_remove_content)
|
|
373
|
+
> AsyncOperationResponse modify(file_file_repository_href, repository_add_remove_content, opts)
|
|
358
374
|
|
|
359
375
|
Modify Repository Content
|
|
360
376
|
|
|
@@ -375,10 +391,13 @@ end
|
|
|
375
391
|
api_instance = PulpFileClient::RepositoriesFileApi.new
|
|
376
392
|
file_file_repository_href = 'file_file_repository_href_example' # String |
|
|
377
393
|
repository_add_remove_content = PulpFileClient::RepositoryAddRemoveContent.new # RepositoryAddRemoveContent |
|
|
394
|
+
opts = {
|
|
395
|
+
x_task_diagnostics: ['x_task_diagnostics_example'] # Array<String> | List of profilers to use on tasks.
|
|
396
|
+
}
|
|
378
397
|
|
|
379
398
|
begin
|
|
380
399
|
#Modify Repository Content
|
|
381
|
-
result = api_instance.modify(file_file_repository_href, repository_add_remove_content)
|
|
400
|
+
result = api_instance.modify(file_file_repository_href, repository_add_remove_content, opts)
|
|
382
401
|
p result
|
|
383
402
|
rescue PulpFileClient::ApiError => e
|
|
384
403
|
puts "Exception when calling RepositoriesFileApi->modify: #{e}"
|
|
@@ -392,6 +411,7 @@ Name | Type | Description | Notes
|
|
|
392
411
|
------------- | ------------- | ------------- | -------------
|
|
393
412
|
**file_file_repository_href** | **String**| |
|
|
394
413
|
**repository_add_remove_content** | [**RepositoryAddRemoveContent**](RepositoryAddRemoveContent.md)| |
|
|
414
|
+
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
395
415
|
|
|
396
416
|
### Return type
|
|
397
417
|
|
|
@@ -430,6 +450,7 @@ end
|
|
|
430
450
|
api_instance = PulpFileClient::RepositoriesFileApi.new
|
|
431
451
|
file_file_repository_href = 'file_file_repository_href_example' # String |
|
|
432
452
|
opts = {
|
|
453
|
+
x_task_diagnostics: ['x_task_diagnostics_example'], # Array<String> | List of profilers to use on tasks.
|
|
433
454
|
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
|
434
455
|
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
|
435
456
|
}
|
|
@@ -449,6 +470,7 @@ end
|
|
|
449
470
|
Name | Type | Description | Notes
|
|
450
471
|
------------- | ------------- | ------------- | -------------
|
|
451
472
|
**file_file_repository_href** | **String**| |
|
|
473
|
+
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
452
474
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
|
453
475
|
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
|
454
476
|
|
|
@@ -468,7 +490,7 @@ Name | Type | Description | Notes
|
|
|
468
490
|
|
|
469
491
|
## partial_update
|
|
470
492
|
|
|
471
|
-
> AsyncOperationResponse partial_update(file_file_repository_href, patchedfile_file_repository)
|
|
493
|
+
> AsyncOperationResponse partial_update(file_file_repository_href, patchedfile_file_repository, opts)
|
|
472
494
|
|
|
473
495
|
Update a file repository
|
|
474
496
|
|
|
@@ -489,10 +511,13 @@ end
|
|
|
489
511
|
api_instance = PulpFileClient::RepositoriesFileApi.new
|
|
490
512
|
file_file_repository_href = 'file_file_repository_href_example' # String |
|
|
491
513
|
patchedfile_file_repository = PulpFileClient::PatchedfileFileRepository.new # PatchedfileFileRepository |
|
|
514
|
+
opts = {
|
|
515
|
+
x_task_diagnostics: ['x_task_diagnostics_example'] # Array<String> | List of profilers to use on tasks.
|
|
516
|
+
}
|
|
492
517
|
|
|
493
518
|
begin
|
|
494
519
|
#Update a file repository
|
|
495
|
-
result = api_instance.partial_update(file_file_repository_href, patchedfile_file_repository)
|
|
520
|
+
result = api_instance.partial_update(file_file_repository_href, patchedfile_file_repository, opts)
|
|
496
521
|
p result
|
|
497
522
|
rescue PulpFileClient::ApiError => e
|
|
498
523
|
puts "Exception when calling RepositoriesFileApi->partial_update: #{e}"
|
|
@@ -506,6 +531,7 @@ Name | Type | Description | Notes
|
|
|
506
531
|
------------- | ------------- | ------------- | -------------
|
|
507
532
|
**file_file_repository_href** | **String**| |
|
|
508
533
|
**patchedfile_file_repository** | [**PatchedfileFileRepository**](PatchedfileFileRepository.md)| |
|
|
534
|
+
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
509
535
|
|
|
510
536
|
### Return type
|
|
511
537
|
|
|
@@ -544,6 +570,7 @@ end
|
|
|
544
570
|
api_instance = PulpFileClient::RepositoriesFileApi.new
|
|
545
571
|
file_file_repository_href = 'file_file_repository_href_example' # String |
|
|
546
572
|
opts = {
|
|
573
|
+
x_task_diagnostics: ['x_task_diagnostics_example'], # Array<String> | List of profilers to use on tasks.
|
|
547
574
|
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
|
548
575
|
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
|
549
576
|
}
|
|
@@ -563,6 +590,7 @@ end
|
|
|
563
590
|
Name | Type | Description | Notes
|
|
564
591
|
------------- | ------------- | ------------- | -------------
|
|
565
592
|
**file_file_repository_href** | **String**| |
|
|
593
|
+
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
566
594
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
|
567
595
|
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
|
568
596
|
|
|
@@ -582,7 +610,7 @@ Name | Type | Description | Notes
|
|
|
582
610
|
|
|
583
611
|
## remove_role
|
|
584
612
|
|
|
585
|
-
> NestedRoleResponse remove_role(file_file_repository_href, nested_role)
|
|
613
|
+
> NestedRoleResponse remove_role(file_file_repository_href, nested_role, opts)
|
|
586
614
|
|
|
587
615
|
Remove a role
|
|
588
616
|
|
|
@@ -603,10 +631,13 @@ end
|
|
|
603
631
|
api_instance = PulpFileClient::RepositoriesFileApi.new
|
|
604
632
|
file_file_repository_href = 'file_file_repository_href_example' # String |
|
|
605
633
|
nested_role = PulpFileClient::NestedRole.new # NestedRole |
|
|
634
|
+
opts = {
|
|
635
|
+
x_task_diagnostics: ['x_task_diagnostics_example'] # Array<String> | List of profilers to use on tasks.
|
|
636
|
+
}
|
|
606
637
|
|
|
607
638
|
begin
|
|
608
639
|
#Remove a role
|
|
609
|
-
result = api_instance.remove_role(file_file_repository_href, nested_role)
|
|
640
|
+
result = api_instance.remove_role(file_file_repository_href, nested_role, opts)
|
|
610
641
|
p result
|
|
611
642
|
rescue PulpFileClient::ApiError => e
|
|
612
643
|
puts "Exception when calling RepositoriesFileApi->remove_role: #{e}"
|
|
@@ -620,6 +651,7 @@ Name | Type | Description | Notes
|
|
|
620
651
|
------------- | ------------- | ------------- | -------------
|
|
621
652
|
**file_file_repository_href** | **String**| |
|
|
622
653
|
**nested_role** | [**NestedRole**](NestedRole.md)| |
|
|
654
|
+
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
623
655
|
|
|
624
656
|
### Return type
|
|
625
657
|
|
|
@@ -637,7 +669,7 @@ Name | Type | Description | Notes
|
|
|
637
669
|
|
|
638
670
|
## set_label
|
|
639
671
|
|
|
640
|
-
> SetLabelResponse set_label(file_file_repository_href, set_label)
|
|
672
|
+
> SetLabelResponse set_label(file_file_repository_href, set_label, opts)
|
|
641
673
|
|
|
642
674
|
Set a label
|
|
643
675
|
|
|
@@ -658,10 +690,13 @@ end
|
|
|
658
690
|
api_instance = PulpFileClient::RepositoriesFileApi.new
|
|
659
691
|
file_file_repository_href = 'file_file_repository_href_example' # String |
|
|
660
692
|
set_label = PulpFileClient::SetLabel.new # SetLabel |
|
|
693
|
+
opts = {
|
|
694
|
+
x_task_diagnostics: ['x_task_diagnostics_example'] # Array<String> | List of profilers to use on tasks.
|
|
695
|
+
}
|
|
661
696
|
|
|
662
697
|
begin
|
|
663
698
|
#Set a label
|
|
664
|
-
result = api_instance.set_label(file_file_repository_href, set_label)
|
|
699
|
+
result = api_instance.set_label(file_file_repository_href, set_label, opts)
|
|
665
700
|
p result
|
|
666
701
|
rescue PulpFileClient::ApiError => e
|
|
667
702
|
puts "Exception when calling RepositoriesFileApi->set_label: #{e}"
|
|
@@ -675,6 +710,7 @@ Name | Type | Description | Notes
|
|
|
675
710
|
------------- | ------------- | ------------- | -------------
|
|
676
711
|
**file_file_repository_href** | **String**| |
|
|
677
712
|
**set_label** | [**SetLabel**](SetLabel.md)| |
|
|
713
|
+
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
678
714
|
|
|
679
715
|
### Return type
|
|
680
716
|
|
|
@@ -692,7 +728,7 @@ Name | Type | Description | Notes
|
|
|
692
728
|
|
|
693
729
|
## sync
|
|
694
730
|
|
|
695
|
-
> AsyncOperationResponse sync(file_file_repository_href, repository_sync_url)
|
|
731
|
+
> AsyncOperationResponse sync(file_file_repository_href, repository_sync_url, opts)
|
|
696
732
|
|
|
697
733
|
Sync from a remote
|
|
698
734
|
|
|
@@ -713,10 +749,13 @@ end
|
|
|
713
749
|
api_instance = PulpFileClient::RepositoriesFileApi.new
|
|
714
750
|
file_file_repository_href = 'file_file_repository_href_example' # String |
|
|
715
751
|
repository_sync_url = PulpFileClient::RepositorySyncURL.new # RepositorySyncURL |
|
|
752
|
+
opts = {
|
|
753
|
+
x_task_diagnostics: ['x_task_diagnostics_example'] # Array<String> | List of profilers to use on tasks.
|
|
754
|
+
}
|
|
716
755
|
|
|
717
756
|
begin
|
|
718
757
|
#Sync from a remote
|
|
719
|
-
result = api_instance.sync(file_file_repository_href, repository_sync_url)
|
|
758
|
+
result = api_instance.sync(file_file_repository_href, repository_sync_url, opts)
|
|
720
759
|
p result
|
|
721
760
|
rescue PulpFileClient::ApiError => e
|
|
722
761
|
puts "Exception when calling RepositoriesFileApi->sync: #{e}"
|
|
@@ -730,6 +769,7 @@ Name | Type | Description | Notes
|
|
|
730
769
|
------------- | ------------- | ------------- | -------------
|
|
731
770
|
**file_file_repository_href** | **String**| |
|
|
732
771
|
**repository_sync_url** | [**RepositorySyncURL**](RepositorySyncURL.md)| |
|
|
772
|
+
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
733
773
|
|
|
734
774
|
### Return type
|
|
735
775
|
|
|
@@ -747,7 +787,7 @@ Name | Type | Description | Notes
|
|
|
747
787
|
|
|
748
788
|
## unset_label
|
|
749
789
|
|
|
750
|
-
> UnsetLabelResponse unset_label(file_file_repository_href, unset_label)
|
|
790
|
+
> UnsetLabelResponse unset_label(file_file_repository_href, unset_label, opts)
|
|
751
791
|
|
|
752
792
|
Unset a label
|
|
753
793
|
|
|
@@ -768,10 +808,13 @@ end
|
|
|
768
808
|
api_instance = PulpFileClient::RepositoriesFileApi.new
|
|
769
809
|
file_file_repository_href = 'file_file_repository_href_example' # String |
|
|
770
810
|
unset_label = PulpFileClient::UnsetLabel.new # UnsetLabel |
|
|
811
|
+
opts = {
|
|
812
|
+
x_task_diagnostics: ['x_task_diagnostics_example'] # Array<String> | List of profilers to use on tasks.
|
|
813
|
+
}
|
|
771
814
|
|
|
772
815
|
begin
|
|
773
816
|
#Unset a label
|
|
774
|
-
result = api_instance.unset_label(file_file_repository_href, unset_label)
|
|
817
|
+
result = api_instance.unset_label(file_file_repository_href, unset_label, opts)
|
|
775
818
|
p result
|
|
776
819
|
rescue PulpFileClient::ApiError => e
|
|
777
820
|
puts "Exception when calling RepositoriesFileApi->unset_label: #{e}"
|
|
@@ -785,6 +828,7 @@ Name | Type | Description | Notes
|
|
|
785
828
|
------------- | ------------- | ------------- | -------------
|
|
786
829
|
**file_file_repository_href** | **String**| |
|
|
787
830
|
**unset_label** | [**UnsetLabel**](UnsetLabel.md)| |
|
|
831
|
+
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
788
832
|
|
|
789
833
|
### Return type
|
|
790
834
|
|
|
@@ -802,7 +846,7 @@ Name | Type | Description | Notes
|
|
|
802
846
|
|
|
803
847
|
## update
|
|
804
848
|
|
|
805
|
-
> AsyncOperationResponse update(file_file_repository_href, file_file_repository)
|
|
849
|
+
> AsyncOperationResponse update(file_file_repository_href, file_file_repository, opts)
|
|
806
850
|
|
|
807
851
|
Update a file repository
|
|
808
852
|
|
|
@@ -823,10 +867,13 @@ end
|
|
|
823
867
|
api_instance = PulpFileClient::RepositoriesFileApi.new
|
|
824
868
|
file_file_repository_href = 'file_file_repository_href_example' # String |
|
|
825
869
|
file_file_repository = PulpFileClient::FileFileRepository.new # FileFileRepository |
|
|
870
|
+
opts = {
|
|
871
|
+
x_task_diagnostics: ['x_task_diagnostics_example'] # Array<String> | List of profilers to use on tasks.
|
|
872
|
+
}
|
|
826
873
|
|
|
827
874
|
begin
|
|
828
875
|
#Update a file repository
|
|
829
|
-
result = api_instance.update(file_file_repository_href, file_file_repository)
|
|
876
|
+
result = api_instance.update(file_file_repository_href, file_file_repository, opts)
|
|
830
877
|
p result
|
|
831
878
|
rescue PulpFileClient::ApiError => e
|
|
832
879
|
puts "Exception when calling RepositoriesFileApi->update: #{e}"
|
|
@@ -840,6 +887,7 @@ Name | Type | Description | Notes
|
|
|
840
887
|
------------- | ------------- | ------------- | -------------
|
|
841
888
|
**file_file_repository_href** | **String**| |
|
|
842
889
|
**file_file_repository** | [**FileFileRepository**](FileFileRepository.md)| |
|
|
890
|
+
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
843
891
|
|
|
844
892
|
### Return type
|
|
845
893
|
|