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
data/docs/RepositoriesFileApi.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# PulpFileClient::RepositoriesFileApi
|
|
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
|
------------- | ------------- | -------------
|
|
@@ -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)
|
|
27
27
|
|
|
28
28
|
Add a role
|
|
29
29
|
|
|
@@ -44,13 +44,10 @@ 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
|
-
}
|
|
50
47
|
|
|
51
48
|
begin
|
|
52
49
|
#Add a role
|
|
53
|
-
result = api_instance.add_role(file_file_repository_href, nested_role
|
|
50
|
+
result = api_instance.add_role(file_file_repository_href, nested_role)
|
|
54
51
|
p result
|
|
55
52
|
rescue PulpFileClient::ApiError => e
|
|
56
53
|
puts "Exception when calling RepositoriesFileApi->add_role: #{e}"
|
|
@@ -64,7 +61,6 @@ Name | Type | Description | Notes
|
|
|
64
61
|
------------- | ------------- | ------------- | -------------
|
|
65
62
|
**file_file_repository_href** | **String**| |
|
|
66
63
|
**nested_role** | [**NestedRole**](NestedRole.md)| |
|
|
67
|
-
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
68
64
|
|
|
69
65
|
### Return type
|
|
70
66
|
|
|
@@ -82,7 +78,7 @@ Name | Type | Description | Notes
|
|
|
82
78
|
|
|
83
79
|
## create
|
|
84
80
|
|
|
85
|
-
> FileFileRepositoryResponse create(file_file_repository
|
|
81
|
+
> FileFileRepositoryResponse create(file_file_repository)
|
|
86
82
|
|
|
87
83
|
Create a file repository
|
|
88
84
|
|
|
@@ -102,13 +98,10 @@ end
|
|
|
102
98
|
|
|
103
99
|
api_instance = PulpFileClient::RepositoriesFileApi.new
|
|
104
100
|
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
|
-
}
|
|
108
101
|
|
|
109
102
|
begin
|
|
110
103
|
#Create a file repository
|
|
111
|
-
result = api_instance.create(file_file_repository
|
|
104
|
+
result = api_instance.create(file_file_repository)
|
|
112
105
|
p result
|
|
113
106
|
rescue PulpFileClient::ApiError => e
|
|
114
107
|
puts "Exception when calling RepositoriesFileApi->create: #{e}"
|
|
@@ -121,7 +114,6 @@ end
|
|
|
121
114
|
Name | Type | Description | Notes
|
|
122
115
|
------------- | ------------- | ------------- | -------------
|
|
123
116
|
**file_file_repository** | [**FileFileRepository**](FileFileRepository.md)| |
|
|
124
|
-
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
125
117
|
|
|
126
118
|
### Return type
|
|
127
119
|
|
|
@@ -139,7 +131,7 @@ Name | Type | Description | Notes
|
|
|
139
131
|
|
|
140
132
|
## delete
|
|
141
133
|
|
|
142
|
-
> AsyncOperationResponse delete(file_file_repository_href
|
|
134
|
+
> AsyncOperationResponse delete(file_file_repository_href)
|
|
143
135
|
|
|
144
136
|
Delete a file repository
|
|
145
137
|
|
|
@@ -159,13 +151,10 @@ end
|
|
|
159
151
|
|
|
160
152
|
api_instance = PulpFileClient::RepositoriesFileApi.new
|
|
161
153
|
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
|
-
}
|
|
165
154
|
|
|
166
155
|
begin
|
|
167
156
|
#Delete a file repository
|
|
168
|
-
result = api_instance.delete(file_file_repository_href
|
|
157
|
+
result = api_instance.delete(file_file_repository_href)
|
|
169
158
|
p result
|
|
170
159
|
rescue PulpFileClient::ApiError => e
|
|
171
160
|
puts "Exception when calling RepositoriesFileApi->delete: #{e}"
|
|
@@ -178,7 +167,6 @@ end
|
|
|
178
167
|
Name | Type | Description | Notes
|
|
179
168
|
------------- | ------------- | ------------- | -------------
|
|
180
169
|
**file_file_repository_href** | **String**| |
|
|
181
|
-
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
182
170
|
|
|
183
171
|
### Return type
|
|
184
172
|
|
|
@@ -216,7 +204,6 @@ end
|
|
|
216
204
|
|
|
217
205
|
api_instance = PulpFileClient::RepositoriesFileApi.new
|
|
218
206
|
opts = {
|
|
219
|
-
x_task_diagnostics: ['x_task_diagnostics_example'], # Array<String> | List of profilers to use on tasks.
|
|
220
207
|
latest_with_content: 'latest_with_content_example', # String | Content Unit referenced by HREF
|
|
221
208
|
limit: 56, # Integer | Number of results to return per page.
|
|
222
209
|
name: 'name_example', # String | Filter results where name matches value
|
|
@@ -262,7 +249,6 @@ end
|
|
|
262
249
|
|
|
263
250
|
Name | Type | Description | Notes
|
|
264
251
|
------------- | ------------- | ------------- | -------------
|
|
265
|
-
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
266
252
|
**latest_with_content** | **String**| Content Unit referenced by HREF | [optional]
|
|
267
253
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
|
268
254
|
**name** | **String**| Filter results where name matches value | [optional]
|
|
@@ -330,7 +316,6 @@ end
|
|
|
330
316
|
api_instance = PulpFileClient::RepositoriesFileApi.new
|
|
331
317
|
file_file_repository_href = 'file_file_repository_href_example' # String |
|
|
332
318
|
opts = {
|
|
333
|
-
x_task_diagnostics: ['x_task_diagnostics_example'], # Array<String> | List of profilers to use on tasks.
|
|
334
319
|
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
|
335
320
|
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
|
336
321
|
}
|
|
@@ -350,7 +335,6 @@ end
|
|
|
350
335
|
Name | Type | Description | Notes
|
|
351
336
|
------------- | ------------- | ------------- | -------------
|
|
352
337
|
**file_file_repository_href** | **String**| |
|
|
353
|
-
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
354
338
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
|
355
339
|
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
|
356
340
|
|
|
@@ -370,7 +354,7 @@ Name | Type | Description | Notes
|
|
|
370
354
|
|
|
371
355
|
## modify
|
|
372
356
|
|
|
373
|
-
> AsyncOperationResponse modify(file_file_repository_href, repository_add_remove_content
|
|
357
|
+
> AsyncOperationResponse modify(file_file_repository_href, repository_add_remove_content)
|
|
374
358
|
|
|
375
359
|
Modify Repository Content
|
|
376
360
|
|
|
@@ -391,13 +375,10 @@ end
|
|
|
391
375
|
api_instance = PulpFileClient::RepositoriesFileApi.new
|
|
392
376
|
file_file_repository_href = 'file_file_repository_href_example' # String |
|
|
393
377
|
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
|
-
}
|
|
397
378
|
|
|
398
379
|
begin
|
|
399
380
|
#Modify Repository Content
|
|
400
|
-
result = api_instance.modify(file_file_repository_href, repository_add_remove_content
|
|
381
|
+
result = api_instance.modify(file_file_repository_href, repository_add_remove_content)
|
|
401
382
|
p result
|
|
402
383
|
rescue PulpFileClient::ApiError => e
|
|
403
384
|
puts "Exception when calling RepositoriesFileApi->modify: #{e}"
|
|
@@ -411,7 +392,6 @@ Name | Type | Description | Notes
|
|
|
411
392
|
------------- | ------------- | ------------- | -------------
|
|
412
393
|
**file_file_repository_href** | **String**| |
|
|
413
394
|
**repository_add_remove_content** | [**RepositoryAddRemoveContent**](RepositoryAddRemoveContent.md)| |
|
|
414
|
-
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
415
395
|
|
|
416
396
|
### Return type
|
|
417
397
|
|
|
@@ -450,7 +430,6 @@ end
|
|
|
450
430
|
api_instance = PulpFileClient::RepositoriesFileApi.new
|
|
451
431
|
file_file_repository_href = 'file_file_repository_href_example' # String |
|
|
452
432
|
opts = {
|
|
453
|
-
x_task_diagnostics: ['x_task_diagnostics_example'], # Array<String> | List of profilers to use on tasks.
|
|
454
433
|
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
|
455
434
|
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
|
456
435
|
}
|
|
@@ -470,7 +449,6 @@ end
|
|
|
470
449
|
Name | Type | Description | Notes
|
|
471
450
|
------------- | ------------- | ------------- | -------------
|
|
472
451
|
**file_file_repository_href** | **String**| |
|
|
473
|
-
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
474
452
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
|
475
453
|
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
|
476
454
|
|
|
@@ -490,7 +468,7 @@ Name | Type | Description | Notes
|
|
|
490
468
|
|
|
491
469
|
## partial_update
|
|
492
470
|
|
|
493
|
-
> AsyncOperationResponse partial_update(file_file_repository_href, patchedfile_file_repository
|
|
471
|
+
> AsyncOperationResponse partial_update(file_file_repository_href, patchedfile_file_repository)
|
|
494
472
|
|
|
495
473
|
Update a file repository
|
|
496
474
|
|
|
@@ -511,13 +489,10 @@ end
|
|
|
511
489
|
api_instance = PulpFileClient::RepositoriesFileApi.new
|
|
512
490
|
file_file_repository_href = 'file_file_repository_href_example' # String |
|
|
513
491
|
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
|
-
}
|
|
517
492
|
|
|
518
493
|
begin
|
|
519
494
|
#Update a file repository
|
|
520
|
-
result = api_instance.partial_update(file_file_repository_href, patchedfile_file_repository
|
|
495
|
+
result = api_instance.partial_update(file_file_repository_href, patchedfile_file_repository)
|
|
521
496
|
p result
|
|
522
497
|
rescue PulpFileClient::ApiError => e
|
|
523
498
|
puts "Exception when calling RepositoriesFileApi->partial_update: #{e}"
|
|
@@ -531,7 +506,6 @@ Name | Type | Description | Notes
|
|
|
531
506
|
------------- | ------------- | ------------- | -------------
|
|
532
507
|
**file_file_repository_href** | **String**| |
|
|
533
508
|
**patchedfile_file_repository** | [**PatchedfileFileRepository**](PatchedfileFileRepository.md)| |
|
|
534
|
-
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
535
509
|
|
|
536
510
|
### Return type
|
|
537
511
|
|
|
@@ -570,7 +544,6 @@ end
|
|
|
570
544
|
api_instance = PulpFileClient::RepositoriesFileApi.new
|
|
571
545
|
file_file_repository_href = 'file_file_repository_href_example' # String |
|
|
572
546
|
opts = {
|
|
573
|
-
x_task_diagnostics: ['x_task_diagnostics_example'], # Array<String> | List of profilers to use on tasks.
|
|
574
547
|
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
|
575
548
|
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
|
576
549
|
}
|
|
@@ -590,7 +563,6 @@ end
|
|
|
590
563
|
Name | Type | Description | Notes
|
|
591
564
|
------------- | ------------- | ------------- | -------------
|
|
592
565
|
**file_file_repository_href** | **String**| |
|
|
593
|
-
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
594
566
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
|
595
567
|
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
|
596
568
|
|
|
@@ -610,7 +582,7 @@ Name | Type | Description | Notes
|
|
|
610
582
|
|
|
611
583
|
## remove_role
|
|
612
584
|
|
|
613
|
-
> NestedRoleResponse remove_role(file_file_repository_href, nested_role
|
|
585
|
+
> NestedRoleResponse remove_role(file_file_repository_href, nested_role)
|
|
614
586
|
|
|
615
587
|
Remove a role
|
|
616
588
|
|
|
@@ -631,13 +603,10 @@ end
|
|
|
631
603
|
api_instance = PulpFileClient::RepositoriesFileApi.new
|
|
632
604
|
file_file_repository_href = 'file_file_repository_href_example' # String |
|
|
633
605
|
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
|
-
}
|
|
637
606
|
|
|
638
607
|
begin
|
|
639
608
|
#Remove a role
|
|
640
|
-
result = api_instance.remove_role(file_file_repository_href, nested_role
|
|
609
|
+
result = api_instance.remove_role(file_file_repository_href, nested_role)
|
|
641
610
|
p result
|
|
642
611
|
rescue PulpFileClient::ApiError => e
|
|
643
612
|
puts "Exception when calling RepositoriesFileApi->remove_role: #{e}"
|
|
@@ -651,7 +620,6 @@ Name | Type | Description | Notes
|
|
|
651
620
|
------------- | ------------- | ------------- | -------------
|
|
652
621
|
**file_file_repository_href** | **String**| |
|
|
653
622
|
**nested_role** | [**NestedRole**](NestedRole.md)| |
|
|
654
|
-
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
655
623
|
|
|
656
624
|
### Return type
|
|
657
625
|
|
|
@@ -669,7 +637,7 @@ Name | Type | Description | Notes
|
|
|
669
637
|
|
|
670
638
|
## set_label
|
|
671
639
|
|
|
672
|
-
> SetLabelResponse set_label(file_file_repository_href, set_label
|
|
640
|
+
> SetLabelResponse set_label(file_file_repository_href, set_label)
|
|
673
641
|
|
|
674
642
|
Set a label
|
|
675
643
|
|
|
@@ -690,13 +658,10 @@ end
|
|
|
690
658
|
api_instance = PulpFileClient::RepositoriesFileApi.new
|
|
691
659
|
file_file_repository_href = 'file_file_repository_href_example' # String |
|
|
692
660
|
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
|
-
}
|
|
696
661
|
|
|
697
662
|
begin
|
|
698
663
|
#Set a label
|
|
699
|
-
result = api_instance.set_label(file_file_repository_href, set_label
|
|
664
|
+
result = api_instance.set_label(file_file_repository_href, set_label)
|
|
700
665
|
p result
|
|
701
666
|
rescue PulpFileClient::ApiError => e
|
|
702
667
|
puts "Exception when calling RepositoriesFileApi->set_label: #{e}"
|
|
@@ -710,7 +675,6 @@ Name | Type | Description | Notes
|
|
|
710
675
|
------------- | ------------- | ------------- | -------------
|
|
711
676
|
**file_file_repository_href** | **String**| |
|
|
712
677
|
**set_label** | [**SetLabel**](SetLabel.md)| |
|
|
713
|
-
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
714
678
|
|
|
715
679
|
### Return type
|
|
716
680
|
|
|
@@ -728,7 +692,7 @@ Name | Type | Description | Notes
|
|
|
728
692
|
|
|
729
693
|
## sync
|
|
730
694
|
|
|
731
|
-
> AsyncOperationResponse sync(file_file_repository_href, repository_sync_url
|
|
695
|
+
> AsyncOperationResponse sync(file_file_repository_href, repository_sync_url)
|
|
732
696
|
|
|
733
697
|
Sync from a remote
|
|
734
698
|
|
|
@@ -749,13 +713,10 @@ end
|
|
|
749
713
|
api_instance = PulpFileClient::RepositoriesFileApi.new
|
|
750
714
|
file_file_repository_href = 'file_file_repository_href_example' # String |
|
|
751
715
|
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
|
-
}
|
|
755
716
|
|
|
756
717
|
begin
|
|
757
718
|
#Sync from a remote
|
|
758
|
-
result = api_instance.sync(file_file_repository_href, repository_sync_url
|
|
719
|
+
result = api_instance.sync(file_file_repository_href, repository_sync_url)
|
|
759
720
|
p result
|
|
760
721
|
rescue PulpFileClient::ApiError => e
|
|
761
722
|
puts "Exception when calling RepositoriesFileApi->sync: #{e}"
|
|
@@ -769,7 +730,6 @@ Name | Type | Description | Notes
|
|
|
769
730
|
------------- | ------------- | ------------- | -------------
|
|
770
731
|
**file_file_repository_href** | **String**| |
|
|
771
732
|
**repository_sync_url** | [**RepositorySyncURL**](RepositorySyncURL.md)| |
|
|
772
|
-
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
773
733
|
|
|
774
734
|
### Return type
|
|
775
735
|
|
|
@@ -787,7 +747,7 @@ Name | Type | Description | Notes
|
|
|
787
747
|
|
|
788
748
|
## unset_label
|
|
789
749
|
|
|
790
|
-
> UnsetLabelResponse unset_label(file_file_repository_href, unset_label
|
|
750
|
+
> UnsetLabelResponse unset_label(file_file_repository_href, unset_label)
|
|
791
751
|
|
|
792
752
|
Unset a label
|
|
793
753
|
|
|
@@ -808,13 +768,10 @@ end
|
|
|
808
768
|
api_instance = PulpFileClient::RepositoriesFileApi.new
|
|
809
769
|
file_file_repository_href = 'file_file_repository_href_example' # String |
|
|
810
770
|
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
|
-
}
|
|
814
771
|
|
|
815
772
|
begin
|
|
816
773
|
#Unset a label
|
|
817
|
-
result = api_instance.unset_label(file_file_repository_href, unset_label
|
|
774
|
+
result = api_instance.unset_label(file_file_repository_href, unset_label)
|
|
818
775
|
p result
|
|
819
776
|
rescue PulpFileClient::ApiError => e
|
|
820
777
|
puts "Exception when calling RepositoriesFileApi->unset_label: #{e}"
|
|
@@ -828,7 +785,6 @@ Name | Type | Description | Notes
|
|
|
828
785
|
------------- | ------------- | ------------- | -------------
|
|
829
786
|
**file_file_repository_href** | **String**| |
|
|
830
787
|
**unset_label** | [**UnsetLabel**](UnsetLabel.md)| |
|
|
831
|
-
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
832
788
|
|
|
833
789
|
### Return type
|
|
834
790
|
|
|
@@ -846,7 +802,7 @@ Name | Type | Description | Notes
|
|
|
846
802
|
|
|
847
803
|
## update
|
|
848
804
|
|
|
849
|
-
> AsyncOperationResponse update(file_file_repository_href, file_file_repository
|
|
805
|
+
> AsyncOperationResponse update(file_file_repository_href, file_file_repository)
|
|
850
806
|
|
|
851
807
|
Update a file repository
|
|
852
808
|
|
|
@@ -867,13 +823,10 @@ end
|
|
|
867
823
|
api_instance = PulpFileClient::RepositoriesFileApi.new
|
|
868
824
|
file_file_repository_href = 'file_file_repository_href_example' # String |
|
|
869
825
|
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
|
-
}
|
|
873
826
|
|
|
874
827
|
begin
|
|
875
828
|
#Update a file repository
|
|
876
|
-
result = api_instance.update(file_file_repository_href, file_file_repository
|
|
829
|
+
result = api_instance.update(file_file_repository_href, file_file_repository)
|
|
877
830
|
p result
|
|
878
831
|
rescue PulpFileClient::ApiError => e
|
|
879
832
|
puts "Exception when calling RepositoriesFileApi->update: #{e}"
|
|
@@ -887,7 +840,6 @@ Name | Type | Description | Notes
|
|
|
887
840
|
------------- | ------------- | ------------- | -------------
|
|
888
841
|
**file_file_repository_href** | **String**| |
|
|
889
842
|
**file_file_repository** | [**FileFileRepository**](FileFileRepository.md)| |
|
|
890
|
-
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
891
843
|
|
|
892
844
|
### Return type
|
|
893
845
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# PulpFileClient::RepositoriesFileVersionsApi
|
|
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
|
------------- | ------------- | -------------
|
|
@@ -13,7 +13,7 @@ Method | HTTP request | Description
|
|
|
13
13
|
|
|
14
14
|
## delete
|
|
15
15
|
|
|
16
|
-
> AsyncOperationResponse delete(file_file_repository_version_href
|
|
16
|
+
> AsyncOperationResponse delete(file_file_repository_version_href)
|
|
17
17
|
|
|
18
18
|
Delete a repository version
|
|
19
19
|
|
|
@@ -33,13 +33,10 @@ end
|
|
|
33
33
|
|
|
34
34
|
api_instance = PulpFileClient::RepositoriesFileVersionsApi.new
|
|
35
35
|
file_file_repository_version_href = 'file_file_repository_version_href_example' # String |
|
|
36
|
-
opts = {
|
|
37
|
-
x_task_diagnostics: ['x_task_diagnostics_example'] # Array<String> | List of profilers to use on tasks.
|
|
38
|
-
}
|
|
39
36
|
|
|
40
37
|
begin
|
|
41
38
|
#Delete a repository version
|
|
42
|
-
result = api_instance.delete(file_file_repository_version_href
|
|
39
|
+
result = api_instance.delete(file_file_repository_version_href)
|
|
43
40
|
p result
|
|
44
41
|
rescue PulpFileClient::ApiError => e
|
|
45
42
|
puts "Exception when calling RepositoriesFileVersionsApi->delete: #{e}"
|
|
@@ -52,7 +49,6 @@ end
|
|
|
52
49
|
Name | Type | Description | Notes
|
|
53
50
|
------------- | ------------- | ------------- | -------------
|
|
54
51
|
**file_file_repository_version_href** | **String**| |
|
|
55
|
-
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
56
52
|
|
|
57
53
|
### Return type
|
|
58
54
|
|
|
@@ -91,7 +87,6 @@ end
|
|
|
91
87
|
api_instance = PulpFileClient::RepositoriesFileVersionsApi.new
|
|
92
88
|
file_file_repository_href = 'file_file_repository_href_example' # String |
|
|
93
89
|
opts = {
|
|
94
|
-
x_task_diagnostics: ['x_task_diagnostics_example'], # Array<String> | List of profilers to use on tasks.
|
|
95
90
|
content: 'content_example', # String | Content Unit referenced by HREF
|
|
96
91
|
content__in: 'content__in_example', # String | Content Unit referenced by HREF
|
|
97
92
|
limit: 56, # Integer | Number of results to return per page.
|
|
@@ -130,7 +125,6 @@ end
|
|
|
130
125
|
Name | Type | Description | Notes
|
|
131
126
|
------------- | ------------- | ------------- | -------------
|
|
132
127
|
**file_file_repository_href** | **String**| |
|
|
133
|
-
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
134
128
|
**content** | **String**| Content Unit referenced by HREF | [optional]
|
|
135
129
|
**content__in** | **String**| Content Unit referenced by HREF | [optional]
|
|
136
130
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
|
@@ -190,7 +184,6 @@ end
|
|
|
190
184
|
api_instance = PulpFileClient::RepositoriesFileVersionsApi.new
|
|
191
185
|
file_file_repository_version_href = 'file_file_repository_version_href_example' # String |
|
|
192
186
|
opts = {
|
|
193
|
-
x_task_diagnostics: ['x_task_diagnostics_example'], # Array<String> | List of profilers to use on tasks.
|
|
194
187
|
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
|
195
188
|
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
|
196
189
|
}
|
|
@@ -210,7 +203,6 @@ end
|
|
|
210
203
|
Name | Type | Description | Notes
|
|
211
204
|
------------- | ------------- | ------------- | -------------
|
|
212
205
|
**file_file_repository_version_href** | **String**| |
|
|
213
|
-
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
214
206
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
|
215
207
|
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
|
216
208
|
|
|
@@ -230,7 +222,7 @@ Name | Type | Description | Notes
|
|
|
230
222
|
|
|
231
223
|
## repair
|
|
232
224
|
|
|
233
|
-
> AsyncOperationResponse repair(file_file_repository_version_href, repair
|
|
225
|
+
> AsyncOperationResponse repair(file_file_repository_version_href, repair)
|
|
234
226
|
|
|
235
227
|
|
|
236
228
|
|
|
@@ -251,12 +243,9 @@ end
|
|
|
251
243
|
api_instance = PulpFileClient::RepositoriesFileVersionsApi.new
|
|
252
244
|
file_file_repository_version_href = 'file_file_repository_version_href_example' # String |
|
|
253
245
|
repair = PulpFileClient::Repair.new # Repair |
|
|
254
|
-
opts = {
|
|
255
|
-
x_task_diagnostics: ['x_task_diagnostics_example'] # Array<String> | List of profilers to use on tasks.
|
|
256
|
-
}
|
|
257
246
|
|
|
258
247
|
begin
|
|
259
|
-
result = api_instance.repair(file_file_repository_version_href, repair
|
|
248
|
+
result = api_instance.repair(file_file_repository_version_href, repair)
|
|
260
249
|
p result
|
|
261
250
|
rescue PulpFileClient::ApiError => e
|
|
262
251
|
puts "Exception when calling RepositoriesFileVersionsApi->repair: #{e}"
|
|
@@ -270,7 +259,6 @@ Name | Type | Description | Notes
|
|
|
270
259
|
------------- | ------------- | ------------- | -------------
|
|
271
260
|
**file_file_repository_version_href** | **String**| |
|
|
272
261
|
**repair** | [**Repair**](Repair.md)| |
|
|
273
|
-
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
274
262
|
|
|
275
263
|
### Return type
|
|
276
264
|
|