pulp_rpm_client 3.30.2 → 3.31.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +9 -5
- data/docs/AcsRpmApi.md +64 -28
- data/docs/ContentAdvisoriesApi.md +22 -8
- data/docs/ContentDistributionTreesApi.md +20 -8
- data/docs/ContentModulemdDefaultsApi.md +28 -12
- data/docs/ContentModulemdObsoletesApi.md +28 -12
- data/docs/ContentModulemdsApi.md +28 -12
- data/docs/ContentPackagecategoriesApi.md +20 -8
- data/docs/ContentPackageenvironmentsApi.md +20 -8
- data/docs/ContentPackagegroupsApi.md +20 -8
- data/docs/ContentPackagelangpacksApi.md +20 -8
- data/docs/ContentPackagesApi.md +105 -8
- data/docs/ContentRepoMetadataFilesApi.md +20 -8
- data/docs/DistributionsRpmApi.md +72 -32
- data/docs/PublicationsRpmApi.md +40 -16
- data/docs/RemotesRpmApi.md +72 -32
- data/docs/RemotesUlnApi.md +72 -32
- data/docs/RepositoriesRpmApi.md +88 -40
- data/docs/RepositoriesRpmVersionsApi.md +20 -8
- data/docs/RpmCompsApi.md +2 -0
- data/docs/RpmCopyApi.md +8 -4
- data/docs/RpmPruneApi.md +8 -4
- data/lib/pulp_rpm_client/api/acs_rpm_api.rb +33 -0
- data/lib/pulp_rpm_client/api/content_advisories_api.rb +15 -0
- data/lib/pulp_rpm_client/api/content_distribution_trees_api.rb +12 -0
- data/lib/pulp_rpm_client/api/content_modulemd_defaults_api.rb +15 -0
- data/lib/pulp_rpm_client/api/content_modulemd_obsoletes_api.rb +15 -0
- data/lib/pulp_rpm_client/api/content_modulemds_api.rb +15 -0
- data/lib/pulp_rpm_client/api/content_packagecategories_api.rb +12 -0
- data/lib/pulp_rpm_client/api/content_packageenvironments_api.rb +12 -0
- data/lib/pulp_rpm_client/api/content_packagegroups_api.rb +12 -0
- data/lib/pulp_rpm_client/api/content_packagelangpacks_api.rb +12 -0
- data/lib/pulp_rpm_client/api/content_packages_api.rb +99 -0
- data/lib/pulp_rpm_client/api/content_repo_metadata_files_api.rb +12 -0
- data/lib/pulp_rpm_client/api/distributions_rpm_api.rb +36 -0
- data/lib/pulp_rpm_client/api/publications_rpm_api.rb +24 -0
- data/lib/pulp_rpm_client/api/remotes_rpm_api.rb +36 -0
- data/lib/pulp_rpm_client/api/remotes_uln_api.rb +36 -0
- data/lib/pulp_rpm_client/api/repositories_rpm_api.rb +42 -0
- data/lib/pulp_rpm_client/api/repositories_rpm_versions_api.rb +12 -0
- data/lib/pulp_rpm_client/api/rpm_comps_api.rb +3 -0
- data/lib/pulp_rpm_client/api/rpm_copy_api.rb +3 -0
- data/lib/pulp_rpm_client/api/rpm_prune_api.rb +3 -0
- data/lib/pulp_rpm_client/version.rb +1 -1
- data/spec/api/acs_rpm_api_spec.rb +11 -0
- data/spec/api/content_advisories_api_spec.rb +5 -0
- data/spec/api/content_distribution_trees_api_spec.rb +4 -0
- data/spec/api/content_modulemd_defaults_api_spec.rb +5 -0
- data/spec/api/content_modulemd_obsoletes_api_spec.rb +5 -0
- data/spec/api/content_modulemds_api_spec.rb +5 -0
- data/spec/api/content_packagecategories_api_spec.rb +4 -0
- data/spec/api/content_packageenvironments_api_spec.rb +4 -0
- data/spec/api/content_packagegroups_api_spec.rb +4 -0
- data/spec/api/content_packagelangpacks_api_spec.rb +4 -0
- data/spec/api/content_packages_api_spec.rb +22 -0
- data/spec/api/content_repo_metadata_files_api_spec.rb +4 -0
- data/spec/api/distributions_rpm_api_spec.rb +12 -0
- data/spec/api/publications_rpm_api_spec.rb +8 -0
- data/spec/api/remotes_rpm_api_spec.rb +12 -0
- data/spec/api/remotes_uln_api_spec.rb +12 -0
- data/spec/api/repositories_rpm_api_spec.rb +14 -0
- data/spec/api/repositories_rpm_versions_api_spec.rb +4 -0
- data/spec/api/rpm_comps_api_spec.rb +1 -0
- data/spec/api/rpm_copy_api_spec.rb +1 -0
- data/spec/api/rpm_prune_api_spec.rb +1 -0
- metadata +82 -82
@@ -32,6 +32,7 @@ end
|
|
32
32
|
|
33
33
|
api_instance = PulpRpmClient::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
|
|