pulp_file_client 3.49.55 → 3.50.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +6 -9
- data/docs/AcsFileApi.md +15 -51
- data/docs/ContentFilesApi.md +1 -7
- data/docs/DistributionsFileApi.md +17 -57
- data/docs/PublicationsFileApi.md +9 -33
- data/docs/RemotesFileApi.md +17 -57
- data/docs/RepositoriesFileApi.md +21 -69
- data/docs/RepositoriesFileVersionsApi.md +5 -17
- data/lib/pulp_file_client/api/acs_file_api.rb +0 -33
- data/lib/pulp_file_client/api/content_files_api.rb +0 -9
- data/lib/pulp_file_client/api/distributions_file_api.rb +0 -36
- data/lib/pulp_file_client/api/publications_file_api.rb +0 -24
- data/lib/pulp_file_client/api/remotes_file_api.rb +0 -36
- data/lib/pulp_file_client/api/repositories_file_api.rb +0 -42
- data/lib/pulp_file_client/api/repositories_file_versions_api.rb +0 -12
- data/lib/pulp_file_client/configuration.rb +2 -2
- data/lib/pulp_file_client/version.rb +1 -1
- data/spec/api/acs_file_api_spec.rb +0 -11
- data/spec/api/content_files_api_spec.rb +0 -3
- data/spec/api/distributions_file_api_spec.rb +0 -12
- data/spec/api/publications_file_api_spec.rb +0 -8
- data/spec/api/remotes_file_api_spec.rb +0 -12
- data/spec/api/repositories_file_api_spec.rb +0 -14
- data/spec/api/repositories_file_versions_api_spec.rb +0 -4
- data/spec/configuration_spec.rb +3 -3
- metadata +53 -53
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4b7d069588d9135356157d01d4f25f78dc374a59c5b381cccdc5cb2b8a8d006c
|
|
4
|
+
data.tar.gz: ac771346a1842e859bae039227c5a078af495d7a624fca8707de2ccb94e4fc2d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5710448b0c3ff46eb9fb0046b9a56b95d517b94f119ad0ef3cdee7c237b157ae57b1c6c88cdbca1ad2b5ca2894b0aaaf1d12de950736cacab901c8f98d883949
|
|
7
|
+
data.tar.gz: dd9b953bdfc5311c65524a8d4149fc446704d98fcc32a3fb3d325c75a0dff49ecdce4ea691aab70b2708781f7a83ebb91db92cdc49dad703ac52eeb04678c265
|
data/README.md
CHANGED
|
@@ -7,7 +7,7 @@ Fetch, Upload, Organize, and Distribute Software Packages
|
|
|
7
7
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
8
8
|
|
|
9
9
|
- API version: v3
|
|
10
|
-
- Package version: 3.
|
|
10
|
+
- Package version: 3.50.0
|
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
|
12
12
|
For more information, please visit [https://pulpproject.org](https://pulpproject.org)
|
|
13
13
|
|
|
@@ -24,16 +24,16 @@ gem build pulp_file_client.gemspec
|
|
|
24
24
|
Then either install the gem locally:
|
|
25
25
|
|
|
26
26
|
```shell
|
|
27
|
-
gem install ./pulp_file_client-3.
|
|
27
|
+
gem install ./pulp_file_client-3.50.0.gem
|
|
28
28
|
```
|
|
29
29
|
|
|
30
|
-
(for development, run `gem install --dev ./pulp_file_client-3.
|
|
30
|
+
(for development, run `gem install --dev ./pulp_file_client-3.50.0.gem` to install the development dependencies)
|
|
31
31
|
|
|
32
32
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
|
33
33
|
|
|
34
34
|
Finally add this to the Gemfile:
|
|
35
35
|
|
|
36
|
-
gem 'pulp_file_client', '~> 3.
|
|
36
|
+
gem 'pulp_file_client', '~> 3.50.0'
|
|
37
37
|
|
|
38
38
|
### Install from Git
|
|
39
39
|
|
|
@@ -67,13 +67,10 @@ end
|
|
|
67
67
|
api_instance = PulpFileClient::AcsFileApi.new
|
|
68
68
|
file_file_alternate_content_source_href = 'file_file_alternate_content_source_href_example' # String |
|
|
69
69
|
nested_role = PulpFileClient::NestedRole.new # NestedRole |
|
|
70
|
-
opts = {
|
|
71
|
-
x_task_diagnostics: ['x_task_diagnostics_example'] # Array<String> | List of profilers to use on tasks.
|
|
72
|
-
}
|
|
73
70
|
|
|
74
71
|
begin
|
|
75
72
|
#Add a role
|
|
76
|
-
result = api_instance.add_role(file_file_alternate_content_source_href, nested_role
|
|
73
|
+
result = api_instance.add_role(file_file_alternate_content_source_href, nested_role)
|
|
77
74
|
p result
|
|
78
75
|
rescue PulpFileClient::ApiError => e
|
|
79
76
|
puts "Exception when calling AcsFileApi->add_role: #{e}"
|
|
@@ -83,7 +80,7 @@ end
|
|
|
83
80
|
|
|
84
81
|
## Documentation for API Endpoints
|
|
85
82
|
|
|
86
|
-
All URIs are relative to *http://
|
|
83
|
+
All URIs are relative to *http://pulp*
|
|
87
84
|
|
|
88
85
|
Class | Method | HTTP request | Description
|
|
89
86
|
------------ | ------------- | ------------- | -------------
|
data/docs/AcsFileApi.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# PulpFileClient::AcsFileApi
|
|
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
|
------------- | ------------- | -------------
|
|
@@ -20,7 +20,7 @@ Method | HTTP request | Description
|
|
|
20
20
|
|
|
21
21
|
## add_role
|
|
22
22
|
|
|
23
|
-
> NestedRoleResponse add_role(file_file_alternate_content_source_href, nested_role
|
|
23
|
+
> NestedRoleResponse add_role(file_file_alternate_content_source_href, nested_role)
|
|
24
24
|
|
|
25
25
|
Add a role
|
|
26
26
|
|
|
@@ -41,13 +41,10 @@ end
|
|
|
41
41
|
api_instance = PulpFileClient::AcsFileApi.new
|
|
42
42
|
file_file_alternate_content_source_href = 'file_file_alternate_content_source_href_example' # String |
|
|
43
43
|
nested_role = PulpFileClient::NestedRole.new # NestedRole |
|
|
44
|
-
opts = {
|
|
45
|
-
x_task_diagnostics: ['x_task_diagnostics_example'] # Array<String> | List of profilers to use on tasks.
|
|
46
|
-
}
|
|
47
44
|
|
|
48
45
|
begin
|
|
49
46
|
#Add a role
|
|
50
|
-
result = api_instance.add_role(file_file_alternate_content_source_href, nested_role
|
|
47
|
+
result = api_instance.add_role(file_file_alternate_content_source_href, nested_role)
|
|
51
48
|
p result
|
|
52
49
|
rescue PulpFileClient::ApiError => e
|
|
53
50
|
puts "Exception when calling AcsFileApi->add_role: #{e}"
|
|
@@ -61,7 +58,6 @@ Name | Type | Description | Notes
|
|
|
61
58
|
------------- | ------------- | ------------- | -------------
|
|
62
59
|
**file_file_alternate_content_source_href** | **String**| |
|
|
63
60
|
**nested_role** | [**NestedRole**](NestedRole.md)| |
|
|
64
|
-
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
65
61
|
|
|
66
62
|
### Return type
|
|
67
63
|
|
|
@@ -79,7 +75,7 @@ Name | Type | Description | Notes
|
|
|
79
75
|
|
|
80
76
|
## create
|
|
81
77
|
|
|
82
|
-
> FileFileAlternateContentSourceResponse create(file_file_alternate_content_source
|
|
78
|
+
> FileFileAlternateContentSourceResponse create(file_file_alternate_content_source)
|
|
83
79
|
|
|
84
80
|
Create a file alternate content source
|
|
85
81
|
|
|
@@ -99,13 +95,10 @@ end
|
|
|
99
95
|
|
|
100
96
|
api_instance = PulpFileClient::AcsFileApi.new
|
|
101
97
|
file_file_alternate_content_source = PulpFileClient::FileFileAlternateContentSource.new # FileFileAlternateContentSource |
|
|
102
|
-
opts = {
|
|
103
|
-
x_task_diagnostics: ['x_task_diagnostics_example'] # Array<String> | List of profilers to use on tasks.
|
|
104
|
-
}
|
|
105
98
|
|
|
106
99
|
begin
|
|
107
100
|
#Create a file alternate content source
|
|
108
|
-
result = api_instance.create(file_file_alternate_content_source
|
|
101
|
+
result = api_instance.create(file_file_alternate_content_source)
|
|
109
102
|
p result
|
|
110
103
|
rescue PulpFileClient::ApiError => e
|
|
111
104
|
puts "Exception when calling AcsFileApi->create: #{e}"
|
|
@@ -118,7 +111,6 @@ end
|
|
|
118
111
|
Name | Type | Description | Notes
|
|
119
112
|
------------- | ------------- | ------------- | -------------
|
|
120
113
|
**file_file_alternate_content_source** | [**FileFileAlternateContentSource**](FileFileAlternateContentSource.md)| |
|
|
121
|
-
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
122
114
|
|
|
123
115
|
### Return type
|
|
124
116
|
|
|
@@ -136,7 +128,7 @@ Name | Type | Description | Notes
|
|
|
136
128
|
|
|
137
129
|
## delete
|
|
138
130
|
|
|
139
|
-
> AsyncOperationResponse delete(file_file_alternate_content_source_href
|
|
131
|
+
> AsyncOperationResponse delete(file_file_alternate_content_source_href)
|
|
140
132
|
|
|
141
133
|
Delete a file alternate content source
|
|
142
134
|
|
|
@@ -156,13 +148,10 @@ end
|
|
|
156
148
|
|
|
157
149
|
api_instance = PulpFileClient::AcsFileApi.new
|
|
158
150
|
file_file_alternate_content_source_href = 'file_file_alternate_content_source_href_example' # String |
|
|
159
|
-
opts = {
|
|
160
|
-
x_task_diagnostics: ['x_task_diagnostics_example'] # Array<String> | List of profilers to use on tasks.
|
|
161
|
-
}
|
|
162
151
|
|
|
163
152
|
begin
|
|
164
153
|
#Delete a file alternate content source
|
|
165
|
-
result = api_instance.delete(file_file_alternate_content_source_href
|
|
154
|
+
result = api_instance.delete(file_file_alternate_content_source_href)
|
|
166
155
|
p result
|
|
167
156
|
rescue PulpFileClient::ApiError => e
|
|
168
157
|
puts "Exception when calling AcsFileApi->delete: #{e}"
|
|
@@ -175,7 +164,6 @@ end
|
|
|
175
164
|
Name | Type | Description | Notes
|
|
176
165
|
------------- | ------------- | ------------- | -------------
|
|
177
166
|
**file_file_alternate_content_source_href** | **String**| |
|
|
178
|
-
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
179
167
|
|
|
180
168
|
### Return type
|
|
181
169
|
|
|
@@ -213,7 +201,6 @@ end
|
|
|
213
201
|
|
|
214
202
|
api_instance = PulpFileClient::AcsFileApi.new
|
|
215
203
|
opts = {
|
|
216
|
-
x_task_diagnostics: ['x_task_diagnostics_example'], # Array<String> | List of profilers to use on tasks.
|
|
217
204
|
limit: 56, # Integer | Number of results to return per page.
|
|
218
205
|
name: 'name_example', # String | Filter results where name matches value
|
|
219
206
|
name__contains: 'name__contains_example', # String | Filter results where name contains value
|
|
@@ -247,7 +234,6 @@ end
|
|
|
247
234
|
|
|
248
235
|
Name | Type | Description | Notes
|
|
249
236
|
------------- | ------------- | ------------- | -------------
|
|
250
|
-
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
251
237
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
|
252
238
|
**name** | **String**| Filter results where name matches value | [optional]
|
|
253
239
|
**name__contains** | **String**| Filter results where name contains value | [optional]
|
|
@@ -303,7 +289,6 @@ end
|
|
|
303
289
|
api_instance = PulpFileClient::AcsFileApi.new
|
|
304
290
|
file_file_alternate_content_source_href = 'file_file_alternate_content_source_href_example' # String |
|
|
305
291
|
opts = {
|
|
306
|
-
x_task_diagnostics: ['x_task_diagnostics_example'], # Array<String> | List of profilers to use on tasks.
|
|
307
292
|
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
|
308
293
|
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
|
309
294
|
}
|
|
@@ -323,7 +308,6 @@ end
|
|
|
323
308
|
Name | Type | Description | Notes
|
|
324
309
|
------------- | ------------- | ------------- | -------------
|
|
325
310
|
**file_file_alternate_content_source_href** | **String**| |
|
|
326
|
-
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
327
311
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
|
328
312
|
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
|
329
313
|
|
|
@@ -364,7 +348,6 @@ end
|
|
|
364
348
|
api_instance = PulpFileClient::AcsFileApi.new
|
|
365
349
|
file_file_alternate_content_source_href = 'file_file_alternate_content_source_href_example' # String |
|
|
366
350
|
opts = {
|
|
367
|
-
x_task_diagnostics: ['x_task_diagnostics_example'], # Array<String> | List of profilers to use on tasks.
|
|
368
351
|
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
|
369
352
|
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
|
370
353
|
}
|
|
@@ -384,7 +367,6 @@ end
|
|
|
384
367
|
Name | Type | Description | Notes
|
|
385
368
|
------------- | ------------- | ------------- | -------------
|
|
386
369
|
**file_file_alternate_content_source_href** | **String**| |
|
|
387
|
-
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
388
370
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
|
389
371
|
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
|
390
372
|
|
|
@@ -404,7 +386,7 @@ Name | Type | Description | Notes
|
|
|
404
386
|
|
|
405
387
|
## partial_update
|
|
406
388
|
|
|
407
|
-
> AsyncOperationResponse partial_update(file_file_alternate_content_source_href, patchedfile_file_alternate_content_source
|
|
389
|
+
> AsyncOperationResponse partial_update(file_file_alternate_content_source_href, patchedfile_file_alternate_content_source)
|
|
408
390
|
|
|
409
391
|
Update a file alternate content source
|
|
410
392
|
|
|
@@ -425,13 +407,10 @@ end
|
|
|
425
407
|
api_instance = PulpFileClient::AcsFileApi.new
|
|
426
408
|
file_file_alternate_content_source_href = 'file_file_alternate_content_source_href_example' # String |
|
|
427
409
|
patchedfile_file_alternate_content_source = PulpFileClient::PatchedfileFileAlternateContentSource.new # PatchedfileFileAlternateContentSource |
|
|
428
|
-
opts = {
|
|
429
|
-
x_task_diagnostics: ['x_task_diagnostics_example'] # Array<String> | List of profilers to use on tasks.
|
|
430
|
-
}
|
|
431
410
|
|
|
432
411
|
begin
|
|
433
412
|
#Update a file alternate content source
|
|
434
|
-
result = api_instance.partial_update(file_file_alternate_content_source_href, patchedfile_file_alternate_content_source
|
|
413
|
+
result = api_instance.partial_update(file_file_alternate_content_source_href, patchedfile_file_alternate_content_source)
|
|
435
414
|
p result
|
|
436
415
|
rescue PulpFileClient::ApiError => e
|
|
437
416
|
puts "Exception when calling AcsFileApi->partial_update: #{e}"
|
|
@@ -445,7 +424,6 @@ Name | Type | Description | Notes
|
|
|
445
424
|
------------- | ------------- | ------------- | -------------
|
|
446
425
|
**file_file_alternate_content_source_href** | **String**| |
|
|
447
426
|
**patchedfile_file_alternate_content_source** | [**PatchedfileFileAlternateContentSource**](PatchedfileFileAlternateContentSource.md)| |
|
|
448
|
-
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
449
427
|
|
|
450
428
|
### Return type
|
|
451
429
|
|
|
@@ -484,7 +462,6 @@ end
|
|
|
484
462
|
api_instance = PulpFileClient::AcsFileApi.new
|
|
485
463
|
file_file_alternate_content_source_href = 'file_file_alternate_content_source_href_example' # String |
|
|
486
464
|
opts = {
|
|
487
|
-
x_task_diagnostics: ['x_task_diagnostics_example'], # Array<String> | List of profilers to use on tasks.
|
|
488
465
|
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
|
489
466
|
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
|
490
467
|
}
|
|
@@ -504,7 +481,6 @@ end
|
|
|
504
481
|
Name | Type | Description | Notes
|
|
505
482
|
------------- | ------------- | ------------- | -------------
|
|
506
483
|
**file_file_alternate_content_source_href** | **String**| |
|
|
507
|
-
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
508
484
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
|
509
485
|
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
|
510
486
|
|
|
@@ -524,7 +500,7 @@ Name | Type | Description | Notes
|
|
|
524
500
|
|
|
525
501
|
## refresh
|
|
526
502
|
|
|
527
|
-
> TaskGroupOperationResponse refresh(file_file_alternate_content_source_href
|
|
503
|
+
> TaskGroupOperationResponse refresh(file_file_alternate_content_source_href)
|
|
528
504
|
|
|
529
505
|
Refresh metadata
|
|
530
506
|
|
|
@@ -544,13 +520,10 @@ end
|
|
|
544
520
|
|
|
545
521
|
api_instance = PulpFileClient::AcsFileApi.new
|
|
546
522
|
file_file_alternate_content_source_href = 'file_file_alternate_content_source_href_example' # String |
|
|
547
|
-
opts = {
|
|
548
|
-
x_task_diagnostics: ['x_task_diagnostics_example'] # Array<String> | List of profilers to use on tasks.
|
|
549
|
-
}
|
|
550
523
|
|
|
551
524
|
begin
|
|
552
525
|
#Refresh metadata
|
|
553
|
-
result = api_instance.refresh(file_file_alternate_content_source_href
|
|
526
|
+
result = api_instance.refresh(file_file_alternate_content_source_href)
|
|
554
527
|
p result
|
|
555
528
|
rescue PulpFileClient::ApiError => e
|
|
556
529
|
puts "Exception when calling AcsFileApi->refresh: #{e}"
|
|
@@ -563,7 +536,6 @@ end
|
|
|
563
536
|
Name | Type | Description | Notes
|
|
564
537
|
------------- | ------------- | ------------- | -------------
|
|
565
538
|
**file_file_alternate_content_source_href** | **String**| |
|
|
566
|
-
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
567
539
|
|
|
568
540
|
### Return type
|
|
569
541
|
|
|
@@ -581,7 +553,7 @@ Name | Type | Description | Notes
|
|
|
581
553
|
|
|
582
554
|
## remove_role
|
|
583
555
|
|
|
584
|
-
> NestedRoleResponse remove_role(file_file_alternate_content_source_href, nested_role
|
|
556
|
+
> NestedRoleResponse remove_role(file_file_alternate_content_source_href, nested_role)
|
|
585
557
|
|
|
586
558
|
Remove a role
|
|
587
559
|
|
|
@@ -602,13 +574,10 @@ end
|
|
|
602
574
|
api_instance = PulpFileClient::AcsFileApi.new
|
|
603
575
|
file_file_alternate_content_source_href = 'file_file_alternate_content_source_href_example' # String |
|
|
604
576
|
nested_role = PulpFileClient::NestedRole.new # NestedRole |
|
|
605
|
-
opts = {
|
|
606
|
-
x_task_diagnostics: ['x_task_diagnostics_example'] # Array<String> | List of profilers to use on tasks.
|
|
607
|
-
}
|
|
608
577
|
|
|
609
578
|
begin
|
|
610
579
|
#Remove a role
|
|
611
|
-
result = api_instance.remove_role(file_file_alternate_content_source_href, nested_role
|
|
580
|
+
result = api_instance.remove_role(file_file_alternate_content_source_href, nested_role)
|
|
612
581
|
p result
|
|
613
582
|
rescue PulpFileClient::ApiError => e
|
|
614
583
|
puts "Exception when calling AcsFileApi->remove_role: #{e}"
|
|
@@ -622,7 +591,6 @@ Name | Type | Description | Notes
|
|
|
622
591
|
------------- | ------------- | ------------- | -------------
|
|
623
592
|
**file_file_alternate_content_source_href** | **String**| |
|
|
624
593
|
**nested_role** | [**NestedRole**](NestedRole.md)| |
|
|
625
|
-
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
626
594
|
|
|
627
595
|
### Return type
|
|
628
596
|
|
|
@@ -640,7 +608,7 @@ Name | Type | Description | Notes
|
|
|
640
608
|
|
|
641
609
|
## update
|
|
642
610
|
|
|
643
|
-
> AsyncOperationResponse update(file_file_alternate_content_source_href, file_file_alternate_content_source
|
|
611
|
+
> AsyncOperationResponse update(file_file_alternate_content_source_href, file_file_alternate_content_source)
|
|
644
612
|
|
|
645
613
|
Update a file alternate content source
|
|
646
614
|
|
|
@@ -661,13 +629,10 @@ end
|
|
|
661
629
|
api_instance = PulpFileClient::AcsFileApi.new
|
|
662
630
|
file_file_alternate_content_source_href = 'file_file_alternate_content_source_href_example' # String |
|
|
663
631
|
file_file_alternate_content_source = PulpFileClient::FileFileAlternateContentSource.new # FileFileAlternateContentSource |
|
|
664
|
-
opts = {
|
|
665
|
-
x_task_diagnostics: ['x_task_diagnostics_example'] # Array<String> | List of profilers to use on tasks.
|
|
666
|
-
}
|
|
667
632
|
|
|
668
633
|
begin
|
|
669
634
|
#Update a file alternate content source
|
|
670
|
-
result = api_instance.update(file_file_alternate_content_source_href, file_file_alternate_content_source
|
|
635
|
+
result = api_instance.update(file_file_alternate_content_source_href, file_file_alternate_content_source)
|
|
671
636
|
p result
|
|
672
637
|
rescue PulpFileClient::ApiError => e
|
|
673
638
|
puts "Exception when calling AcsFileApi->update: #{e}"
|
|
@@ -681,7 +646,6 @@ Name | Type | Description | Notes
|
|
|
681
646
|
------------- | ------------- | ------------- | -------------
|
|
682
647
|
**file_file_alternate_content_source_href** | **String**| |
|
|
683
648
|
**file_file_alternate_content_source** | [**FileFileAlternateContentSource**](FileFileAlternateContentSource.md)| |
|
|
684
|
-
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
685
649
|
|
|
686
650
|
### Return type
|
|
687
651
|
|
data/docs/ContentFilesApi.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# PulpFileClient::ContentFilesApi
|
|
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
|
------------- | ------------- | -------------
|
|
@@ -33,7 +33,6 @@ end
|
|
|
33
33
|
api_instance = PulpFileClient::ContentFilesApi.new
|
|
34
34
|
relative_path = 'relative_path_example' # String | Path where the artifact is located relative to distributions base_path
|
|
35
35
|
opts = {
|
|
36
|
-
x_task_diagnostics: ['x_task_diagnostics_example'], # Array<String> | List of profilers to use on tasks.
|
|
37
36
|
repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
|
|
38
37
|
artifact: 'artifact_example', # String | Artifact file representing the physical content
|
|
39
38
|
file: File.new('/path/to/file'), # File | An uploaded file that may be turned into the content unit.
|
|
@@ -55,7 +54,6 @@ end
|
|
|
55
54
|
Name | Type | Description | Notes
|
|
56
55
|
------------- | ------------- | ------------- | -------------
|
|
57
56
|
**relative_path** | **String**| Path where the artifact is located relative to distributions base_path |
|
|
58
|
-
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
59
57
|
**repository** | **String**| A URI of a repository the new content unit should be associated with. | [optional]
|
|
60
58
|
**artifact** | **String**| Artifact file representing the physical content | [optional]
|
|
61
59
|
**file** | **File**| An uploaded file that may be turned into the content unit. | [optional]
|
|
@@ -97,7 +95,6 @@ end
|
|
|
97
95
|
|
|
98
96
|
api_instance = PulpFileClient::ContentFilesApi.new
|
|
99
97
|
opts = {
|
|
100
|
-
x_task_diagnostics: ['x_task_diagnostics_example'], # Array<String> | List of profilers to use on tasks.
|
|
101
98
|
limit: 56, # Integer | Number of results to return per page.
|
|
102
99
|
offset: 56, # Integer | The initial index from which to return the results.
|
|
103
100
|
ordering: ['ordering_example'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `digest` - Digest * `-digest` - Digest (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
@@ -128,7 +125,6 @@ end
|
|
|
128
125
|
|
|
129
126
|
Name | Type | Description | Notes
|
|
130
127
|
------------- | ------------- | ------------- | -------------
|
|
131
|
-
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
132
128
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
|
133
129
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
|
134
130
|
**ordering** | [**Array<String>**](String.md)| Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `digest` - Digest * `-digest` - Digest (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional]
|
|
@@ -181,7 +177,6 @@ end
|
|
|
181
177
|
api_instance = PulpFileClient::ContentFilesApi.new
|
|
182
178
|
file_file_content_href = 'file_file_content_href_example' # String |
|
|
183
179
|
opts = {
|
|
184
|
-
x_task_diagnostics: ['x_task_diagnostics_example'], # Array<String> | List of profilers to use on tasks.
|
|
185
180
|
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
|
186
181
|
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
|
187
182
|
}
|
|
@@ -201,7 +196,6 @@ end
|
|
|
201
196
|
Name | Type | Description | Notes
|
|
202
197
|
------------- | ------------- | ------------- | -------------
|
|
203
198
|
**file_file_content_href** | **String**| |
|
|
204
|
-
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
205
199
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
|
206
200
|
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
|
207
201
|
|