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