pulp_file_client 3.81.0 → 3.82.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 +8 -5
- data/docs/AcsFileApi.md +64 -28
- data/docs/ContentFilesApi.md +22 -8
- data/docs/DistributionsFileApi.md +72 -32
- data/docs/PublicationsFileApi.md +40 -16
- data/docs/RemotesFileApi.md +72 -32
- data/docs/RepositoriesFileApi.md +88 -40
- data/docs/RepositoriesFileVersionsApi.md +20 -8
- data/lib/pulp_file_client/api/acs_file_api.rb +33 -0
- data/lib/pulp_file_client/api/content_files_api.rb +15 -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 +5 -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 +35 -35
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4e472b78149a4298a14dcdf1018a6f179edd4ce16488487674976fc66f226fe9
|
4
|
+
data.tar.gz: dd119b4576317651207eae1f5a58398b6d6ba4268e81edce37e0c2bfb38b4f04
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 79e401ed05f7838791a47a774520c0c67d410bcf4e7db00566618ec5fab7bb44c321f71b7019ec5e75b2b4e7f3be8efabc2e11a1a36d8c9b5368a988837720ed
|
7
|
+
data.tar.gz: 72ac74b7c82707969e3f749645f525d89917bc25805f457aeed58d4c2190f1e2312f3d6c40d36e01dff89eb37766174be619536a85bc5094e83fcd01959a0786
|
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.82.0
|
11
11
|
- Generator version: 7.10.0
|
12
12
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
13
13
|
For more information, please visit [https://pulpproject.org](https://pulpproject.org)
|
@@ -25,16 +25,16 @@ gem build pulp_file_client.gemspec
|
|
25
25
|
Then either install the gem locally:
|
26
26
|
|
27
27
|
```shell
|
28
|
-
gem install ./pulp_file_client-3.
|
28
|
+
gem install ./pulp_file_client-3.82.0.gem
|
29
29
|
```
|
30
30
|
|
31
|
-
(for development, run `gem install --dev ./pulp_file_client-3.
|
31
|
+
(for development, run `gem install --dev ./pulp_file_client-3.82.0.gem` to install the development dependencies)
|
32
32
|
|
33
33
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
34
34
|
|
35
35
|
Finally add this to the Gemfile:
|
36
36
|
|
37
|
-
gem 'pulp_file_client', '~> 3.
|
37
|
+
gem 'pulp_file_client', '~> 3.82.0'
|
38
38
|
|
39
39
|
### Install from Git
|
40
40
|
|
@@ -70,10 +70,13 @@ end
|
|
70
70
|
api_instance = PulpFileClient::AcsFileApi.new
|
71
71
|
file_file_alternate_content_source_href = 'file_file_alternate_content_source_href_example' # String |
|
72
72
|
nested_role = PulpFileClient::NestedRole.new({role: 'role_example'}) # NestedRole |
|
73
|
+
opts = {
|
74
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
75
|
+
}
|
73
76
|
|
74
77
|
begin
|
75
78
|
#Add a role
|
76
|
-
result = api_instance.add_role(file_file_alternate_content_source_href, nested_role)
|
79
|
+
result = api_instance.add_role(file_file_alternate_content_source_href, nested_role, opts)
|
77
80
|
p result
|
78
81
|
rescue PulpFileClient::ApiError => e
|
79
82
|
puts "Exception when calling AcsFileApi->add_role: #{e}"
|
data/docs/AcsFileApi.md
CHANGED
@@ -19,7 +19,7 @@ All URIs are relative to *http://localhost:24817*
|
|
19
19
|
|
20
20
|
## add_role
|
21
21
|
|
22
|
-
> <NestedRoleResponse> add_role(file_file_alternate_content_source_href, nested_role)
|
22
|
+
> <NestedRoleResponse> add_role(file_file_alternate_content_source_href, nested_role, opts)
|
23
23
|
|
24
24
|
Add a role
|
25
25
|
|
@@ -40,10 +40,13 @@ end
|
|
40
40
|
api_instance = PulpFileClient::AcsFileApi.new
|
41
41
|
file_file_alternate_content_source_href = 'file_file_alternate_content_source_href_example' # String |
|
42
42
|
nested_role = PulpFileClient::NestedRole.new({role: 'role_example'}) # NestedRole |
|
43
|
+
opts = {
|
44
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
45
|
+
}
|
43
46
|
|
44
47
|
begin
|
45
48
|
# Add a role
|
46
|
-
result = api_instance.add_role(file_file_alternate_content_source_href, nested_role)
|
49
|
+
result = api_instance.add_role(file_file_alternate_content_source_href, nested_role, opts)
|
47
50
|
p result
|
48
51
|
rescue PulpFileClient::ApiError => e
|
49
52
|
puts "Error when calling AcsFileApi->add_role: #{e}"
|
@@ -54,12 +57,12 @@ end
|
|
54
57
|
|
55
58
|
This returns an Array which contains the response data, status code and headers.
|
56
59
|
|
57
|
-
> <Array(<NestedRoleResponse>, Integer, Hash)> add_role_with_http_info(file_file_alternate_content_source_href, nested_role)
|
60
|
+
> <Array(<NestedRoleResponse>, Integer, Hash)> add_role_with_http_info(file_file_alternate_content_source_href, nested_role, opts)
|
58
61
|
|
59
62
|
```ruby
|
60
63
|
begin
|
61
64
|
# Add a role
|
62
|
-
data, status_code, headers = api_instance.add_role_with_http_info(file_file_alternate_content_source_href, nested_role)
|
65
|
+
data, status_code, headers = api_instance.add_role_with_http_info(file_file_alternate_content_source_href, nested_role, opts)
|
63
66
|
p status_code # => 2xx
|
64
67
|
p headers # => { ... }
|
65
68
|
p data # => <NestedRoleResponse>
|
@@ -74,6 +77,7 @@ end
|
|
74
77
|
| ---- | ---- | ----------- | ----- |
|
75
78
|
| **file_file_alternate_content_source_href** | **String** | | |
|
76
79
|
| **nested_role** | [**NestedRole**](NestedRole.md) | | |
|
80
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
77
81
|
|
78
82
|
### Return type
|
79
83
|
|
@@ -91,7 +95,7 @@ end
|
|
91
95
|
|
92
96
|
## create
|
93
97
|
|
94
|
-
> <FileFileAlternateContentSourceResponse> create(file_file_alternate_content_source)
|
98
|
+
> <FileFileAlternateContentSourceResponse> create(file_file_alternate_content_source, opts)
|
95
99
|
|
96
100
|
Create a file alternate content source
|
97
101
|
|
@@ -111,10 +115,13 @@ end
|
|
111
115
|
|
112
116
|
api_instance = PulpFileClient::AcsFileApi.new
|
113
117
|
file_file_alternate_content_source = PulpFileClient::FileFileAlternateContentSource.new({name: 'name_example', remote: 'remote_example'}) # FileFileAlternateContentSource |
|
118
|
+
opts = {
|
119
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
120
|
+
}
|
114
121
|
|
115
122
|
begin
|
116
123
|
# Create a file alternate content source
|
117
|
-
result = api_instance.create(file_file_alternate_content_source)
|
124
|
+
result = api_instance.create(file_file_alternate_content_source, opts)
|
118
125
|
p result
|
119
126
|
rescue PulpFileClient::ApiError => e
|
120
127
|
puts "Error when calling AcsFileApi->create: #{e}"
|
@@ -125,12 +132,12 @@ end
|
|
125
132
|
|
126
133
|
This returns an Array which contains the response data, status code and headers.
|
127
134
|
|
128
|
-
> <Array(<FileFileAlternateContentSourceResponse>, Integer, Hash)> create_with_http_info(file_file_alternate_content_source)
|
135
|
+
> <Array(<FileFileAlternateContentSourceResponse>, Integer, Hash)> create_with_http_info(file_file_alternate_content_source, opts)
|
129
136
|
|
130
137
|
```ruby
|
131
138
|
begin
|
132
139
|
# Create a file alternate content source
|
133
|
-
data, status_code, headers = api_instance.create_with_http_info(file_file_alternate_content_source)
|
140
|
+
data, status_code, headers = api_instance.create_with_http_info(file_file_alternate_content_source, opts)
|
134
141
|
p status_code # => 2xx
|
135
142
|
p headers # => { ... }
|
136
143
|
p data # => <FileFileAlternateContentSourceResponse>
|
@@ -144,6 +151,7 @@ end
|
|
144
151
|
| Name | Type | Description | Notes |
|
145
152
|
| ---- | ---- | ----------- | ----- |
|
146
153
|
| **file_file_alternate_content_source** | [**FileFileAlternateContentSource**](FileFileAlternateContentSource.md) | | |
|
154
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
147
155
|
|
148
156
|
### Return type
|
149
157
|
|
@@ -161,7 +169,7 @@ end
|
|
161
169
|
|
162
170
|
## delete
|
163
171
|
|
164
|
-
> <AsyncOperationResponse> delete(file_file_alternate_content_source_href)
|
172
|
+
> <AsyncOperationResponse> delete(file_file_alternate_content_source_href, opts)
|
165
173
|
|
166
174
|
Delete a file alternate content source
|
167
175
|
|
@@ -181,10 +189,13 @@ end
|
|
181
189
|
|
182
190
|
api_instance = PulpFileClient::AcsFileApi.new
|
183
191
|
file_file_alternate_content_source_href = 'file_file_alternate_content_source_href_example' # String |
|
192
|
+
opts = {
|
193
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
194
|
+
}
|
184
195
|
|
185
196
|
begin
|
186
197
|
# Delete a file alternate content source
|
187
|
-
result = api_instance.delete(file_file_alternate_content_source_href)
|
198
|
+
result = api_instance.delete(file_file_alternate_content_source_href, opts)
|
188
199
|
p result
|
189
200
|
rescue PulpFileClient::ApiError => e
|
190
201
|
puts "Error when calling AcsFileApi->delete: #{e}"
|
@@ -195,12 +206,12 @@ end
|
|
195
206
|
|
196
207
|
This returns an Array which contains the response data, status code and headers.
|
197
208
|
|
198
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> delete_with_http_info(file_file_alternate_content_source_href)
|
209
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> delete_with_http_info(file_file_alternate_content_source_href, opts)
|
199
210
|
|
200
211
|
```ruby
|
201
212
|
begin
|
202
213
|
# Delete a file alternate content source
|
203
|
-
data, status_code, headers = api_instance.delete_with_http_info(file_file_alternate_content_source_href)
|
214
|
+
data, status_code, headers = api_instance.delete_with_http_info(file_file_alternate_content_source_href, opts)
|
204
215
|
p status_code # => 2xx
|
205
216
|
p headers # => { ... }
|
206
217
|
p data # => <AsyncOperationResponse>
|
@@ -214,6 +225,7 @@ end
|
|
214
225
|
| Name | Type | Description | Notes |
|
215
226
|
| ---- | ---- | ----------- | ----- |
|
216
227
|
| **file_file_alternate_content_source_href** | **String** | | |
|
228
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
217
229
|
|
218
230
|
### Return type
|
219
231
|
|
@@ -251,6 +263,7 @@ end
|
|
251
263
|
|
252
264
|
api_instance = PulpFileClient::AcsFileApi.new
|
253
265
|
opts = {
|
266
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
254
267
|
limit: 56, # Integer | Number of results to return per page.
|
255
268
|
name: 'name_example', # String | Filter results where name matches value
|
256
269
|
name__contains: 'name__contains_example', # String | Filter results where name contains value
|
@@ -302,6 +315,7 @@ end
|
|
302
315
|
|
303
316
|
| Name | Type | Description | Notes |
|
304
317
|
| ---- | ---- | ----------- | ----- |
|
318
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
305
319
|
| **limit** | **Integer** | Number of results to return per page. | [optional] |
|
306
320
|
| **name** | **String** | Filter results where name matches value | [optional] |
|
307
321
|
| **name__contains** | **String** | Filter results where name contains value | [optional] |
|
@@ -358,6 +372,7 @@ end
|
|
358
372
|
api_instance = PulpFileClient::AcsFileApi.new
|
359
373
|
file_file_alternate_content_source_href = 'file_file_alternate_content_source_href_example' # String |
|
360
374
|
opts = {
|
375
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
361
376
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
362
377
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
363
378
|
}
|
@@ -394,6 +409,7 @@ end
|
|
394
409
|
| Name | Type | Description | Notes |
|
395
410
|
| ---- | ---- | ----------- | ----- |
|
396
411
|
| **file_file_alternate_content_source_href** | **String** | | |
|
412
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
397
413
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
398
414
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
399
415
|
|
@@ -434,6 +450,7 @@ end
|
|
434
450
|
api_instance = PulpFileClient::AcsFileApi.new
|
435
451
|
file_file_alternate_content_source_href = 'file_file_alternate_content_source_href_example' # String |
|
436
452
|
opts = {
|
453
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
437
454
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
438
455
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
439
456
|
}
|
@@ -470,6 +487,7 @@ end
|
|
470
487
|
| Name | Type | Description | Notes |
|
471
488
|
| ---- | ---- | ----------- | ----- |
|
472
489
|
| **file_file_alternate_content_source_href** | **String** | | |
|
490
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
473
491
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
474
492
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
475
493
|
|
@@ -489,7 +507,7 @@ end
|
|
489
507
|
|
490
508
|
## partial_update
|
491
509
|
|
492
|
-
> <AsyncOperationResponse> partial_update(file_file_alternate_content_source_href, patchedfile_file_alternate_content_source)
|
510
|
+
> <AsyncOperationResponse> partial_update(file_file_alternate_content_source_href, patchedfile_file_alternate_content_source, opts)
|
493
511
|
|
494
512
|
Update a file alternate content source
|
495
513
|
|
@@ -510,10 +528,13 @@ end
|
|
510
528
|
api_instance = PulpFileClient::AcsFileApi.new
|
511
529
|
file_file_alternate_content_source_href = 'file_file_alternate_content_source_href_example' # String |
|
512
530
|
patchedfile_file_alternate_content_source = PulpFileClient::PatchedfileFileAlternateContentSource.new # PatchedfileFileAlternateContentSource |
|
531
|
+
opts = {
|
532
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
533
|
+
}
|
513
534
|
|
514
535
|
begin
|
515
536
|
# Update a file alternate content source
|
516
|
-
result = api_instance.partial_update(file_file_alternate_content_source_href, patchedfile_file_alternate_content_source)
|
537
|
+
result = api_instance.partial_update(file_file_alternate_content_source_href, patchedfile_file_alternate_content_source, opts)
|
517
538
|
p result
|
518
539
|
rescue PulpFileClient::ApiError => e
|
519
540
|
puts "Error when calling AcsFileApi->partial_update: #{e}"
|
@@ -524,12 +545,12 @@ end
|
|
524
545
|
|
525
546
|
This returns an Array which contains the response data, status code and headers.
|
526
547
|
|
527
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> partial_update_with_http_info(file_file_alternate_content_source_href, patchedfile_file_alternate_content_source)
|
548
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> partial_update_with_http_info(file_file_alternate_content_source_href, patchedfile_file_alternate_content_source, opts)
|
528
549
|
|
529
550
|
```ruby
|
530
551
|
begin
|
531
552
|
# Update a file alternate content source
|
532
|
-
data, status_code, headers = api_instance.partial_update_with_http_info(file_file_alternate_content_source_href, patchedfile_file_alternate_content_source)
|
553
|
+
data, status_code, headers = api_instance.partial_update_with_http_info(file_file_alternate_content_source_href, patchedfile_file_alternate_content_source, opts)
|
533
554
|
p status_code # => 2xx
|
534
555
|
p headers # => { ... }
|
535
556
|
p data # => <AsyncOperationResponse>
|
@@ -544,6 +565,7 @@ end
|
|
544
565
|
| ---- | ---- | ----------- | ----- |
|
545
566
|
| **file_file_alternate_content_source_href** | **String** | | |
|
546
567
|
| **patchedfile_file_alternate_content_source** | [**PatchedfileFileAlternateContentSource**](PatchedfileFileAlternateContentSource.md) | | |
|
568
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
547
569
|
|
548
570
|
### Return type
|
549
571
|
|
@@ -582,6 +604,7 @@ end
|
|
582
604
|
api_instance = PulpFileClient::AcsFileApi.new
|
583
605
|
file_file_alternate_content_source_href = 'file_file_alternate_content_source_href_example' # String |
|
584
606
|
opts = {
|
607
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
585
608
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
586
609
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
587
610
|
}
|
@@ -618,6 +641,7 @@ end
|
|
618
641
|
| Name | Type | Description | Notes |
|
619
642
|
| ---- | ---- | ----------- | ----- |
|
620
643
|
| **file_file_alternate_content_source_href** | **String** | | |
|
644
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
621
645
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
622
646
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
623
647
|
|
@@ -637,7 +661,7 @@ end
|
|
637
661
|
|
638
662
|
## refresh
|
639
663
|
|
640
|
-
> <TaskGroupOperationResponse> refresh(file_file_alternate_content_source_href)
|
664
|
+
> <TaskGroupOperationResponse> refresh(file_file_alternate_content_source_href, opts)
|
641
665
|
|
642
666
|
Refresh metadata
|
643
667
|
|
@@ -657,10 +681,13 @@ end
|
|
657
681
|
|
658
682
|
api_instance = PulpFileClient::AcsFileApi.new
|
659
683
|
file_file_alternate_content_source_href = 'file_file_alternate_content_source_href_example' # String |
|
684
|
+
opts = {
|
685
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
686
|
+
}
|
660
687
|
|
661
688
|
begin
|
662
689
|
# Refresh metadata
|
663
|
-
result = api_instance.refresh(file_file_alternate_content_source_href)
|
690
|
+
result = api_instance.refresh(file_file_alternate_content_source_href, opts)
|
664
691
|
p result
|
665
692
|
rescue PulpFileClient::ApiError => e
|
666
693
|
puts "Error when calling AcsFileApi->refresh: #{e}"
|
@@ -671,12 +698,12 @@ end
|
|
671
698
|
|
672
699
|
This returns an Array which contains the response data, status code and headers.
|
673
700
|
|
674
|
-
> <Array(<TaskGroupOperationResponse>, Integer, Hash)> refresh_with_http_info(file_file_alternate_content_source_href)
|
701
|
+
> <Array(<TaskGroupOperationResponse>, Integer, Hash)> refresh_with_http_info(file_file_alternate_content_source_href, opts)
|
675
702
|
|
676
703
|
```ruby
|
677
704
|
begin
|
678
705
|
# Refresh metadata
|
679
|
-
data, status_code, headers = api_instance.refresh_with_http_info(file_file_alternate_content_source_href)
|
706
|
+
data, status_code, headers = api_instance.refresh_with_http_info(file_file_alternate_content_source_href, opts)
|
680
707
|
p status_code # => 2xx
|
681
708
|
p headers # => { ... }
|
682
709
|
p data # => <TaskGroupOperationResponse>
|
@@ -690,6 +717,7 @@ end
|
|
690
717
|
| Name | Type | Description | Notes |
|
691
718
|
| ---- | ---- | ----------- | ----- |
|
692
719
|
| **file_file_alternate_content_source_href** | **String** | | |
|
720
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
693
721
|
|
694
722
|
### Return type
|
695
723
|
|
@@ -707,7 +735,7 @@ end
|
|
707
735
|
|
708
736
|
## remove_role
|
709
737
|
|
710
|
-
> <NestedRoleResponse> remove_role(file_file_alternate_content_source_href, nested_role)
|
738
|
+
> <NestedRoleResponse> remove_role(file_file_alternate_content_source_href, nested_role, opts)
|
711
739
|
|
712
740
|
Remove a role
|
713
741
|
|
@@ -728,10 +756,13 @@ end
|
|
728
756
|
api_instance = PulpFileClient::AcsFileApi.new
|
729
757
|
file_file_alternate_content_source_href = 'file_file_alternate_content_source_href_example' # String |
|
730
758
|
nested_role = PulpFileClient::NestedRole.new({role: 'role_example'}) # NestedRole |
|
759
|
+
opts = {
|
760
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
761
|
+
}
|
731
762
|
|
732
763
|
begin
|
733
764
|
# Remove a role
|
734
|
-
result = api_instance.remove_role(file_file_alternate_content_source_href, nested_role)
|
765
|
+
result = api_instance.remove_role(file_file_alternate_content_source_href, nested_role, opts)
|
735
766
|
p result
|
736
767
|
rescue PulpFileClient::ApiError => e
|
737
768
|
puts "Error when calling AcsFileApi->remove_role: #{e}"
|
@@ -742,12 +773,12 @@ end
|
|
742
773
|
|
743
774
|
This returns an Array which contains the response data, status code and headers.
|
744
775
|
|
745
|
-
> <Array(<NestedRoleResponse>, Integer, Hash)> remove_role_with_http_info(file_file_alternate_content_source_href, nested_role)
|
776
|
+
> <Array(<NestedRoleResponse>, Integer, Hash)> remove_role_with_http_info(file_file_alternate_content_source_href, nested_role, opts)
|
746
777
|
|
747
778
|
```ruby
|
748
779
|
begin
|
749
780
|
# Remove a role
|
750
|
-
data, status_code, headers = api_instance.remove_role_with_http_info(file_file_alternate_content_source_href, nested_role)
|
781
|
+
data, status_code, headers = api_instance.remove_role_with_http_info(file_file_alternate_content_source_href, nested_role, opts)
|
751
782
|
p status_code # => 2xx
|
752
783
|
p headers # => { ... }
|
753
784
|
p data # => <NestedRoleResponse>
|
@@ -762,6 +793,7 @@ end
|
|
762
793
|
| ---- | ---- | ----------- | ----- |
|
763
794
|
| **file_file_alternate_content_source_href** | **String** | | |
|
764
795
|
| **nested_role** | [**NestedRole**](NestedRole.md) | | |
|
796
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
765
797
|
|
766
798
|
### Return type
|
767
799
|
|
@@ -779,7 +811,7 @@ end
|
|
779
811
|
|
780
812
|
## update
|
781
813
|
|
782
|
-
> <AsyncOperationResponse> update(file_file_alternate_content_source_href, file_file_alternate_content_source)
|
814
|
+
> <AsyncOperationResponse> update(file_file_alternate_content_source_href, file_file_alternate_content_source, opts)
|
783
815
|
|
784
816
|
Update a file alternate content source
|
785
817
|
|
@@ -800,10 +832,13 @@ end
|
|
800
832
|
api_instance = PulpFileClient::AcsFileApi.new
|
801
833
|
file_file_alternate_content_source_href = 'file_file_alternate_content_source_href_example' # String |
|
802
834
|
file_file_alternate_content_source = PulpFileClient::FileFileAlternateContentSource.new({name: 'name_example', remote: 'remote_example'}) # FileFileAlternateContentSource |
|
835
|
+
opts = {
|
836
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
837
|
+
}
|
803
838
|
|
804
839
|
begin
|
805
840
|
# Update a file alternate content source
|
806
|
-
result = api_instance.update(file_file_alternate_content_source_href, file_file_alternate_content_source)
|
841
|
+
result = api_instance.update(file_file_alternate_content_source_href, file_file_alternate_content_source, opts)
|
807
842
|
p result
|
808
843
|
rescue PulpFileClient::ApiError => e
|
809
844
|
puts "Error when calling AcsFileApi->update: #{e}"
|
@@ -814,12 +849,12 @@ end
|
|
814
849
|
|
815
850
|
This returns an Array which contains the response data, status code and headers.
|
816
851
|
|
817
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> update_with_http_info(file_file_alternate_content_source_href, file_file_alternate_content_source)
|
852
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> update_with_http_info(file_file_alternate_content_source_href, file_file_alternate_content_source, opts)
|
818
853
|
|
819
854
|
```ruby
|
820
855
|
begin
|
821
856
|
# Update a file alternate content source
|
822
|
-
data, status_code, headers = api_instance.update_with_http_info(file_file_alternate_content_source_href, file_file_alternate_content_source)
|
857
|
+
data, status_code, headers = api_instance.update_with_http_info(file_file_alternate_content_source_href, file_file_alternate_content_source, opts)
|
823
858
|
p status_code # => 2xx
|
824
859
|
p headers # => { ... }
|
825
860
|
p data # => <AsyncOperationResponse>
|
@@ -834,6 +869,7 @@ end
|
|
834
869
|
| ---- | ---- | ----------- | ----- |
|
835
870
|
| **file_file_alternate_content_source_href** | **String** | | |
|
836
871
|
| **file_file_alternate_content_source** | [**FileFileAlternateContentSource**](FileFileAlternateContentSource.md) | | |
|
872
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
837
873
|
|
838
874
|
### Return type
|
839
875
|
|
data/docs/ContentFilesApi.md
CHANGED
@@ -34,6 +34,7 @@ end
|
|
34
34
|
api_instance = PulpFileClient::ContentFilesApi.new
|
35
35
|
relative_path = 'relative_path_example' # String | Path where the artifact is located relative to distributions base_path
|
36
36
|
opts = {
|
37
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
37
38
|
repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
|
38
39
|
pulp_labels: { key: 'inner_example'}, # Hash<String, String> | A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
39
40
|
artifact: 'artifact_example', # String | Artifact file representing the physical content
|
@@ -74,6 +75,7 @@ end
|
|
74
75
|
| Name | Type | Description | Notes |
|
75
76
|
| ---- | ---- | ----------- | ----- |
|
76
77
|
| **relative_path** | **String** | Path where the artifact is located relative to distributions base_path | |
|
78
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
77
79
|
| **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
|
78
80
|
| **pulp_labels** | [**Hash<String, String>**](Hash.md) | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
79
81
|
| **artifact** | **String** | Artifact file representing the physical content | [optional] |
|
@@ -117,6 +119,7 @@ end
|
|
117
119
|
|
118
120
|
api_instance = PulpFileClient::ContentFilesApi.new
|
119
121
|
opts = {
|
122
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
120
123
|
limit: 56, # Integer | Number of results to return per page.
|
121
124
|
offset: 56, # Integer | The initial index from which to return the results.
|
122
125
|
ordering: ['-digest'], # 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) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (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)
|
@@ -166,6 +169,7 @@ end
|
|
166
169
|
|
167
170
|
| Name | Type | Description | Notes |
|
168
171
|
| ---- | ---- | ----------- | ----- |
|
172
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
169
173
|
| **limit** | **Integer** | Number of results to return per page. | [optional] |
|
170
174
|
| **offset** | **Integer** | The initial index from which to return the results. | [optional] |
|
171
175
|
| **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) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (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] |
|
@@ -220,6 +224,7 @@ end
|
|
220
224
|
api_instance = PulpFileClient::ContentFilesApi.new
|
221
225
|
file_file_content_href = 'file_file_content_href_example' # String |
|
222
226
|
opts = {
|
227
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
223
228
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
224
229
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
225
230
|
}
|
@@ -256,6 +261,7 @@ end
|
|
256
261
|
| Name | Type | Description | Notes |
|
257
262
|
| ---- | ---- | ----------- | ----- |
|
258
263
|
| **file_file_content_href** | **String** | | |
|
264
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
259
265
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
260
266
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
261
267
|
|
@@ -275,7 +281,7 @@ end
|
|
275
281
|
|
276
282
|
## set_label
|
277
283
|
|
278
|
-
> <SetLabelResponse> set_label(file_file_content_href, set_label)
|
284
|
+
> <SetLabelResponse> set_label(file_file_content_href, set_label, opts)
|
279
285
|
|
280
286
|
Set a label
|
281
287
|
|
@@ -296,10 +302,13 @@ end
|
|
296
302
|
api_instance = PulpFileClient::ContentFilesApi.new
|
297
303
|
file_file_content_href = 'file_file_content_href_example' # String |
|
298
304
|
set_label = PulpFileClient::SetLabel.new({key: 'key_example', value: 'value_example'}) # SetLabel |
|
305
|
+
opts = {
|
306
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
307
|
+
}
|
299
308
|
|
300
309
|
begin
|
301
310
|
# Set a label
|
302
|
-
result = api_instance.set_label(file_file_content_href, set_label)
|
311
|
+
result = api_instance.set_label(file_file_content_href, set_label, opts)
|
303
312
|
p result
|
304
313
|
rescue PulpFileClient::ApiError => e
|
305
314
|
puts "Error when calling ContentFilesApi->set_label: #{e}"
|
@@ -310,12 +319,12 @@ end
|
|
310
319
|
|
311
320
|
This returns an Array which contains the response data, status code and headers.
|
312
321
|
|
313
|
-
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(file_file_content_href, set_label)
|
322
|
+
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(file_file_content_href, set_label, opts)
|
314
323
|
|
315
324
|
```ruby
|
316
325
|
begin
|
317
326
|
# Set a label
|
318
|
-
data, status_code, headers = api_instance.set_label_with_http_info(file_file_content_href, set_label)
|
327
|
+
data, status_code, headers = api_instance.set_label_with_http_info(file_file_content_href, set_label, opts)
|
319
328
|
p status_code # => 2xx
|
320
329
|
p headers # => { ... }
|
321
330
|
p data # => <SetLabelResponse>
|
@@ -330,6 +339,7 @@ end
|
|
330
339
|
| ---- | ---- | ----------- | ----- |
|
331
340
|
| **file_file_content_href** | **String** | | |
|
332
341
|
| **set_label** | [**SetLabel**](SetLabel.md) | | |
|
342
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
333
343
|
|
334
344
|
### Return type
|
335
345
|
|
@@ -347,7 +357,7 @@ end
|
|
347
357
|
|
348
358
|
## unset_label
|
349
359
|
|
350
|
-
> <UnsetLabelResponse> unset_label(file_file_content_href, unset_label)
|
360
|
+
> <UnsetLabelResponse> unset_label(file_file_content_href, unset_label, opts)
|
351
361
|
|
352
362
|
Unset a label
|
353
363
|
|
@@ -368,10 +378,13 @@ end
|
|
368
378
|
api_instance = PulpFileClient::ContentFilesApi.new
|
369
379
|
file_file_content_href = 'file_file_content_href_example' # String |
|
370
380
|
unset_label = PulpFileClient::UnsetLabel.new({key: 'key_example'}) # UnsetLabel |
|
381
|
+
opts = {
|
382
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
383
|
+
}
|
371
384
|
|
372
385
|
begin
|
373
386
|
# Unset a label
|
374
|
-
result = api_instance.unset_label(file_file_content_href, unset_label)
|
387
|
+
result = api_instance.unset_label(file_file_content_href, unset_label, opts)
|
375
388
|
p result
|
376
389
|
rescue PulpFileClient::ApiError => e
|
377
390
|
puts "Error when calling ContentFilesApi->unset_label: #{e}"
|
@@ -382,12 +395,12 @@ end
|
|
382
395
|
|
383
396
|
This returns an Array which contains the response data, status code and headers.
|
384
397
|
|
385
|
-
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(file_file_content_href, unset_label)
|
398
|
+
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(file_file_content_href, unset_label, opts)
|
386
399
|
|
387
400
|
```ruby
|
388
401
|
begin
|
389
402
|
# Unset a label
|
390
|
-
data, status_code, headers = api_instance.unset_label_with_http_info(file_file_content_href, unset_label)
|
403
|
+
data, status_code, headers = api_instance.unset_label_with_http_info(file_file_content_href, unset_label, opts)
|
391
404
|
p status_code # => 2xx
|
392
405
|
p headers # => { ... }
|
393
406
|
p data # => <UnsetLabelResponse>
|
@@ -402,6 +415,7 @@ end
|
|
402
415
|
| ---- | ---- | ----------- | ----- |
|
403
416
|
| **file_file_content_href** | **String** | | |
|
404
417
|
| **unset_label** | [**UnsetLabel**](UnsetLabel.md) | | |
|
418
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
405
419
|
|
406
420
|
### Return type
|
407
421
|
|