pulp_rpm_client 3.29.4 → 3.29.5
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/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 +22 -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 +22 -10
- 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 +15 -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 +15 -3
- 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 +5 -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 +5 -1
- 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 +80 -80
@@ -32,6 +32,7 @@ end
|
|
32
32
|
|
33
33
|
api_instance = PulpRpmClient::ContentPackagecategoriesApi.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::ContentPackagecategoriesApi.new
|
132
134
|
rpm_package_category_href = 'rpm_package_category_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_package_category_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_package_category_href, set_label)
|
193
|
+
> <SetLabelResponse> set_label(rpm_package_category_href, set_label, opts)
|
190
194
|
|
191
195
|
Set a label
|
192
196
|
|
@@ -207,10 +211,13 @@ end
|
|
207
211
|
api_instance = PulpRpmClient::ContentPackagecategoriesApi.new
|
208
212
|
rpm_package_category_href = 'rpm_package_category_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_package_category_href, set_label)
|
220
|
+
result = api_instance.set_label(rpm_package_category_href, set_label, opts)
|
214
221
|
p result
|
215
222
|
rescue PulpRpmClient::ApiError => e
|
216
223
|
puts "Error when calling ContentPackagecategoriesApi->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_package_category_href, set_label)
|
231
|
+
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(rpm_package_category_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_package_category_href, set_label)
|
236
|
+
data, status_code, headers = api_instance.set_label_with_http_info(rpm_package_category_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_package_category_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_package_category_href, unset_label)
|
269
|
+
> <UnsetLabelResponse> unset_label(rpm_package_category_href, unset_label, opts)
|
262
270
|
|
263
271
|
Unset a label
|
264
272
|
|
@@ -279,10 +287,13 @@ end
|
|
279
287
|
api_instance = PulpRpmClient::ContentPackagecategoriesApi.new
|
280
288
|
rpm_package_category_href = 'rpm_package_category_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_package_category_href, unset_label)
|
296
|
+
result = api_instance.unset_label(rpm_package_category_href, unset_label, opts)
|
286
297
|
p result
|
287
298
|
rescue PulpRpmClient::ApiError => e
|
288
299
|
puts "Error when calling ContentPackagecategoriesApi->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_package_category_href, unset_label)
|
307
|
+
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(rpm_package_category_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_package_category_href, unset_label)
|
312
|
+
data, status_code, headers = api_instance.unset_label_with_http_info(rpm_package_category_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_package_category_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
|
|
@@ -32,6 +32,7 @@ end
|
|
32
32
|
|
33
33
|
api_instance = PulpRpmClient::ContentPackageenvironmentsApi.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::ContentPackageenvironmentsApi.new
|
132
134
|
rpm_package_environment_href = 'rpm_package_environment_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_package_environment_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_package_environment_href, set_label)
|
193
|
+
> <SetLabelResponse> set_label(rpm_package_environment_href, set_label, opts)
|
190
194
|
|
191
195
|
Set a label
|
192
196
|
|
@@ -207,10 +211,13 @@ end
|
|
207
211
|
api_instance = PulpRpmClient::ContentPackageenvironmentsApi.new
|
208
212
|
rpm_package_environment_href = 'rpm_package_environment_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_package_environment_href, set_label)
|
220
|
+
result = api_instance.set_label(rpm_package_environment_href, set_label, opts)
|
214
221
|
p result
|
215
222
|
rescue PulpRpmClient::ApiError => e
|
216
223
|
puts "Error when calling ContentPackageenvironmentsApi->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_package_environment_href, set_label)
|
231
|
+
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(rpm_package_environment_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_package_environment_href, set_label)
|
236
|
+
data, status_code, headers = api_instance.set_label_with_http_info(rpm_package_environment_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_package_environment_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_package_environment_href, unset_label)
|
269
|
+
> <UnsetLabelResponse> unset_label(rpm_package_environment_href, unset_label, opts)
|
262
270
|
|
263
271
|
Unset a label
|
264
272
|
|
@@ -279,10 +287,13 @@ end
|
|
279
287
|
api_instance = PulpRpmClient::ContentPackageenvironmentsApi.new
|
280
288
|
rpm_package_environment_href = 'rpm_package_environment_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_package_environment_href, unset_label)
|
296
|
+
result = api_instance.unset_label(rpm_package_environment_href, unset_label, opts)
|
286
297
|
p result
|
287
298
|
rescue PulpRpmClient::ApiError => e
|
288
299
|
puts "Error when calling ContentPackageenvironmentsApi->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_package_environment_href, unset_label)
|
307
|
+
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(rpm_package_environment_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_package_environment_href, unset_label)
|
312
|
+
data, status_code, headers = api_instance.unset_label_with_http_info(rpm_package_environment_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_package_environment_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
|
|
@@ -32,6 +32,7 @@ end
|
|
32
32
|
|
33
33
|
api_instance = PulpRpmClient::ContentPackagegroupsApi.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::ContentPackagegroupsApi.new
|
132
134
|
rpm_package_group_href = 'rpm_package_group_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_package_group_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_package_group_href, set_label)
|
193
|
+
> <SetLabelResponse> set_label(rpm_package_group_href, set_label, opts)
|
190
194
|
|
191
195
|
Set a label
|
192
196
|
|
@@ -207,10 +211,13 @@ end
|
|
207
211
|
api_instance = PulpRpmClient::ContentPackagegroupsApi.new
|
208
212
|
rpm_package_group_href = 'rpm_package_group_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_package_group_href, set_label)
|
220
|
+
result = api_instance.set_label(rpm_package_group_href, set_label, opts)
|
214
221
|
p result
|
215
222
|
rescue PulpRpmClient::ApiError => e
|
216
223
|
puts "Error when calling ContentPackagegroupsApi->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_package_group_href, set_label)
|
231
|
+
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(rpm_package_group_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_package_group_href, set_label)
|
236
|
+
data, status_code, headers = api_instance.set_label_with_http_info(rpm_package_group_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_package_group_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_package_group_href, unset_label)
|
269
|
+
> <UnsetLabelResponse> unset_label(rpm_package_group_href, unset_label, opts)
|
262
270
|
|
263
271
|
Unset a label
|
264
272
|
|
@@ -279,10 +287,13 @@ end
|
|
279
287
|
api_instance = PulpRpmClient::ContentPackagegroupsApi.new
|
280
288
|
rpm_package_group_href = 'rpm_package_group_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_package_group_href, unset_label)
|
296
|
+
result = api_instance.unset_label(rpm_package_group_href, unset_label, opts)
|
286
297
|
p result
|
287
298
|
rescue PulpRpmClient::ApiError => e
|
288
299
|
puts "Error when calling ContentPackagegroupsApi->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_package_group_href, unset_label)
|
307
|
+
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(rpm_package_group_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_package_group_href, unset_label)
|
312
|
+
data, status_code, headers = api_instance.unset_label_with_http_info(rpm_package_group_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_package_group_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
|
|
@@ -32,6 +32,7 @@ end
|
|
32
32
|
|
33
33
|
api_instance = PulpRpmClient::ContentPackagelangpacksApi.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::ContentPackagelangpacksApi.new
|
132
134
|
rpm_package_langpacks_href = 'rpm_package_langpacks_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_package_langpacks_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_package_langpacks_href, set_label)
|
193
|
+
> <SetLabelResponse> set_label(rpm_package_langpacks_href, set_label, opts)
|
190
194
|
|
191
195
|
Set a label
|
192
196
|
|
@@ -207,10 +211,13 @@ end
|
|
207
211
|
api_instance = PulpRpmClient::ContentPackagelangpacksApi.new
|
208
212
|
rpm_package_langpacks_href = 'rpm_package_langpacks_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_package_langpacks_href, set_label)
|
220
|
+
result = api_instance.set_label(rpm_package_langpacks_href, set_label, opts)
|
214
221
|
p result
|
215
222
|
rescue PulpRpmClient::ApiError => e
|
216
223
|
puts "Error when calling ContentPackagelangpacksApi->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_package_langpacks_href, set_label)
|
231
|
+
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(rpm_package_langpacks_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_package_langpacks_href, set_label)
|
236
|
+
data, status_code, headers = api_instance.set_label_with_http_info(rpm_package_langpacks_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_package_langpacks_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_package_langpacks_href, unset_label)
|
269
|
+
> <UnsetLabelResponse> unset_label(rpm_package_langpacks_href, unset_label, opts)
|
262
270
|
|
263
271
|
Unset a label
|
264
272
|
|
@@ -279,10 +287,13 @@ end
|
|
279
287
|
api_instance = PulpRpmClient::ContentPackagelangpacksApi.new
|
280
288
|
rpm_package_langpacks_href = 'rpm_package_langpacks_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_package_langpacks_href, unset_label)
|
296
|
+
result = api_instance.unset_label(rpm_package_langpacks_href, unset_label, opts)
|
286
297
|
p result
|
287
298
|
rescue PulpRpmClient::ApiError => e
|
288
299
|
puts "Error when calling ContentPackagelangpacksApi->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_package_langpacks_href, unset_label)
|
307
|
+
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(rpm_package_langpacks_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_package_langpacks_href, unset_label)
|
312
|
+
data, status_code, headers = api_instance.unset_label_with_http_info(rpm_package_langpacks_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_package_langpacks_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
|
|
data/docs/ContentPackagesApi.md
CHANGED
@@ -33,6 +33,7 @@ end
|
|
33
33
|
|
34
34
|
api_instance = PulpRpmClient::ContentPackagesApi.new
|
35
35
|
opts = {
|
36
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
36
37
|
repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
|
37
38
|
pulp_labels: { key: 'inner_example'}, # Hash<String, String> | A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
38
39
|
artifact: 'artifact_example', # String | Artifact file representing the physical content
|
@@ -73,6 +74,7 @@ end
|
|
73
74
|
|
74
75
|
| Name | Type | Description | Notes |
|
75
76
|
| ---- | ---- | ----------- | ----- |
|
77
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
76
78
|
| **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
|
77
79
|
| **pulp_labels** | [**Hash<String, String>**](Hash.md) | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
78
80
|
| **artifact** | **String** | Artifact file representing the physical content | [optional] |
|
@@ -117,6 +119,7 @@ end
|
|
117
119
|
|
118
120
|
api_instance = PulpRpmClient::ContentPackagesApi.new
|
119
121
|
opts = {
|
122
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
120
123
|
arch: 'arch_example', # String | Filter results where arch matches value
|
121
124
|
arch__contains: 'arch__contains_example', # String | Filter results where arch contains value
|
122
125
|
arch__in: ['inner_example'], # Array<String> | Filter results where arch is in a comma-separated list of values
|
@@ -192,6 +195,7 @@ end
|
|
192
195
|
|
193
196
|
| Name | Type | Description | Notes |
|
194
197
|
| ---- | ---- | ----------- | ----- |
|
198
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
195
199
|
| **arch** | **String** | Filter results where arch matches value | [optional] |
|
196
200
|
| **arch__contains** | **String** | Filter results where arch contains value | [optional] |
|
197
201
|
| **arch__in** | [**Array<String>**](String.md) | Filter results where arch is in a comma-separated list of values | [optional] |
|
@@ -272,6 +276,7 @@ end
|
|
272
276
|
api_instance = PulpRpmClient::ContentPackagesApi.new
|
273
277
|
rpm_package_href = 'rpm_package_href_example' # String |
|
274
278
|
opts = {
|
279
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
275
280
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
276
281
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
277
282
|
}
|
@@ -308,6 +313,7 @@ end
|
|
308
313
|
| Name | Type | Description | Notes |
|
309
314
|
| ---- | ---- | ----------- | ----- |
|
310
315
|
| **rpm_package_href** | **String** | | |
|
316
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
311
317
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
312
318
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
313
319
|
|
@@ -327,7 +333,7 @@ end
|
|
327
333
|
|
328
334
|
## set_label
|
329
335
|
|
330
|
-
> <SetLabelResponse> set_label(rpm_package_href, set_label)
|
336
|
+
> <SetLabelResponse> set_label(rpm_package_href, set_label, opts)
|
331
337
|
|
332
338
|
Set a label
|
333
339
|
|
@@ -348,10 +354,13 @@ end
|
|
348
354
|
api_instance = PulpRpmClient::ContentPackagesApi.new
|
349
355
|
rpm_package_href = 'rpm_package_href_example' # String |
|
350
356
|
set_label = PulpRpmClient::SetLabel.new({key: 'key_example', value: 'value_example'}) # SetLabel |
|
357
|
+
opts = {
|
358
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
359
|
+
}
|
351
360
|
|
352
361
|
begin
|
353
362
|
# Set a label
|
354
|
-
result = api_instance.set_label(rpm_package_href, set_label)
|
363
|
+
result = api_instance.set_label(rpm_package_href, set_label, opts)
|
355
364
|
p result
|
356
365
|
rescue PulpRpmClient::ApiError => e
|
357
366
|
puts "Error when calling ContentPackagesApi->set_label: #{e}"
|
@@ -362,12 +371,12 @@ end
|
|
362
371
|
|
363
372
|
This returns an Array which contains the response data, status code and headers.
|
364
373
|
|
365
|
-
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(rpm_package_href, set_label)
|
374
|
+
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(rpm_package_href, set_label, opts)
|
366
375
|
|
367
376
|
```ruby
|
368
377
|
begin
|
369
378
|
# Set a label
|
370
|
-
data, status_code, headers = api_instance.set_label_with_http_info(rpm_package_href, set_label)
|
379
|
+
data, status_code, headers = api_instance.set_label_with_http_info(rpm_package_href, set_label, opts)
|
371
380
|
p status_code # => 2xx
|
372
381
|
p headers # => { ... }
|
373
382
|
p data # => <SetLabelResponse>
|
@@ -382,6 +391,7 @@ end
|
|
382
391
|
| ---- | ---- | ----------- | ----- |
|
383
392
|
| **rpm_package_href** | **String** | | |
|
384
393
|
| **set_label** | [**SetLabel**](SetLabel.md) | | |
|
394
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
385
395
|
|
386
396
|
### Return type
|
387
397
|
|
@@ -399,7 +409,7 @@ end
|
|
399
409
|
|
400
410
|
## unset_label
|
401
411
|
|
402
|
-
> <UnsetLabelResponse> unset_label(rpm_package_href, unset_label)
|
412
|
+
> <UnsetLabelResponse> unset_label(rpm_package_href, unset_label, opts)
|
403
413
|
|
404
414
|
Unset a label
|
405
415
|
|
@@ -420,10 +430,13 @@ end
|
|
420
430
|
api_instance = PulpRpmClient::ContentPackagesApi.new
|
421
431
|
rpm_package_href = 'rpm_package_href_example' # String |
|
422
432
|
unset_label = PulpRpmClient::UnsetLabel.new({key: 'key_example'}) # UnsetLabel |
|
433
|
+
opts = {
|
434
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
435
|
+
}
|
423
436
|
|
424
437
|
begin
|
425
438
|
# Unset a label
|
426
|
-
result = api_instance.unset_label(rpm_package_href, unset_label)
|
439
|
+
result = api_instance.unset_label(rpm_package_href, unset_label, opts)
|
427
440
|
p result
|
428
441
|
rescue PulpRpmClient::ApiError => e
|
429
442
|
puts "Error when calling ContentPackagesApi->unset_label: #{e}"
|
@@ -434,12 +447,12 @@ end
|
|
434
447
|
|
435
448
|
This returns an Array which contains the response data, status code and headers.
|
436
449
|
|
437
|
-
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(rpm_package_href, unset_label)
|
450
|
+
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(rpm_package_href, unset_label, opts)
|
438
451
|
|
439
452
|
```ruby
|
440
453
|
begin
|
441
454
|
# Unset a label
|
442
|
-
data, status_code, headers = api_instance.unset_label_with_http_info(rpm_package_href, unset_label)
|
455
|
+
data, status_code, headers = api_instance.unset_label_with_http_info(rpm_package_href, unset_label, opts)
|
443
456
|
p status_code # => 2xx
|
444
457
|
p headers # => { ... }
|
445
458
|
p data # => <UnsetLabelResponse>
|
@@ -454,6 +467,7 @@ end
|
|
454
467
|
| ---- | ---- | ----------- | ----- |
|
455
468
|
| **rpm_package_href** | **String** | | |
|
456
469
|
| **unset_label** | [**UnsetLabel**](UnsetLabel.md) | | |
|
470
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
457
471
|
|
458
472
|
### Return type
|
459
473
|
|