pulp_rpm_client 3.30.2 → 3.31.1
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 +9 -5
- data/docs/AcsRpmApi.md +64 -28
- data/docs/ContentAdvisoriesApi.md +22 -8
- data/docs/ContentDistributionTreesApi.md +20 -8
- data/docs/ContentModulemdDefaultsApi.md +28 -12
- data/docs/ContentModulemdObsoletesApi.md +28 -12
- data/docs/ContentModulemdsApi.md +28 -12
- data/docs/ContentPackagecategoriesApi.md +20 -8
- data/docs/ContentPackageenvironmentsApi.md +20 -8
- data/docs/ContentPackagegroupsApi.md +20 -8
- data/docs/ContentPackagelangpacksApi.md +20 -8
- data/docs/ContentPackagesApi.md +105 -8
- data/docs/ContentRepoMetadataFilesApi.md +20 -8
- data/docs/DistributionsRpmApi.md +72 -32
- data/docs/PublicationsRpmApi.md +40 -16
- data/docs/RemotesRpmApi.md +72 -32
- data/docs/RemotesUlnApi.md +72 -32
- data/docs/RepositoriesRpmApi.md +88 -40
- data/docs/RepositoriesRpmVersionsApi.md +20 -8
- data/docs/RpmCompsApi.md +2 -0
- data/docs/RpmCopyApi.md +8 -4
- data/docs/RpmPruneApi.md +8 -4
- data/lib/pulp_rpm_client/api/acs_rpm_api.rb +33 -0
- data/lib/pulp_rpm_client/api/content_advisories_api.rb +15 -0
- data/lib/pulp_rpm_client/api/content_distribution_trees_api.rb +12 -0
- data/lib/pulp_rpm_client/api/content_modulemd_defaults_api.rb +15 -0
- data/lib/pulp_rpm_client/api/content_modulemd_obsoletes_api.rb +15 -0
- data/lib/pulp_rpm_client/api/content_modulemds_api.rb +15 -0
- data/lib/pulp_rpm_client/api/content_packagecategories_api.rb +12 -0
- data/lib/pulp_rpm_client/api/content_packageenvironments_api.rb +12 -0
- data/lib/pulp_rpm_client/api/content_packagegroups_api.rb +12 -0
- data/lib/pulp_rpm_client/api/content_packagelangpacks_api.rb +12 -0
- data/lib/pulp_rpm_client/api/content_packages_api.rb +99 -0
- data/lib/pulp_rpm_client/api/content_repo_metadata_files_api.rb +12 -0
- data/lib/pulp_rpm_client/api/distributions_rpm_api.rb +36 -0
- data/lib/pulp_rpm_client/api/publications_rpm_api.rb +24 -0
- data/lib/pulp_rpm_client/api/remotes_rpm_api.rb +36 -0
- data/lib/pulp_rpm_client/api/remotes_uln_api.rb +36 -0
- data/lib/pulp_rpm_client/api/repositories_rpm_api.rb +42 -0
- data/lib/pulp_rpm_client/api/repositories_rpm_versions_api.rb +12 -0
- data/lib/pulp_rpm_client/api/rpm_comps_api.rb +3 -0
- data/lib/pulp_rpm_client/api/rpm_copy_api.rb +3 -0
- data/lib/pulp_rpm_client/api/rpm_prune_api.rb +3 -0
- data/lib/pulp_rpm_client/version.rb +1 -1
- data/spec/api/acs_rpm_api_spec.rb +11 -0
- data/spec/api/content_advisories_api_spec.rb +5 -0
- data/spec/api/content_distribution_trees_api_spec.rb +4 -0
- data/spec/api/content_modulemd_defaults_api_spec.rb +5 -0
- data/spec/api/content_modulemd_obsoletes_api_spec.rb +5 -0
- data/spec/api/content_modulemds_api_spec.rb +5 -0
- data/spec/api/content_packagecategories_api_spec.rb +4 -0
- data/spec/api/content_packageenvironments_api_spec.rb +4 -0
- data/spec/api/content_packagegroups_api_spec.rb +4 -0
- data/spec/api/content_packagelangpacks_api_spec.rb +4 -0
- data/spec/api/content_packages_api_spec.rb +22 -0
- data/spec/api/content_repo_metadata_files_api_spec.rb +4 -0
- data/spec/api/distributions_rpm_api_spec.rb +12 -0
- data/spec/api/publications_rpm_api_spec.rb +8 -0
- data/spec/api/remotes_rpm_api_spec.rb +12 -0
- data/spec/api/remotes_uln_api_spec.rb +12 -0
- data/spec/api/repositories_rpm_api_spec.rb +14 -0
- data/spec/api/repositories_rpm_versions_api_spec.rb +4 -0
- data/spec/api/rpm_comps_api_spec.rb +1 -0
- data/spec/api/rpm_copy_api_spec.rb +1 -0
- data/spec/api/rpm_prune_api_spec.rb +1 -0
- metadata +82 -82
@@ -32,6 +32,7 @@ end
|
|
32
32
|
|
33
33
|
api_instance = PulpRpmClient::ContentDistributionTreesApi.new
|
34
34
|
opts = {
|
35
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
35
36
|
limit: 56, # Integer | Number of results to return per page.
|
36
37
|
offset: 56, # Integer | The initial index from which to return the results.
|
37
38
|
ordering: ['-pk'], # Array<String> | Ordering * `pk` - Pk * `-pk` - Pk (descending)
|
@@ -79,6 +80,7 @@ end
|
|
79
80
|
|
80
81
|
| Name | Type | Description | Notes |
|
81
82
|
| ---- | ---- | ----------- | ----- |
|
83
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
82
84
|
| **limit** | **Integer** | Number of results to return per page. | [optional] |
|
83
85
|
| **offset** | **Integer** | The initial index from which to return the results. | [optional] |
|
84
86
|
| **ordering** | [**Array<String>**](String.md) | Ordering * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
@@ -131,6 +133,7 @@ end
|
|
131
133
|
api_instance = PulpRpmClient::ContentDistributionTreesApi.new
|
132
134
|
rpm_distribution_tree_href = 'rpm_distribution_tree_href_example' # String |
|
133
135
|
opts = {
|
136
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
134
137
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
135
138
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
136
139
|
}
|
@@ -167,6 +170,7 @@ end
|
|
167
170
|
| Name | Type | Description | Notes |
|
168
171
|
| ---- | ---- | ----------- | ----- |
|
169
172
|
| **rpm_distribution_tree_href** | **String** | | |
|
173
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
170
174
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
171
175
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
172
176
|
|
@@ -186,7 +190,7 @@ end
|
|
186
190
|
|
187
191
|
## set_label
|
188
192
|
|
189
|
-
> <SetLabelResponse> set_label(rpm_distribution_tree_href, set_label)
|
193
|
+
> <SetLabelResponse> set_label(rpm_distribution_tree_href, set_label, opts)
|
190
194
|
|
191
195
|
Set a label
|
192
196
|
|
@@ -207,10 +211,13 @@ end
|
|
207
211
|
api_instance = PulpRpmClient::ContentDistributionTreesApi.new
|
208
212
|
rpm_distribution_tree_href = 'rpm_distribution_tree_href_example' # String |
|
209
213
|
set_label = PulpRpmClient::SetLabel.new({key: 'key_example', value: 'value_example'}) # SetLabel |
|
214
|
+
opts = {
|
215
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
216
|
+
}
|
210
217
|
|
211
218
|
begin
|
212
219
|
# Set a label
|
213
|
-
result = api_instance.set_label(rpm_distribution_tree_href, set_label)
|
220
|
+
result = api_instance.set_label(rpm_distribution_tree_href, set_label, opts)
|
214
221
|
p result
|
215
222
|
rescue PulpRpmClient::ApiError => e
|
216
223
|
puts "Error when calling ContentDistributionTreesApi->set_label: #{e}"
|
@@ -221,12 +228,12 @@ end
|
|
221
228
|
|
222
229
|
This returns an Array which contains the response data, status code and headers.
|
223
230
|
|
224
|
-
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(rpm_distribution_tree_href, set_label)
|
231
|
+
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(rpm_distribution_tree_href, set_label, opts)
|
225
232
|
|
226
233
|
```ruby
|
227
234
|
begin
|
228
235
|
# Set a label
|
229
|
-
data, status_code, headers = api_instance.set_label_with_http_info(rpm_distribution_tree_href, set_label)
|
236
|
+
data, status_code, headers = api_instance.set_label_with_http_info(rpm_distribution_tree_href, set_label, opts)
|
230
237
|
p status_code # => 2xx
|
231
238
|
p headers # => { ... }
|
232
239
|
p data # => <SetLabelResponse>
|
@@ -241,6 +248,7 @@ end
|
|
241
248
|
| ---- | ---- | ----------- | ----- |
|
242
249
|
| **rpm_distribution_tree_href** | **String** | | |
|
243
250
|
| **set_label** | [**SetLabel**](SetLabel.md) | | |
|
251
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
244
252
|
|
245
253
|
### Return type
|
246
254
|
|
@@ -258,7 +266,7 @@ end
|
|
258
266
|
|
259
267
|
## unset_label
|
260
268
|
|
261
|
-
> <UnsetLabelResponse> unset_label(rpm_distribution_tree_href, unset_label)
|
269
|
+
> <UnsetLabelResponse> unset_label(rpm_distribution_tree_href, unset_label, opts)
|
262
270
|
|
263
271
|
Unset a label
|
264
272
|
|
@@ -279,10 +287,13 @@ end
|
|
279
287
|
api_instance = PulpRpmClient::ContentDistributionTreesApi.new
|
280
288
|
rpm_distribution_tree_href = 'rpm_distribution_tree_href_example' # String |
|
281
289
|
unset_label = PulpRpmClient::UnsetLabel.new({key: 'key_example'}) # UnsetLabel |
|
290
|
+
opts = {
|
291
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
292
|
+
}
|
282
293
|
|
283
294
|
begin
|
284
295
|
# Unset a label
|
285
|
-
result = api_instance.unset_label(rpm_distribution_tree_href, unset_label)
|
296
|
+
result = api_instance.unset_label(rpm_distribution_tree_href, unset_label, opts)
|
286
297
|
p result
|
287
298
|
rescue PulpRpmClient::ApiError => e
|
288
299
|
puts "Error when calling ContentDistributionTreesApi->unset_label: #{e}"
|
@@ -293,12 +304,12 @@ end
|
|
293
304
|
|
294
305
|
This returns an Array which contains the response data, status code and headers.
|
295
306
|
|
296
|
-
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(rpm_distribution_tree_href, unset_label)
|
307
|
+
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(rpm_distribution_tree_href, unset_label, opts)
|
297
308
|
|
298
309
|
```ruby
|
299
310
|
begin
|
300
311
|
# Unset a label
|
301
|
-
data, status_code, headers = api_instance.unset_label_with_http_info(rpm_distribution_tree_href, unset_label)
|
312
|
+
data, status_code, headers = api_instance.unset_label_with_http_info(rpm_distribution_tree_href, unset_label, opts)
|
302
313
|
p status_code # => 2xx
|
303
314
|
p headers # => { ... }
|
304
315
|
p data # => <UnsetLabelResponse>
|
@@ -313,6 +324,7 @@ end
|
|
313
324
|
| ---- | ---- | ----------- | ----- |
|
314
325
|
| **rpm_distribution_tree_href** | **String** | | |
|
315
326
|
| **unset_label** | [**UnsetLabel**](UnsetLabel.md) | | |
|
327
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
316
328
|
|
317
329
|
### Return type
|
318
330
|
|
@@ -13,7 +13,7 @@ All URIs are relative to *http://localhost:24817*
|
|
13
13
|
|
14
14
|
## create
|
15
15
|
|
16
|
-
> <AsyncOperationResponse> create(rpm_modulemd_defaults)
|
16
|
+
> <AsyncOperationResponse> create(rpm_modulemd_defaults, opts)
|
17
17
|
|
18
18
|
Create a modulemd defaults
|
19
19
|
|
@@ -33,10 +33,13 @@ end
|
|
33
33
|
|
34
34
|
api_instance = PulpRpmClient::ContentModulemdDefaultsApi.new
|
35
35
|
rpm_modulemd_defaults = PulpRpmClient::RpmModulemdDefaults.new({_module: '_module_example', stream: 'stream_example', profiles: 3.56, snippet: 'snippet_example'}) # RpmModulemdDefaults |
|
36
|
+
opts = {
|
37
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
38
|
+
}
|
36
39
|
|
37
40
|
begin
|
38
41
|
# Create a modulemd defaults
|
39
|
-
result = api_instance.create(rpm_modulemd_defaults)
|
42
|
+
result = api_instance.create(rpm_modulemd_defaults, opts)
|
40
43
|
p result
|
41
44
|
rescue PulpRpmClient::ApiError => e
|
42
45
|
puts "Error when calling ContentModulemdDefaultsApi->create: #{e}"
|
@@ -47,12 +50,12 @@ end
|
|
47
50
|
|
48
51
|
This returns an Array which contains the response data, status code and headers.
|
49
52
|
|
50
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> create_with_http_info(rpm_modulemd_defaults)
|
53
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> create_with_http_info(rpm_modulemd_defaults, opts)
|
51
54
|
|
52
55
|
```ruby
|
53
56
|
begin
|
54
57
|
# Create a modulemd defaults
|
55
|
-
data, status_code, headers = api_instance.create_with_http_info(rpm_modulemd_defaults)
|
58
|
+
data, status_code, headers = api_instance.create_with_http_info(rpm_modulemd_defaults, opts)
|
56
59
|
p status_code # => 2xx
|
57
60
|
p headers # => { ... }
|
58
61
|
p data # => <AsyncOperationResponse>
|
@@ -66,6 +69,7 @@ end
|
|
66
69
|
| Name | Type | Description | Notes |
|
67
70
|
| ---- | ---- | ----------- | ----- |
|
68
71
|
| **rpm_modulemd_defaults** | [**RpmModulemdDefaults**](RpmModulemdDefaults.md) | | |
|
72
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
69
73
|
|
70
74
|
### Return type
|
71
75
|
|
@@ -103,6 +107,7 @@ end
|
|
103
107
|
|
104
108
|
api_instance = PulpRpmClient::ContentModulemdDefaultsApi.new
|
105
109
|
opts = {
|
110
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
106
111
|
limit: 56, # Integer | Number of results to return per page.
|
107
112
|
_module: '_module_example', # String | Filter results where module matches value
|
108
113
|
module__in: ['inner_example'], # Array<String> | Filter results where module is in a comma-separated list of values
|
@@ -155,6 +160,7 @@ end
|
|
155
160
|
|
156
161
|
| Name | Type | Description | Notes |
|
157
162
|
| ---- | ---- | ----------- | ----- |
|
163
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
158
164
|
| **limit** | **Integer** | Number of results to return per page. | [optional] |
|
159
165
|
| **_module** | **String** | Filter results where module matches value | [optional] |
|
160
166
|
| **module__in** | [**Array<String>**](String.md) | Filter results where module is in a comma-separated list of values | [optional] |
|
@@ -212,6 +218,7 @@ end
|
|
212
218
|
api_instance = PulpRpmClient::ContentModulemdDefaultsApi.new
|
213
219
|
rpm_modulemd_defaults_href = 'rpm_modulemd_defaults_href_example' # String |
|
214
220
|
opts = {
|
221
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
215
222
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
216
223
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
217
224
|
}
|
@@ -248,6 +255,7 @@ end
|
|
248
255
|
| Name | Type | Description | Notes |
|
249
256
|
| ---- | ---- | ----------- | ----- |
|
250
257
|
| **rpm_modulemd_defaults_href** | **String** | | |
|
258
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
251
259
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
252
260
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
253
261
|
|
@@ -267,7 +275,7 @@ end
|
|
267
275
|
|
268
276
|
## set_label
|
269
277
|
|
270
|
-
> <SetLabelResponse> set_label(rpm_modulemd_defaults_href, set_label)
|
278
|
+
> <SetLabelResponse> set_label(rpm_modulemd_defaults_href, set_label, opts)
|
271
279
|
|
272
280
|
Set a label
|
273
281
|
|
@@ -288,10 +296,13 @@ end
|
|
288
296
|
api_instance = PulpRpmClient::ContentModulemdDefaultsApi.new
|
289
297
|
rpm_modulemd_defaults_href = 'rpm_modulemd_defaults_href_example' # String |
|
290
298
|
set_label = PulpRpmClient::SetLabel.new({key: 'key_example', value: 'value_example'}) # SetLabel |
|
299
|
+
opts = {
|
300
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
301
|
+
}
|
291
302
|
|
292
303
|
begin
|
293
304
|
# Set a label
|
294
|
-
result = api_instance.set_label(rpm_modulemd_defaults_href, set_label)
|
305
|
+
result = api_instance.set_label(rpm_modulemd_defaults_href, set_label, opts)
|
295
306
|
p result
|
296
307
|
rescue PulpRpmClient::ApiError => e
|
297
308
|
puts "Error when calling ContentModulemdDefaultsApi->set_label: #{e}"
|
@@ -302,12 +313,12 @@ end
|
|
302
313
|
|
303
314
|
This returns an Array which contains the response data, status code and headers.
|
304
315
|
|
305
|
-
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(rpm_modulemd_defaults_href, set_label)
|
316
|
+
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(rpm_modulemd_defaults_href, set_label, opts)
|
306
317
|
|
307
318
|
```ruby
|
308
319
|
begin
|
309
320
|
# Set a label
|
310
|
-
data, status_code, headers = api_instance.set_label_with_http_info(rpm_modulemd_defaults_href, set_label)
|
321
|
+
data, status_code, headers = api_instance.set_label_with_http_info(rpm_modulemd_defaults_href, set_label, opts)
|
311
322
|
p status_code # => 2xx
|
312
323
|
p headers # => { ... }
|
313
324
|
p data # => <SetLabelResponse>
|
@@ -322,6 +333,7 @@ end
|
|
322
333
|
| ---- | ---- | ----------- | ----- |
|
323
334
|
| **rpm_modulemd_defaults_href** | **String** | | |
|
324
335
|
| **set_label** | [**SetLabel**](SetLabel.md) | | |
|
336
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
325
337
|
|
326
338
|
### Return type
|
327
339
|
|
@@ -339,7 +351,7 @@ end
|
|
339
351
|
|
340
352
|
## unset_label
|
341
353
|
|
342
|
-
> <UnsetLabelResponse> unset_label(rpm_modulemd_defaults_href, unset_label)
|
354
|
+
> <UnsetLabelResponse> unset_label(rpm_modulemd_defaults_href, unset_label, opts)
|
343
355
|
|
344
356
|
Unset a label
|
345
357
|
|
@@ -360,10 +372,13 @@ end
|
|
360
372
|
api_instance = PulpRpmClient::ContentModulemdDefaultsApi.new
|
361
373
|
rpm_modulemd_defaults_href = 'rpm_modulemd_defaults_href_example' # String |
|
362
374
|
unset_label = PulpRpmClient::UnsetLabel.new({key: 'key_example'}) # UnsetLabel |
|
375
|
+
opts = {
|
376
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
377
|
+
}
|
363
378
|
|
364
379
|
begin
|
365
380
|
# Unset a label
|
366
|
-
result = api_instance.unset_label(rpm_modulemd_defaults_href, unset_label)
|
381
|
+
result = api_instance.unset_label(rpm_modulemd_defaults_href, unset_label, opts)
|
367
382
|
p result
|
368
383
|
rescue PulpRpmClient::ApiError => e
|
369
384
|
puts "Error when calling ContentModulemdDefaultsApi->unset_label: #{e}"
|
@@ -374,12 +389,12 @@ end
|
|
374
389
|
|
375
390
|
This returns an Array which contains the response data, status code and headers.
|
376
391
|
|
377
|
-
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(rpm_modulemd_defaults_href, unset_label)
|
392
|
+
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(rpm_modulemd_defaults_href, unset_label, opts)
|
378
393
|
|
379
394
|
```ruby
|
380
395
|
begin
|
381
396
|
# Unset a label
|
382
|
-
data, status_code, headers = api_instance.unset_label_with_http_info(rpm_modulemd_defaults_href, unset_label)
|
397
|
+
data, status_code, headers = api_instance.unset_label_with_http_info(rpm_modulemd_defaults_href, unset_label, opts)
|
383
398
|
p status_code # => 2xx
|
384
399
|
p headers # => { ... }
|
385
400
|
p data # => <UnsetLabelResponse>
|
@@ -394,6 +409,7 @@ end
|
|
394
409
|
| ---- | ---- | ----------- | ----- |
|
395
410
|
| **rpm_modulemd_defaults_href** | **String** | | |
|
396
411
|
| **unset_label** | [**UnsetLabel**](UnsetLabel.md) | | |
|
412
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
397
413
|
|
398
414
|
### Return type
|
399
415
|
|
@@ -13,7 +13,7 @@ All URIs are relative to *http://localhost:24817*
|
|
13
13
|
|
14
14
|
## create
|
15
15
|
|
16
|
-
> <AsyncOperationResponse> create(rpm_modulemd_obsolete)
|
16
|
+
> <AsyncOperationResponse> create(rpm_modulemd_obsolete, opts)
|
17
17
|
|
18
18
|
Create a modulemd obsolete
|
19
19
|
|
@@ -33,10 +33,13 @@ end
|
|
33
33
|
|
34
34
|
api_instance = PulpRpmClient::ContentModulemdObsoletesApi.new
|
35
35
|
rpm_modulemd_obsolete = PulpRpmClient::RpmModulemdObsolete.new({modified: 'modified_example', module_name: 'module_name_example', module_stream: 'module_stream_example', message: 'message_example', override_previous: 'override_previous_example', module_context: 'module_context_example', eol_date: 'eol_date_example', obsoleted_by_module_name: 'obsoleted_by_module_name_example', obsoleted_by_module_stream: 'obsoleted_by_module_stream_example', snippet: 'snippet_example'}) # RpmModulemdObsolete |
|
36
|
+
opts = {
|
37
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
38
|
+
}
|
36
39
|
|
37
40
|
begin
|
38
41
|
# Create a modulemd obsolete
|
39
|
-
result = api_instance.create(rpm_modulemd_obsolete)
|
42
|
+
result = api_instance.create(rpm_modulemd_obsolete, opts)
|
40
43
|
p result
|
41
44
|
rescue PulpRpmClient::ApiError => e
|
42
45
|
puts "Error when calling ContentModulemdObsoletesApi->create: #{e}"
|
@@ -47,12 +50,12 @@ end
|
|
47
50
|
|
48
51
|
This returns an Array which contains the response data, status code and headers.
|
49
52
|
|
50
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> create_with_http_info(rpm_modulemd_obsolete)
|
53
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> create_with_http_info(rpm_modulemd_obsolete, opts)
|
51
54
|
|
52
55
|
```ruby
|
53
56
|
begin
|
54
57
|
# Create a modulemd obsolete
|
55
|
-
data, status_code, headers = api_instance.create_with_http_info(rpm_modulemd_obsolete)
|
58
|
+
data, status_code, headers = api_instance.create_with_http_info(rpm_modulemd_obsolete, opts)
|
56
59
|
p status_code # => 2xx
|
57
60
|
p headers # => { ... }
|
58
61
|
p data # => <AsyncOperationResponse>
|
@@ -66,6 +69,7 @@ end
|
|
66
69
|
| Name | Type | Description | Notes |
|
67
70
|
| ---- | ---- | ----------- | ----- |
|
68
71
|
| **rpm_modulemd_obsolete** | [**RpmModulemdObsolete**](RpmModulemdObsolete.md) | | |
|
72
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
69
73
|
|
70
74
|
### Return type
|
71
75
|
|
@@ -103,6 +107,7 @@ end
|
|
103
107
|
|
104
108
|
api_instance = PulpRpmClient::ContentModulemdObsoletesApi.new
|
105
109
|
opts = {
|
110
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
106
111
|
limit: 56, # Integer | Number of results to return per page.
|
107
112
|
offset: 56, # Integer | The initial index from which to return the results.
|
108
113
|
ordering: ['-pk'], # Array<String> | Ordering * `pk` - Pk * `-pk` - Pk (descending)
|
@@ -150,6 +155,7 @@ end
|
|
150
155
|
|
151
156
|
| Name | Type | Description | Notes |
|
152
157
|
| ---- | ---- | ----------- | ----- |
|
158
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
153
159
|
| **limit** | **Integer** | Number of results to return per page. | [optional] |
|
154
160
|
| **offset** | **Integer** | The initial index from which to return the results. | [optional] |
|
155
161
|
| **ordering** | [**Array<String>**](String.md) | Ordering * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
@@ -202,6 +208,7 @@ end
|
|
202
208
|
api_instance = PulpRpmClient::ContentModulemdObsoletesApi.new
|
203
209
|
rpm_modulemd_obsolete_href = 'rpm_modulemd_obsolete_href_example' # String |
|
204
210
|
opts = {
|
211
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
205
212
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
206
213
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
207
214
|
}
|
@@ -238,6 +245,7 @@ end
|
|
238
245
|
| Name | Type | Description | Notes |
|
239
246
|
| ---- | ---- | ----------- | ----- |
|
240
247
|
| **rpm_modulemd_obsolete_href** | **String** | | |
|
248
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
241
249
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
242
250
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
243
251
|
|
@@ -257,7 +265,7 @@ end
|
|
257
265
|
|
258
266
|
## set_label
|
259
267
|
|
260
|
-
> <SetLabelResponse> set_label(rpm_modulemd_obsolete_href, set_label)
|
268
|
+
> <SetLabelResponse> set_label(rpm_modulemd_obsolete_href, set_label, opts)
|
261
269
|
|
262
270
|
Set a label
|
263
271
|
|
@@ -278,10 +286,13 @@ end
|
|
278
286
|
api_instance = PulpRpmClient::ContentModulemdObsoletesApi.new
|
279
287
|
rpm_modulemd_obsolete_href = 'rpm_modulemd_obsolete_href_example' # String |
|
280
288
|
set_label = PulpRpmClient::SetLabel.new({key: 'key_example', value: 'value_example'}) # SetLabel |
|
289
|
+
opts = {
|
290
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
291
|
+
}
|
281
292
|
|
282
293
|
begin
|
283
294
|
# Set a label
|
284
|
-
result = api_instance.set_label(rpm_modulemd_obsolete_href, set_label)
|
295
|
+
result = api_instance.set_label(rpm_modulemd_obsolete_href, set_label, opts)
|
285
296
|
p result
|
286
297
|
rescue PulpRpmClient::ApiError => e
|
287
298
|
puts "Error when calling ContentModulemdObsoletesApi->set_label: #{e}"
|
@@ -292,12 +303,12 @@ end
|
|
292
303
|
|
293
304
|
This returns an Array which contains the response data, status code and headers.
|
294
305
|
|
295
|
-
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(rpm_modulemd_obsolete_href, set_label)
|
306
|
+
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(rpm_modulemd_obsolete_href, set_label, opts)
|
296
307
|
|
297
308
|
```ruby
|
298
309
|
begin
|
299
310
|
# Set a label
|
300
|
-
data, status_code, headers = api_instance.set_label_with_http_info(rpm_modulemd_obsolete_href, set_label)
|
311
|
+
data, status_code, headers = api_instance.set_label_with_http_info(rpm_modulemd_obsolete_href, set_label, opts)
|
301
312
|
p status_code # => 2xx
|
302
313
|
p headers # => { ... }
|
303
314
|
p data # => <SetLabelResponse>
|
@@ -312,6 +323,7 @@ end
|
|
312
323
|
| ---- | ---- | ----------- | ----- |
|
313
324
|
| **rpm_modulemd_obsolete_href** | **String** | | |
|
314
325
|
| **set_label** | [**SetLabel**](SetLabel.md) | | |
|
326
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
315
327
|
|
316
328
|
### Return type
|
317
329
|
|
@@ -329,7 +341,7 @@ end
|
|
329
341
|
|
330
342
|
## unset_label
|
331
343
|
|
332
|
-
> <UnsetLabelResponse> unset_label(rpm_modulemd_obsolete_href, unset_label)
|
344
|
+
> <UnsetLabelResponse> unset_label(rpm_modulemd_obsolete_href, unset_label, opts)
|
333
345
|
|
334
346
|
Unset a label
|
335
347
|
|
@@ -350,10 +362,13 @@ end
|
|
350
362
|
api_instance = PulpRpmClient::ContentModulemdObsoletesApi.new
|
351
363
|
rpm_modulemd_obsolete_href = 'rpm_modulemd_obsolete_href_example' # String |
|
352
364
|
unset_label = PulpRpmClient::UnsetLabel.new({key: 'key_example'}) # UnsetLabel |
|
365
|
+
opts = {
|
366
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
367
|
+
}
|
353
368
|
|
354
369
|
begin
|
355
370
|
# Unset a label
|
356
|
-
result = api_instance.unset_label(rpm_modulemd_obsolete_href, unset_label)
|
371
|
+
result = api_instance.unset_label(rpm_modulemd_obsolete_href, unset_label, opts)
|
357
372
|
p result
|
358
373
|
rescue PulpRpmClient::ApiError => e
|
359
374
|
puts "Error when calling ContentModulemdObsoletesApi->unset_label: #{e}"
|
@@ -364,12 +379,12 @@ end
|
|
364
379
|
|
365
380
|
This returns an Array which contains the response data, status code and headers.
|
366
381
|
|
367
|
-
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(rpm_modulemd_obsolete_href, unset_label)
|
382
|
+
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(rpm_modulemd_obsolete_href, unset_label, opts)
|
368
383
|
|
369
384
|
```ruby
|
370
385
|
begin
|
371
386
|
# Unset a label
|
372
|
-
data, status_code, headers = api_instance.unset_label_with_http_info(rpm_modulemd_obsolete_href, unset_label)
|
387
|
+
data, status_code, headers = api_instance.unset_label_with_http_info(rpm_modulemd_obsolete_href, unset_label, opts)
|
373
388
|
p status_code # => 2xx
|
374
389
|
p headers # => { ... }
|
375
390
|
p data # => <UnsetLabelResponse>
|
@@ -384,6 +399,7 @@ end
|
|
384
399
|
| ---- | ---- | ----------- | ----- |
|
385
400
|
| **rpm_modulemd_obsolete_href** | **String** | | |
|
386
401
|
| **unset_label** | [**UnsetLabel**](UnsetLabel.md) | | |
|
402
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
387
403
|
|
388
404
|
### Return type
|
389
405
|
|
data/docs/ContentModulemdsApi.md
CHANGED
@@ -13,7 +13,7 @@ All URIs are relative to *http://localhost:24817*
|
|
13
13
|
|
14
14
|
## create
|
15
15
|
|
16
|
-
> <AsyncOperationResponse> create(rpm_modulemd)
|
16
|
+
> <AsyncOperationResponse> create(rpm_modulemd, opts)
|
17
17
|
|
18
18
|
Create a modulemd
|
19
19
|
|
@@ -33,10 +33,13 @@ end
|
|
33
33
|
|
34
34
|
api_instance = PulpRpmClient::ContentModulemdsApi.new
|
35
35
|
rpm_modulemd = PulpRpmClient::RpmModulemd.new({name: 'name_example', stream: 'stream_example', version: 'version_example', context: 'context_example', arch: 'arch_example', artifacts: 3.56, dependencies: 3.56, snippet: 'snippet_example', profiles: 3.56, description: 'description_example'}) # RpmModulemd |
|
36
|
+
opts = {
|
37
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
38
|
+
}
|
36
39
|
|
37
40
|
begin
|
38
41
|
# Create a modulemd
|
39
|
-
result = api_instance.create(rpm_modulemd)
|
42
|
+
result = api_instance.create(rpm_modulemd, opts)
|
40
43
|
p result
|
41
44
|
rescue PulpRpmClient::ApiError => e
|
42
45
|
puts "Error when calling ContentModulemdsApi->create: #{e}"
|
@@ -47,12 +50,12 @@ end
|
|
47
50
|
|
48
51
|
This returns an Array which contains the response data, status code and headers.
|
49
52
|
|
50
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> create_with_http_info(rpm_modulemd)
|
53
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> create_with_http_info(rpm_modulemd, opts)
|
51
54
|
|
52
55
|
```ruby
|
53
56
|
begin
|
54
57
|
# Create a modulemd
|
55
|
-
data, status_code, headers = api_instance.create_with_http_info(rpm_modulemd)
|
58
|
+
data, status_code, headers = api_instance.create_with_http_info(rpm_modulemd, opts)
|
56
59
|
p status_code # => 2xx
|
57
60
|
p headers # => { ... }
|
58
61
|
p data # => <AsyncOperationResponse>
|
@@ -66,6 +69,7 @@ end
|
|
66
69
|
| Name | Type | Description | Notes |
|
67
70
|
| ---- | ---- | ----------- | ----- |
|
68
71
|
| **rpm_modulemd** | [**RpmModulemd**](RpmModulemd.md) | | |
|
72
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
69
73
|
|
70
74
|
### Return type
|
71
75
|
|
@@ -103,6 +107,7 @@ end
|
|
103
107
|
|
104
108
|
api_instance = PulpRpmClient::ContentModulemdsApi.new
|
105
109
|
opts = {
|
110
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
106
111
|
arch: 'arch_example', # String | Filter results where arch matches value
|
107
112
|
arch__in: ['inner_example'], # Array<String> | Filter results where arch is in a comma-separated list of values
|
108
113
|
context: 'context_example', # String | Filter results where context matches value
|
@@ -161,6 +166,7 @@ end
|
|
161
166
|
|
162
167
|
| Name | Type | Description | Notes |
|
163
168
|
| ---- | ---- | ----------- | ----- |
|
169
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
164
170
|
| **arch** | **String** | Filter results where arch matches value | [optional] |
|
165
171
|
| **arch__in** | [**Array<String>**](String.md) | Filter results where arch is in a comma-separated list of values | [optional] |
|
166
172
|
| **context** | **String** | Filter results where context matches value | [optional] |
|
@@ -224,6 +230,7 @@ end
|
|
224
230
|
api_instance = PulpRpmClient::ContentModulemdsApi.new
|
225
231
|
rpm_modulemd_href = 'rpm_modulemd_href_example' # String |
|
226
232
|
opts = {
|
233
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
227
234
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
228
235
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
229
236
|
}
|
@@ -260,6 +267,7 @@ end
|
|
260
267
|
| Name | Type | Description | Notes |
|
261
268
|
| ---- | ---- | ----------- | ----- |
|
262
269
|
| **rpm_modulemd_href** | **String** | | |
|
270
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
263
271
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
264
272
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
265
273
|
|
@@ -279,7 +287,7 @@ end
|
|
279
287
|
|
280
288
|
## set_label
|
281
289
|
|
282
|
-
> <SetLabelResponse> set_label(rpm_modulemd_href, set_label)
|
290
|
+
> <SetLabelResponse> set_label(rpm_modulemd_href, set_label, opts)
|
283
291
|
|
284
292
|
Set a label
|
285
293
|
|
@@ -300,10 +308,13 @@ end
|
|
300
308
|
api_instance = PulpRpmClient::ContentModulemdsApi.new
|
301
309
|
rpm_modulemd_href = 'rpm_modulemd_href_example' # String |
|
302
310
|
set_label = PulpRpmClient::SetLabel.new({key: 'key_example', value: 'value_example'}) # SetLabel |
|
311
|
+
opts = {
|
312
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
313
|
+
}
|
303
314
|
|
304
315
|
begin
|
305
316
|
# Set a label
|
306
|
-
result = api_instance.set_label(rpm_modulemd_href, set_label)
|
317
|
+
result = api_instance.set_label(rpm_modulemd_href, set_label, opts)
|
307
318
|
p result
|
308
319
|
rescue PulpRpmClient::ApiError => e
|
309
320
|
puts "Error when calling ContentModulemdsApi->set_label: #{e}"
|
@@ -314,12 +325,12 @@ end
|
|
314
325
|
|
315
326
|
This returns an Array which contains the response data, status code and headers.
|
316
327
|
|
317
|
-
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(rpm_modulemd_href, set_label)
|
328
|
+
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(rpm_modulemd_href, set_label, opts)
|
318
329
|
|
319
330
|
```ruby
|
320
331
|
begin
|
321
332
|
# Set a label
|
322
|
-
data, status_code, headers = api_instance.set_label_with_http_info(rpm_modulemd_href, set_label)
|
333
|
+
data, status_code, headers = api_instance.set_label_with_http_info(rpm_modulemd_href, set_label, opts)
|
323
334
|
p status_code # => 2xx
|
324
335
|
p headers # => { ... }
|
325
336
|
p data # => <SetLabelResponse>
|
@@ -334,6 +345,7 @@ end
|
|
334
345
|
| ---- | ---- | ----------- | ----- |
|
335
346
|
| **rpm_modulemd_href** | **String** | | |
|
336
347
|
| **set_label** | [**SetLabel**](SetLabel.md) | | |
|
348
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
337
349
|
|
338
350
|
### Return type
|
339
351
|
|
@@ -351,7 +363,7 @@ end
|
|
351
363
|
|
352
364
|
## unset_label
|
353
365
|
|
354
|
-
> <UnsetLabelResponse> unset_label(rpm_modulemd_href, unset_label)
|
366
|
+
> <UnsetLabelResponse> unset_label(rpm_modulemd_href, unset_label, opts)
|
355
367
|
|
356
368
|
Unset a label
|
357
369
|
|
@@ -372,10 +384,13 @@ end
|
|
372
384
|
api_instance = PulpRpmClient::ContentModulemdsApi.new
|
373
385
|
rpm_modulemd_href = 'rpm_modulemd_href_example' # String |
|
374
386
|
unset_label = PulpRpmClient::UnsetLabel.new({key: 'key_example'}) # UnsetLabel |
|
387
|
+
opts = {
|
388
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
389
|
+
}
|
375
390
|
|
376
391
|
begin
|
377
392
|
# Unset a label
|
378
|
-
result = api_instance.unset_label(rpm_modulemd_href, unset_label)
|
393
|
+
result = api_instance.unset_label(rpm_modulemd_href, unset_label, opts)
|
379
394
|
p result
|
380
395
|
rescue PulpRpmClient::ApiError => e
|
381
396
|
puts "Error when calling ContentModulemdsApi->unset_label: #{e}"
|
@@ -386,12 +401,12 @@ end
|
|
386
401
|
|
387
402
|
This returns an Array which contains the response data, status code and headers.
|
388
403
|
|
389
|
-
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(rpm_modulemd_href, unset_label)
|
404
|
+
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(rpm_modulemd_href, unset_label, opts)
|
390
405
|
|
391
406
|
```ruby
|
392
407
|
begin
|
393
408
|
# Unset a label
|
394
|
-
data, status_code, headers = api_instance.unset_label_with_http_info(rpm_modulemd_href, unset_label)
|
409
|
+
data, status_code, headers = api_instance.unset_label_with_http_info(rpm_modulemd_href, unset_label, opts)
|
395
410
|
p status_code # => 2xx
|
396
411
|
p headers # => { ... }
|
397
412
|
p data # => <UnsetLabelResponse>
|
@@ -406,6 +421,7 @@ end
|
|
406
421
|
| ---- | ---- | ----------- | ----- |
|
407
422
|
| **rpm_modulemd_href** | **String** | | |
|
408
423
|
| **unset_label** | [**UnsetLabel**](UnsetLabel.md) | | |
|
424
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
409
425
|
|
410
426
|
### Return type
|
411
427
|
|