pulp_rpm_client 3.31.0 → 3.31.2
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 +24 -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 +18 -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 +6 -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 +78 -78
@@ -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
@@ -34,6 +34,7 @@ end
|
|
34
34
|
|
35
35
|
api_instance = PulpRpmClient::ContentPackagesApi.new
|
36
36
|
opts = {
|
37
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
37
38
|
repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
|
38
39
|
pulp_labels: { key: 'inner_example'}, # Hash<String, String> | A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
39
40
|
artifact: 'artifact_example', # String | Artifact file representing the physical content
|
@@ -74,6 +75,7 @@ end
|
|
74
75
|
|
75
76
|
| Name | Type | Description | Notes |
|
76
77
|
| ---- | ---- | ----------- | ----- |
|
78
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
77
79
|
| **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
|
78
80
|
| **pulp_labels** | [**Hash<String, String>**](Hash.md) | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
79
81
|
| **artifact** | **String** | Artifact file representing the physical content | [optional] |
|
@@ -118,6 +120,7 @@ end
|
|
118
120
|
|
119
121
|
api_instance = PulpRpmClient::ContentPackagesApi.new
|
120
122
|
opts = {
|
123
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
121
124
|
arch: 'arch_example', # String | Filter results where arch matches value
|
122
125
|
arch__contains: 'arch__contains_example', # String | Filter results where arch contains value
|
123
126
|
arch__in: ['inner_example'], # Array<String> | Filter results where arch is in a comma-separated list of values
|
@@ -193,6 +196,7 @@ end
|
|
193
196
|
|
194
197
|
| Name | Type | Description | Notes |
|
195
198
|
| ---- | ---- | ----------- | ----- |
|
199
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
196
200
|
| **arch** | **String** | Filter results where arch matches value | [optional] |
|
197
201
|
| **arch__contains** | **String** | Filter results where arch contains value | [optional] |
|
198
202
|
| **arch__in** | [**Array<String>**](String.md) | Filter results where arch is in a comma-separated list of values | [optional] |
|
@@ -273,6 +277,7 @@ end
|
|
273
277
|
api_instance = PulpRpmClient::ContentPackagesApi.new
|
274
278
|
rpm_package_href = 'rpm_package_href_example' # String |
|
275
279
|
opts = {
|
280
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
276
281
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
277
282
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
278
283
|
}
|
@@ -309,6 +314,7 @@ end
|
|
309
314
|
| Name | Type | Description | Notes |
|
310
315
|
| ---- | ---- | ----------- | ----- |
|
311
316
|
| **rpm_package_href** | **String** | | |
|
317
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
312
318
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
313
319
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
314
320
|
|
@@ -328,7 +334,7 @@ end
|
|
328
334
|
|
329
335
|
## set_label
|
330
336
|
|
331
|
-
> <SetLabelResponse> set_label(rpm_package_href, set_label)
|
337
|
+
> <SetLabelResponse> set_label(rpm_package_href, set_label, opts)
|
332
338
|
|
333
339
|
Set a label
|
334
340
|
|
@@ -349,10 +355,13 @@ end
|
|
349
355
|
api_instance = PulpRpmClient::ContentPackagesApi.new
|
350
356
|
rpm_package_href = 'rpm_package_href_example' # String |
|
351
357
|
set_label = PulpRpmClient::SetLabel.new({key: 'key_example', value: 'value_example'}) # SetLabel |
|
358
|
+
opts = {
|
359
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
360
|
+
}
|
352
361
|
|
353
362
|
begin
|
354
363
|
# Set a label
|
355
|
-
result = api_instance.set_label(rpm_package_href, set_label)
|
364
|
+
result = api_instance.set_label(rpm_package_href, set_label, opts)
|
356
365
|
p result
|
357
366
|
rescue PulpRpmClient::ApiError => e
|
358
367
|
puts "Error when calling ContentPackagesApi->set_label: #{e}"
|
@@ -363,12 +372,12 @@ end
|
|
363
372
|
|
364
373
|
This returns an Array which contains the response data, status code and headers.
|
365
374
|
|
366
|
-
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(rpm_package_href, set_label)
|
375
|
+
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(rpm_package_href, set_label, opts)
|
367
376
|
|
368
377
|
```ruby
|
369
378
|
begin
|
370
379
|
# Set a label
|
371
|
-
data, status_code, headers = api_instance.set_label_with_http_info(rpm_package_href, set_label)
|
380
|
+
data, status_code, headers = api_instance.set_label_with_http_info(rpm_package_href, set_label, opts)
|
372
381
|
p status_code # => 2xx
|
373
382
|
p headers # => { ... }
|
374
383
|
p data # => <SetLabelResponse>
|
@@ -383,6 +392,7 @@ end
|
|
383
392
|
| ---- | ---- | ----------- | ----- |
|
384
393
|
| **rpm_package_href** | **String** | | |
|
385
394
|
| **set_label** | [**SetLabel**](SetLabel.md) | | |
|
395
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
386
396
|
|
387
397
|
### Return type
|
388
398
|
|
@@ -400,7 +410,7 @@ end
|
|
400
410
|
|
401
411
|
## unset_label
|
402
412
|
|
403
|
-
> <UnsetLabelResponse> unset_label(rpm_package_href, unset_label)
|
413
|
+
> <UnsetLabelResponse> unset_label(rpm_package_href, unset_label, opts)
|
404
414
|
|
405
415
|
Unset a label
|
406
416
|
|
@@ -421,10 +431,13 @@ end
|
|
421
431
|
api_instance = PulpRpmClient::ContentPackagesApi.new
|
422
432
|
rpm_package_href = 'rpm_package_href_example' # String |
|
423
433
|
unset_label = PulpRpmClient::UnsetLabel.new({key: 'key_example'}) # UnsetLabel |
|
434
|
+
opts = {
|
435
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
436
|
+
}
|
424
437
|
|
425
438
|
begin
|
426
439
|
# Unset a label
|
427
|
-
result = api_instance.unset_label(rpm_package_href, unset_label)
|
440
|
+
result = api_instance.unset_label(rpm_package_href, unset_label, opts)
|
428
441
|
p result
|
429
442
|
rescue PulpRpmClient::ApiError => e
|
430
443
|
puts "Error when calling ContentPackagesApi->unset_label: #{e}"
|
@@ -435,12 +448,12 @@ end
|
|
435
448
|
|
436
449
|
This returns an Array which contains the response data, status code and headers.
|
437
450
|
|
438
|
-
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(rpm_package_href, unset_label)
|
451
|
+
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(rpm_package_href, unset_label, opts)
|
439
452
|
|
440
453
|
```ruby
|
441
454
|
begin
|
442
455
|
# Unset a label
|
443
|
-
data, status_code, headers = api_instance.unset_label_with_http_info(rpm_package_href, unset_label)
|
456
|
+
data, status_code, headers = api_instance.unset_label_with_http_info(rpm_package_href, unset_label, opts)
|
444
457
|
p status_code # => 2xx
|
445
458
|
p headers # => { ... }
|
446
459
|
p data # => <UnsetLabelResponse>
|
@@ -455,6 +468,7 @@ end
|
|
455
468
|
| ---- | ---- | ----------- | ----- |
|
456
469
|
| **rpm_package_href** | **String** | | |
|
457
470
|
| **unset_label** | [**UnsetLabel**](UnsetLabel.md) | | |
|
471
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
458
472
|
|
459
473
|
### Return type
|
460
474
|
|
@@ -492,6 +506,7 @@ end
|
|
492
506
|
|
493
507
|
api_instance = PulpRpmClient::ContentPackagesApi.new
|
494
508
|
opts = {
|
509
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
495
510
|
pulp_labels: { key: 'inner_example'}, # Hash<String, String> | A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
496
511
|
artifact: 'artifact_example', # String | Artifact file representing the physical content
|
497
512
|
file: File.new('/path/to/some/file'), # File | An uploaded file that may be turned into the content unit.
|
@@ -530,6 +545,7 @@ end
|
|
530
545
|
|
531
546
|
| Name | Type | Description | Notes |
|
532
547
|
| ---- | ---- | ----------- | ----- |
|
548
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
533
549
|
| **pulp_labels** | [**Hash<String, String>**](Hash.md) | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
534
550
|
| **artifact** | **String** | Artifact file representing the physical content | [optional] |
|
535
551
|
| **file** | **File** | An uploaded file that may be turned into the content unit. | [optional] |
|