pulp_deb_client 3.5.2 → 3.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +5 -4
- data/docs/ContentGenericContentsApi.md +22 -8
- data/docs/ContentInstallerFileIndicesApi.md +28 -12
- data/docs/ContentInstallerPackagesApi.md +22 -8
- data/docs/ContentPackageIndicesApi.md +28 -12
- data/docs/ContentPackageReleaseComponentsApi.md +28 -12
- data/docs/ContentPackagesApi.md +22 -8
- data/docs/ContentReleaseArchitecturesApi.md +28 -12
- data/docs/ContentReleaseComponentsApi.md +28 -12
- data/docs/ContentReleaseFilesApi.md +28 -12
- data/docs/ContentReleasesApi.md +28 -12
- data/docs/ContentSourceIndicesApi.md +28 -12
- data/docs/ContentSourcePackagesApi.md +28 -12
- data/docs/ContentSourceReleaseComponentsApi.md +28 -12
- data/docs/DebAptDistribution.md +3 -1
- data/docs/DebAptDistributionResponse.md +3 -1
- data/docs/DebAptPublication.md +2 -0
- data/docs/DebAptPublicationResponse.md +2 -0
- data/docs/DebCopyApi.md +8 -4
- data/docs/DistributionsAptApi.md +72 -32
- data/docs/PatcheddebAptDistribution.md +3 -1
- data/docs/PublicationsAptApi.md +40 -16
- data/docs/PublicationsVerbatimApi.md +40 -16
- data/docs/RemotesAptApi.md +72 -32
- data/docs/RepositoriesAptApi.md +88 -40
- data/docs/RepositoriesAptVersionsApi.md +22 -10
- data/lib/pulp_deb_client/api/content_generic_contents_api.rb +15 -0
- data/lib/pulp_deb_client/api/content_installer_file_indices_api.rb +15 -0
- data/lib/pulp_deb_client/api/content_installer_packages_api.rb +15 -0
- data/lib/pulp_deb_client/api/content_package_indices_api.rb +15 -0
- data/lib/pulp_deb_client/api/content_package_release_components_api.rb +15 -0
- data/lib/pulp_deb_client/api/content_packages_api.rb +15 -0
- data/lib/pulp_deb_client/api/content_release_architectures_api.rb +15 -0
- data/lib/pulp_deb_client/api/content_release_components_api.rb +15 -0
- data/lib/pulp_deb_client/api/content_release_files_api.rb +15 -0
- data/lib/pulp_deb_client/api/content_releases_api.rb +15 -0
- data/lib/pulp_deb_client/api/content_source_indices_api.rb +15 -0
- data/lib/pulp_deb_client/api/content_source_packages_api.rb +15 -0
- data/lib/pulp_deb_client/api/content_source_release_components_api.rb +15 -0
- data/lib/pulp_deb_client/api/deb_copy_api.rb +3 -0
- data/lib/pulp_deb_client/api/distributions_apt_api.rb +36 -0
- data/lib/pulp_deb_client/api/publications_apt_api.rb +24 -0
- data/lib/pulp_deb_client/api/publications_verbatim_api.rb +24 -0
- data/lib/pulp_deb_client/api/remotes_apt_api.rb +36 -0
- data/lib/pulp_deb_client/api/repositories_apt_api.rb +42 -0
- data/lib/pulp_deb_client/api/repositories_apt_versions_api.rb +15 -3
- data/lib/pulp_deb_client/models/deb_apt_distribution.rb +14 -5
- data/lib/pulp_deb_client/models/deb_apt_distribution_response.rb +14 -5
- data/lib/pulp_deb_client/models/deb_apt_publication.rb +10 -1
- data/lib/pulp_deb_client/models/deb_apt_publication_response.rb +10 -1
- data/lib/pulp_deb_client/models/patcheddeb_apt_distribution.rb +14 -5
- data/lib/pulp_deb_client/version.rb +1 -1
- data/spec/api/content_generic_contents_api_spec.rb +5 -0
- data/spec/api/content_installer_file_indices_api_spec.rb +5 -0
- data/spec/api/content_installer_packages_api_spec.rb +5 -0
- data/spec/api/content_package_indices_api_spec.rb +5 -0
- data/spec/api/content_package_release_components_api_spec.rb +5 -0
- data/spec/api/content_packages_api_spec.rb +5 -0
- data/spec/api/content_release_architectures_api_spec.rb +5 -0
- data/spec/api/content_release_components_api_spec.rb +5 -0
- data/spec/api/content_release_files_api_spec.rb +5 -0
- data/spec/api/content_releases_api_spec.rb +5 -0
- data/spec/api/content_source_indices_api_spec.rb +5 -0
- data/spec/api/content_source_packages_api_spec.rb +5 -0
- data/spec/api/content_source_release_components_api_spec.rb +5 -0
- data/spec/api/deb_copy_api_spec.rb +1 -0
- data/spec/api/distributions_apt_api_spec.rb +12 -0
- data/spec/api/publications_apt_api_spec.rb +8 -0
- data/spec/api/publications_verbatim_api_spec.rb +8 -0
- data/spec/api/remotes_apt_api_spec.rb +12 -0
- data/spec/api/repositories_apt_api_spec.rb +14 -0
- data/spec/api/repositories_apt_versions_api_spec.rb +5 -1
- data/spec/models/deb_apt_distribution_response_spec.rb +6 -0
- data/spec/models/deb_apt_distribution_spec.rb +6 -0
- data/spec/models/deb_apt_publication_response_spec.rb +6 -0
- data/spec/models/deb_apt_publication_spec.rb +6 -0
- data/spec/models/patcheddeb_apt_distribution_spec.rb +6 -0
- metadata +75 -75
@@ -13,7 +13,7 @@ All URIs are relative to *http://localhost:24817*
|
|
13
13
|
|
14
14
|
## create
|
15
15
|
|
16
|
-
> <DebPackageReleaseComponentResponse> create(deb_package_release_component)
|
16
|
+
> <DebPackageReleaseComponentResponse> create(deb_package_release_component, opts)
|
17
17
|
|
18
18
|
Create a package release component
|
19
19
|
|
@@ -33,10 +33,13 @@ end
|
|
33
33
|
|
34
34
|
api_instance = PulpDebClient::ContentPackageReleaseComponentsApi.new
|
35
35
|
deb_package_release_component = PulpDebClient::DebPackageReleaseComponent.new({package: 'package_example', release_component: 'release_component_example'}) # DebPackageReleaseComponent |
|
36
|
+
opts = {
|
37
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
38
|
+
}
|
36
39
|
|
37
40
|
begin
|
38
41
|
# Create a package release component
|
39
|
-
result = api_instance.create(deb_package_release_component)
|
42
|
+
result = api_instance.create(deb_package_release_component, opts)
|
40
43
|
p result
|
41
44
|
rescue PulpDebClient::ApiError => e
|
42
45
|
puts "Error when calling ContentPackageReleaseComponentsApi->create: #{e}"
|
@@ -47,12 +50,12 @@ end
|
|
47
50
|
|
48
51
|
This returns an Array which contains the response data, status code and headers.
|
49
52
|
|
50
|
-
> <Array(<DebPackageReleaseComponentResponse>, Integer, Hash)> create_with_http_info(deb_package_release_component)
|
53
|
+
> <Array(<DebPackageReleaseComponentResponse>, Integer, Hash)> create_with_http_info(deb_package_release_component, opts)
|
51
54
|
|
52
55
|
```ruby
|
53
56
|
begin
|
54
57
|
# Create a package release component
|
55
|
-
data, status_code, headers = api_instance.create_with_http_info(deb_package_release_component)
|
58
|
+
data, status_code, headers = api_instance.create_with_http_info(deb_package_release_component, opts)
|
56
59
|
p status_code # => 2xx
|
57
60
|
p headers # => { ... }
|
58
61
|
p data # => <DebPackageReleaseComponentResponse>
|
@@ -66,6 +69,7 @@ end
|
|
66
69
|
| Name | Type | Description | Notes |
|
67
70
|
| ---- | ---- | ----------- | ----- |
|
68
71
|
| **deb_package_release_component** | [**DebPackageReleaseComponent**](DebPackageReleaseComponent.md) | | |
|
72
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
69
73
|
|
70
74
|
### Return type
|
71
75
|
|
@@ -103,6 +107,7 @@ end
|
|
103
107
|
|
104
108
|
api_instance = PulpDebClient::ContentPackageReleaseComponentsApi.new
|
105
109
|
opts = {
|
110
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
106
111
|
limit: 56, # Integer | Number of results to return per page.
|
107
112
|
offset: 56, # Integer | The initial index from which to return the results.
|
108
113
|
ordering: ['-pk'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
@@ -152,6 +157,7 @@ end
|
|
152
157
|
|
153
158
|
| Name | Type | Description | Notes |
|
154
159
|
| ---- | ---- | ----------- | ----- |
|
160
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
155
161
|
| **limit** | **Integer** | Number of results to return per page. | [optional] |
|
156
162
|
| **offset** | **Integer** | The initial index from which to return the results. | [optional] |
|
157
163
|
| **ordering** | [**Array<String>**](String.md) | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
@@ -206,6 +212,7 @@ end
|
|
206
212
|
api_instance = PulpDebClient::ContentPackageReleaseComponentsApi.new
|
207
213
|
deb_package_release_component_href = 'deb_package_release_component_href_example' # String |
|
208
214
|
opts = {
|
215
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
209
216
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
210
217
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
211
218
|
}
|
@@ -242,6 +249,7 @@ end
|
|
242
249
|
| Name | Type | Description | Notes |
|
243
250
|
| ---- | ---- | ----------- | ----- |
|
244
251
|
| **deb_package_release_component_href** | **String** | | |
|
252
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
245
253
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
246
254
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
247
255
|
|
@@ -261,7 +269,7 @@ end
|
|
261
269
|
|
262
270
|
## set_label
|
263
271
|
|
264
|
-
> <SetLabelResponse> set_label(deb_package_release_component_href, set_label)
|
272
|
+
> <SetLabelResponse> set_label(deb_package_release_component_href, set_label, opts)
|
265
273
|
|
266
274
|
Set a label
|
267
275
|
|
@@ -282,10 +290,13 @@ end
|
|
282
290
|
api_instance = PulpDebClient::ContentPackageReleaseComponentsApi.new
|
283
291
|
deb_package_release_component_href = 'deb_package_release_component_href_example' # String |
|
284
292
|
set_label = PulpDebClient::SetLabel.new({key: 'key_example', value: 'value_example'}) # SetLabel |
|
293
|
+
opts = {
|
294
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
295
|
+
}
|
285
296
|
|
286
297
|
begin
|
287
298
|
# Set a label
|
288
|
-
result = api_instance.set_label(deb_package_release_component_href, set_label)
|
299
|
+
result = api_instance.set_label(deb_package_release_component_href, set_label, opts)
|
289
300
|
p result
|
290
301
|
rescue PulpDebClient::ApiError => e
|
291
302
|
puts "Error when calling ContentPackageReleaseComponentsApi->set_label: #{e}"
|
@@ -296,12 +307,12 @@ end
|
|
296
307
|
|
297
308
|
This returns an Array which contains the response data, status code and headers.
|
298
309
|
|
299
|
-
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(deb_package_release_component_href, set_label)
|
310
|
+
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(deb_package_release_component_href, set_label, opts)
|
300
311
|
|
301
312
|
```ruby
|
302
313
|
begin
|
303
314
|
# Set a label
|
304
|
-
data, status_code, headers = api_instance.set_label_with_http_info(deb_package_release_component_href, set_label)
|
315
|
+
data, status_code, headers = api_instance.set_label_with_http_info(deb_package_release_component_href, set_label, opts)
|
305
316
|
p status_code # => 2xx
|
306
317
|
p headers # => { ... }
|
307
318
|
p data # => <SetLabelResponse>
|
@@ -316,6 +327,7 @@ end
|
|
316
327
|
| ---- | ---- | ----------- | ----- |
|
317
328
|
| **deb_package_release_component_href** | **String** | | |
|
318
329
|
| **set_label** | [**SetLabel**](SetLabel.md) | | |
|
330
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
319
331
|
|
320
332
|
### Return type
|
321
333
|
|
@@ -333,7 +345,7 @@ end
|
|
333
345
|
|
334
346
|
## unset_label
|
335
347
|
|
336
|
-
> <UnsetLabelResponse> unset_label(deb_package_release_component_href, unset_label)
|
348
|
+
> <UnsetLabelResponse> unset_label(deb_package_release_component_href, unset_label, opts)
|
337
349
|
|
338
350
|
Unset a label
|
339
351
|
|
@@ -354,10 +366,13 @@ end
|
|
354
366
|
api_instance = PulpDebClient::ContentPackageReleaseComponentsApi.new
|
355
367
|
deb_package_release_component_href = 'deb_package_release_component_href_example' # String |
|
356
368
|
unset_label = PulpDebClient::UnsetLabel.new({key: 'key_example'}) # UnsetLabel |
|
369
|
+
opts = {
|
370
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
371
|
+
}
|
357
372
|
|
358
373
|
begin
|
359
374
|
# Unset a label
|
360
|
-
result = api_instance.unset_label(deb_package_release_component_href, unset_label)
|
375
|
+
result = api_instance.unset_label(deb_package_release_component_href, unset_label, opts)
|
361
376
|
p result
|
362
377
|
rescue PulpDebClient::ApiError => e
|
363
378
|
puts "Error when calling ContentPackageReleaseComponentsApi->unset_label: #{e}"
|
@@ -368,12 +383,12 @@ end
|
|
368
383
|
|
369
384
|
This returns an Array which contains the response data, status code and headers.
|
370
385
|
|
371
|
-
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(deb_package_release_component_href, unset_label)
|
386
|
+
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(deb_package_release_component_href, unset_label, opts)
|
372
387
|
|
373
388
|
```ruby
|
374
389
|
begin
|
375
390
|
# Unset a label
|
376
|
-
data, status_code, headers = api_instance.unset_label_with_http_info(deb_package_release_component_href, unset_label)
|
391
|
+
data, status_code, headers = api_instance.unset_label_with_http_info(deb_package_release_component_href, unset_label, opts)
|
377
392
|
p status_code # => 2xx
|
378
393
|
p headers # => { ... }
|
379
394
|
p data # => <UnsetLabelResponse>
|
@@ -388,6 +403,7 @@ end
|
|
388
403
|
| ---- | ---- | ----------- | ----- |
|
389
404
|
| **deb_package_release_component_href** | **String** | | |
|
390
405
|
| **unset_label** | [**UnsetLabel**](UnsetLabel.md) | | |
|
406
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
391
407
|
|
392
408
|
### Return type
|
393
409
|
|
data/docs/ContentPackagesApi.md
CHANGED
@@ -33,6 +33,7 @@ end
|
|
33
33
|
|
34
34
|
api_instance = PulpDebClient::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
|
@@ -75,6 +76,7 @@ end
|
|
75
76
|
|
76
77
|
| Name | Type | Description | Notes |
|
77
78
|
| ---- | ---- | ----------- | ----- |
|
79
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
78
80
|
| **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
|
79
81
|
| **pulp_labels** | [**Hash<String, String>**](Hash.md) | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
80
82
|
| **artifact** | **String** | Artifact file representing the physical content | [optional] |
|
@@ -121,6 +123,7 @@ end
|
|
121
123
|
|
122
124
|
api_instance = PulpDebClient::ContentPackagesApi.new
|
123
125
|
opts = {
|
126
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
124
127
|
architecture: 'architecture_example', # String | Filter results where architecture matches value
|
125
128
|
auto_built_package: 'auto_built_package_example', # String | Filter results where auto_built_package matches value
|
126
129
|
build_essential: true, # Boolean | Filter results where build_essential matches value * `True` - yes * `False` - no
|
@@ -196,6 +199,7 @@ end
|
|
196
199
|
|
197
200
|
| Name | Type | Description | Notes |
|
198
201
|
| ---- | ---- | ----------- | ----- |
|
202
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
199
203
|
| **architecture** | **String** | Filter results where architecture matches value | [optional] |
|
200
204
|
| **auto_built_package** | **String** | Filter results where auto_built_package matches value | [optional] |
|
201
205
|
| **build_essential** | **Boolean** | Filter results where build_essential matches value * `True` - yes * `False` - no | [optional] |
|
@@ -276,6 +280,7 @@ end
|
|
276
280
|
api_instance = PulpDebClient::ContentPackagesApi.new
|
277
281
|
deb_package_href = 'deb_package_href_example' # String |
|
278
282
|
opts = {
|
283
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
279
284
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
280
285
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
281
286
|
}
|
@@ -312,6 +317,7 @@ end
|
|
312
317
|
| Name | Type | Description | Notes |
|
313
318
|
| ---- | ---- | ----------- | ----- |
|
314
319
|
| **deb_package_href** | **String** | | |
|
320
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
315
321
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
316
322
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
317
323
|
|
@@ -331,7 +337,7 @@ end
|
|
331
337
|
|
332
338
|
## set_label
|
333
339
|
|
334
|
-
> <SetLabelResponse> set_label(deb_package_href, set_label)
|
340
|
+
> <SetLabelResponse> set_label(deb_package_href, set_label, opts)
|
335
341
|
|
336
342
|
Set a label
|
337
343
|
|
@@ -352,10 +358,13 @@ end
|
|
352
358
|
api_instance = PulpDebClient::ContentPackagesApi.new
|
353
359
|
deb_package_href = 'deb_package_href_example' # String |
|
354
360
|
set_label = PulpDebClient::SetLabel.new({key: 'key_example', value: 'value_example'}) # SetLabel |
|
361
|
+
opts = {
|
362
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
363
|
+
}
|
355
364
|
|
356
365
|
begin
|
357
366
|
# Set a label
|
358
|
-
result = api_instance.set_label(deb_package_href, set_label)
|
367
|
+
result = api_instance.set_label(deb_package_href, set_label, opts)
|
359
368
|
p result
|
360
369
|
rescue PulpDebClient::ApiError => e
|
361
370
|
puts "Error when calling ContentPackagesApi->set_label: #{e}"
|
@@ -366,12 +375,12 @@ end
|
|
366
375
|
|
367
376
|
This returns an Array which contains the response data, status code and headers.
|
368
377
|
|
369
|
-
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(deb_package_href, set_label)
|
378
|
+
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(deb_package_href, set_label, opts)
|
370
379
|
|
371
380
|
```ruby
|
372
381
|
begin
|
373
382
|
# Set a label
|
374
|
-
data, status_code, headers = api_instance.set_label_with_http_info(deb_package_href, set_label)
|
383
|
+
data, status_code, headers = api_instance.set_label_with_http_info(deb_package_href, set_label, opts)
|
375
384
|
p status_code # => 2xx
|
376
385
|
p headers # => { ... }
|
377
386
|
p data # => <SetLabelResponse>
|
@@ -386,6 +395,7 @@ end
|
|
386
395
|
| ---- | ---- | ----------- | ----- |
|
387
396
|
| **deb_package_href** | **String** | | |
|
388
397
|
| **set_label** | [**SetLabel**](SetLabel.md) | | |
|
398
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
389
399
|
|
390
400
|
### Return type
|
391
401
|
|
@@ -403,7 +413,7 @@ end
|
|
403
413
|
|
404
414
|
## unset_label
|
405
415
|
|
406
|
-
> <UnsetLabelResponse> unset_label(deb_package_href, unset_label)
|
416
|
+
> <UnsetLabelResponse> unset_label(deb_package_href, unset_label, opts)
|
407
417
|
|
408
418
|
Unset a label
|
409
419
|
|
@@ -424,10 +434,13 @@ end
|
|
424
434
|
api_instance = PulpDebClient::ContentPackagesApi.new
|
425
435
|
deb_package_href = 'deb_package_href_example' # String |
|
426
436
|
unset_label = PulpDebClient::UnsetLabel.new({key: 'key_example'}) # UnsetLabel |
|
437
|
+
opts = {
|
438
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
439
|
+
}
|
427
440
|
|
428
441
|
begin
|
429
442
|
# Unset a label
|
430
|
-
result = api_instance.unset_label(deb_package_href, unset_label)
|
443
|
+
result = api_instance.unset_label(deb_package_href, unset_label, opts)
|
431
444
|
p result
|
432
445
|
rescue PulpDebClient::ApiError => e
|
433
446
|
puts "Error when calling ContentPackagesApi->unset_label: #{e}"
|
@@ -438,12 +451,12 @@ end
|
|
438
451
|
|
439
452
|
This returns an Array which contains the response data, status code and headers.
|
440
453
|
|
441
|
-
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(deb_package_href, unset_label)
|
454
|
+
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(deb_package_href, unset_label, opts)
|
442
455
|
|
443
456
|
```ruby
|
444
457
|
begin
|
445
458
|
# Unset a label
|
446
|
-
data, status_code, headers = api_instance.unset_label_with_http_info(deb_package_href, unset_label)
|
459
|
+
data, status_code, headers = api_instance.unset_label_with_http_info(deb_package_href, unset_label, opts)
|
447
460
|
p status_code # => 2xx
|
448
461
|
p headers # => { ... }
|
449
462
|
p data # => <UnsetLabelResponse>
|
@@ -458,6 +471,7 @@ end
|
|
458
471
|
| ---- | ---- | ----------- | ----- |
|
459
472
|
| **deb_package_href** | **String** | | |
|
460
473
|
| **unset_label** | [**UnsetLabel**](UnsetLabel.md) | | |
|
474
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
461
475
|
|
462
476
|
### Return type
|
463
477
|
|
@@ -13,7 +13,7 @@ All URIs are relative to *http://localhost:24817*
|
|
13
13
|
|
14
14
|
## create
|
15
15
|
|
16
|
-
> <AsyncOperationResponse> create(deb_release_architecture)
|
16
|
+
> <AsyncOperationResponse> create(deb_release_architecture, opts)
|
17
17
|
|
18
18
|
Create a release architecture
|
19
19
|
|
@@ -33,10 +33,13 @@ end
|
|
33
33
|
|
34
34
|
api_instance = PulpDebClient::ContentReleaseArchitecturesApi.new
|
35
35
|
deb_release_architecture = PulpDebClient::DebReleaseArchitecture.new({architecture: 'architecture_example', distribution: 'distribution_example'}) # DebReleaseArchitecture |
|
36
|
+
opts = {
|
37
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
38
|
+
}
|
36
39
|
|
37
40
|
begin
|
38
41
|
# Create a release architecture
|
39
|
-
result = api_instance.create(deb_release_architecture)
|
42
|
+
result = api_instance.create(deb_release_architecture, opts)
|
40
43
|
p result
|
41
44
|
rescue PulpDebClient::ApiError => e
|
42
45
|
puts "Error when calling ContentReleaseArchitecturesApi->create: #{e}"
|
@@ -47,12 +50,12 @@ end
|
|
47
50
|
|
48
51
|
This returns an Array which contains the response data, status code and headers.
|
49
52
|
|
50
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> create_with_http_info(deb_release_architecture)
|
53
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> create_with_http_info(deb_release_architecture, opts)
|
51
54
|
|
52
55
|
```ruby
|
53
56
|
begin
|
54
57
|
# Create a release architecture
|
55
|
-
data, status_code, headers = api_instance.create_with_http_info(deb_release_architecture)
|
58
|
+
data, status_code, headers = api_instance.create_with_http_info(deb_release_architecture, opts)
|
56
59
|
p status_code # => 2xx
|
57
60
|
p headers # => { ... }
|
58
61
|
p data # => <AsyncOperationResponse>
|
@@ -66,6 +69,7 @@ end
|
|
66
69
|
| Name | Type | Description | Notes |
|
67
70
|
| ---- | ---- | ----------- | ----- |
|
68
71
|
| **deb_release_architecture** | [**DebReleaseArchitecture**](DebReleaseArchitecture.md) | | |
|
72
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
69
73
|
|
70
74
|
### Return type
|
71
75
|
|
@@ -103,6 +107,7 @@ end
|
|
103
107
|
|
104
108
|
api_instance = PulpDebClient::ContentReleaseArchitecturesApi.new
|
105
109
|
opts = {
|
110
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
106
111
|
architecture: 'architecture_example', # String | Filter results where architecture matches value
|
107
112
|
distribution: 'distribution_example', # String | Filter results where distribution matches value
|
108
113
|
limit: 56, # Integer | Number of results to return per page.
|
@@ -152,6 +157,7 @@ end
|
|
152
157
|
|
153
158
|
| Name | Type | Description | Notes |
|
154
159
|
| ---- | ---- | ----------- | ----- |
|
160
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
155
161
|
| **architecture** | **String** | Filter results where architecture matches value | [optional] |
|
156
162
|
| **distribution** | **String** | Filter results where distribution matches value | [optional] |
|
157
163
|
| **limit** | **Integer** | Number of results to return per page. | [optional] |
|
@@ -206,6 +212,7 @@ end
|
|
206
212
|
api_instance = PulpDebClient::ContentReleaseArchitecturesApi.new
|
207
213
|
deb_release_architecture_href = 'deb_release_architecture_href_example' # String |
|
208
214
|
opts = {
|
215
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
209
216
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
210
217
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
211
218
|
}
|
@@ -242,6 +249,7 @@ end
|
|
242
249
|
| Name | Type | Description | Notes |
|
243
250
|
| ---- | ---- | ----------- | ----- |
|
244
251
|
| **deb_release_architecture_href** | **String** | | |
|
252
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
245
253
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
246
254
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
247
255
|
|
@@ -261,7 +269,7 @@ end
|
|
261
269
|
|
262
270
|
## set_label
|
263
271
|
|
264
|
-
> <SetLabelResponse> set_label(deb_release_architecture_href, set_label)
|
272
|
+
> <SetLabelResponse> set_label(deb_release_architecture_href, set_label, opts)
|
265
273
|
|
266
274
|
Set a label
|
267
275
|
|
@@ -282,10 +290,13 @@ end
|
|
282
290
|
api_instance = PulpDebClient::ContentReleaseArchitecturesApi.new
|
283
291
|
deb_release_architecture_href = 'deb_release_architecture_href_example' # String |
|
284
292
|
set_label = PulpDebClient::SetLabel.new({key: 'key_example', value: 'value_example'}) # SetLabel |
|
293
|
+
opts = {
|
294
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
295
|
+
}
|
285
296
|
|
286
297
|
begin
|
287
298
|
# Set a label
|
288
|
-
result = api_instance.set_label(deb_release_architecture_href, set_label)
|
299
|
+
result = api_instance.set_label(deb_release_architecture_href, set_label, opts)
|
289
300
|
p result
|
290
301
|
rescue PulpDebClient::ApiError => e
|
291
302
|
puts "Error when calling ContentReleaseArchitecturesApi->set_label: #{e}"
|
@@ -296,12 +307,12 @@ end
|
|
296
307
|
|
297
308
|
This returns an Array which contains the response data, status code and headers.
|
298
309
|
|
299
|
-
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(deb_release_architecture_href, set_label)
|
310
|
+
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(deb_release_architecture_href, set_label, opts)
|
300
311
|
|
301
312
|
```ruby
|
302
313
|
begin
|
303
314
|
# Set a label
|
304
|
-
data, status_code, headers = api_instance.set_label_with_http_info(deb_release_architecture_href, set_label)
|
315
|
+
data, status_code, headers = api_instance.set_label_with_http_info(deb_release_architecture_href, set_label, opts)
|
305
316
|
p status_code # => 2xx
|
306
317
|
p headers # => { ... }
|
307
318
|
p data # => <SetLabelResponse>
|
@@ -316,6 +327,7 @@ end
|
|
316
327
|
| ---- | ---- | ----------- | ----- |
|
317
328
|
| **deb_release_architecture_href** | **String** | | |
|
318
329
|
| **set_label** | [**SetLabel**](SetLabel.md) | | |
|
330
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
319
331
|
|
320
332
|
### Return type
|
321
333
|
|
@@ -333,7 +345,7 @@ end
|
|
333
345
|
|
334
346
|
## unset_label
|
335
347
|
|
336
|
-
> <UnsetLabelResponse> unset_label(deb_release_architecture_href, unset_label)
|
348
|
+
> <UnsetLabelResponse> unset_label(deb_release_architecture_href, unset_label, opts)
|
337
349
|
|
338
350
|
Unset a label
|
339
351
|
|
@@ -354,10 +366,13 @@ end
|
|
354
366
|
api_instance = PulpDebClient::ContentReleaseArchitecturesApi.new
|
355
367
|
deb_release_architecture_href = 'deb_release_architecture_href_example' # String |
|
356
368
|
unset_label = PulpDebClient::UnsetLabel.new({key: 'key_example'}) # UnsetLabel |
|
369
|
+
opts = {
|
370
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
371
|
+
}
|
357
372
|
|
358
373
|
begin
|
359
374
|
# Unset a label
|
360
|
-
result = api_instance.unset_label(deb_release_architecture_href, unset_label)
|
375
|
+
result = api_instance.unset_label(deb_release_architecture_href, unset_label, opts)
|
361
376
|
p result
|
362
377
|
rescue PulpDebClient::ApiError => e
|
363
378
|
puts "Error when calling ContentReleaseArchitecturesApi->unset_label: #{e}"
|
@@ -368,12 +383,12 @@ end
|
|
368
383
|
|
369
384
|
This returns an Array which contains the response data, status code and headers.
|
370
385
|
|
371
|
-
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(deb_release_architecture_href, unset_label)
|
386
|
+
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(deb_release_architecture_href, unset_label, opts)
|
372
387
|
|
373
388
|
```ruby
|
374
389
|
begin
|
375
390
|
# Unset a label
|
376
|
-
data, status_code, headers = api_instance.unset_label_with_http_info(deb_release_architecture_href, unset_label)
|
391
|
+
data, status_code, headers = api_instance.unset_label_with_http_info(deb_release_architecture_href, unset_label, opts)
|
377
392
|
p status_code # => 2xx
|
378
393
|
p headers # => { ... }
|
379
394
|
p data # => <UnsetLabelResponse>
|
@@ -388,6 +403,7 @@ end
|
|
388
403
|
| ---- | ---- | ----------- | ----- |
|
389
404
|
| **deb_release_architecture_href** | **String** | | |
|
390
405
|
| **unset_label** | [**UnsetLabel**](UnsetLabel.md) | | |
|
406
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
391
407
|
|
392
408
|
### Return type
|
393
409
|
|
@@ -13,7 +13,7 @@ All URIs are relative to *http://localhost:24817*
|
|
13
13
|
|
14
14
|
## create
|
15
15
|
|
16
|
-
> <AsyncOperationResponse> create(deb_release_component)
|
16
|
+
> <AsyncOperationResponse> create(deb_release_component, opts)
|
17
17
|
|
18
18
|
Create a release component
|
19
19
|
|
@@ -33,10 +33,13 @@ end
|
|
33
33
|
|
34
34
|
api_instance = PulpDebClient::ContentReleaseComponentsApi.new
|
35
35
|
deb_release_component = PulpDebClient::DebReleaseComponent.new({component: 'component_example', distribution: 'distribution_example'}) # DebReleaseComponent |
|
36
|
+
opts = {
|
37
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
38
|
+
}
|
36
39
|
|
37
40
|
begin
|
38
41
|
# Create a release component
|
39
|
-
result = api_instance.create(deb_release_component)
|
42
|
+
result = api_instance.create(deb_release_component, opts)
|
40
43
|
p result
|
41
44
|
rescue PulpDebClient::ApiError => e
|
42
45
|
puts "Error when calling ContentReleaseComponentsApi->create: #{e}"
|
@@ -47,12 +50,12 @@ end
|
|
47
50
|
|
48
51
|
This returns an Array which contains the response data, status code and headers.
|
49
52
|
|
50
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> create_with_http_info(deb_release_component)
|
53
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> create_with_http_info(deb_release_component, opts)
|
51
54
|
|
52
55
|
```ruby
|
53
56
|
begin
|
54
57
|
# Create a release component
|
55
|
-
data, status_code, headers = api_instance.create_with_http_info(deb_release_component)
|
58
|
+
data, status_code, headers = api_instance.create_with_http_info(deb_release_component, opts)
|
56
59
|
p status_code # => 2xx
|
57
60
|
p headers # => { ... }
|
58
61
|
p data # => <AsyncOperationResponse>
|
@@ -66,6 +69,7 @@ end
|
|
66
69
|
| Name | Type | Description | Notes |
|
67
70
|
| ---- | ---- | ----------- | ----- |
|
68
71
|
| **deb_release_component** | [**DebReleaseComponent**](DebReleaseComponent.md) | | |
|
72
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
69
73
|
|
70
74
|
### Return type
|
71
75
|
|
@@ -103,6 +107,7 @@ end
|
|
103
107
|
|
104
108
|
api_instance = PulpDebClient::ContentReleaseComponentsApi.new
|
105
109
|
opts = {
|
110
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
106
111
|
component: 'component_example', # String | Filter results where component matches value
|
107
112
|
distribution: 'distribution_example', # String | Filter results where distribution matches value
|
108
113
|
limit: 56, # Integer | Number of results to return per page.
|
@@ -153,6 +158,7 @@ end
|
|
153
158
|
|
154
159
|
| Name | Type | Description | Notes |
|
155
160
|
| ---- | ---- | ----------- | ----- |
|
161
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
156
162
|
| **component** | **String** | Filter results where component matches value | [optional] |
|
157
163
|
| **distribution** | **String** | Filter results where distribution matches value | [optional] |
|
158
164
|
| **limit** | **Integer** | Number of results to return per page. | [optional] |
|
@@ -208,6 +214,7 @@ end
|
|
208
214
|
api_instance = PulpDebClient::ContentReleaseComponentsApi.new
|
209
215
|
deb_release_component_href = 'deb_release_component_href_example' # String |
|
210
216
|
opts = {
|
217
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
211
218
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
212
219
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
213
220
|
}
|
@@ -244,6 +251,7 @@ end
|
|
244
251
|
| Name | Type | Description | Notes |
|
245
252
|
| ---- | ---- | ----------- | ----- |
|
246
253
|
| **deb_release_component_href** | **String** | | |
|
254
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
247
255
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
248
256
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
249
257
|
|
@@ -263,7 +271,7 @@ end
|
|
263
271
|
|
264
272
|
## set_label
|
265
273
|
|
266
|
-
> <SetLabelResponse> set_label(deb_release_component_href, set_label)
|
274
|
+
> <SetLabelResponse> set_label(deb_release_component_href, set_label, opts)
|
267
275
|
|
268
276
|
Set a label
|
269
277
|
|
@@ -284,10 +292,13 @@ end
|
|
284
292
|
api_instance = PulpDebClient::ContentReleaseComponentsApi.new
|
285
293
|
deb_release_component_href = 'deb_release_component_href_example' # String |
|
286
294
|
set_label = PulpDebClient::SetLabel.new({key: 'key_example', value: 'value_example'}) # SetLabel |
|
295
|
+
opts = {
|
296
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
297
|
+
}
|
287
298
|
|
288
299
|
begin
|
289
300
|
# Set a label
|
290
|
-
result = api_instance.set_label(deb_release_component_href, set_label)
|
301
|
+
result = api_instance.set_label(deb_release_component_href, set_label, opts)
|
291
302
|
p result
|
292
303
|
rescue PulpDebClient::ApiError => e
|
293
304
|
puts "Error when calling ContentReleaseComponentsApi->set_label: #{e}"
|
@@ -298,12 +309,12 @@ end
|
|
298
309
|
|
299
310
|
This returns an Array which contains the response data, status code and headers.
|
300
311
|
|
301
|
-
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(deb_release_component_href, set_label)
|
312
|
+
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(deb_release_component_href, set_label, opts)
|
302
313
|
|
303
314
|
```ruby
|
304
315
|
begin
|
305
316
|
# Set a label
|
306
|
-
data, status_code, headers = api_instance.set_label_with_http_info(deb_release_component_href, set_label)
|
317
|
+
data, status_code, headers = api_instance.set_label_with_http_info(deb_release_component_href, set_label, opts)
|
307
318
|
p status_code # => 2xx
|
308
319
|
p headers # => { ... }
|
309
320
|
p data # => <SetLabelResponse>
|
@@ -318,6 +329,7 @@ end
|
|
318
329
|
| ---- | ---- | ----------- | ----- |
|
319
330
|
| **deb_release_component_href** | **String** | | |
|
320
331
|
| **set_label** | [**SetLabel**](SetLabel.md) | | |
|
332
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
321
333
|
|
322
334
|
### Return type
|
323
335
|
|
@@ -335,7 +347,7 @@ end
|
|
335
347
|
|
336
348
|
## unset_label
|
337
349
|
|
338
|
-
> <UnsetLabelResponse> unset_label(deb_release_component_href, unset_label)
|
350
|
+
> <UnsetLabelResponse> unset_label(deb_release_component_href, unset_label, opts)
|
339
351
|
|
340
352
|
Unset a label
|
341
353
|
|
@@ -356,10 +368,13 @@ end
|
|
356
368
|
api_instance = PulpDebClient::ContentReleaseComponentsApi.new
|
357
369
|
deb_release_component_href = 'deb_release_component_href_example' # String |
|
358
370
|
unset_label = PulpDebClient::UnsetLabel.new({key: 'key_example'}) # UnsetLabel |
|
371
|
+
opts = {
|
372
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
373
|
+
}
|
359
374
|
|
360
375
|
begin
|
361
376
|
# Unset a label
|
362
|
-
result = api_instance.unset_label(deb_release_component_href, unset_label)
|
377
|
+
result = api_instance.unset_label(deb_release_component_href, unset_label, opts)
|
363
378
|
p result
|
364
379
|
rescue PulpDebClient::ApiError => e
|
365
380
|
puts "Error when calling ContentReleaseComponentsApi->unset_label: #{e}"
|
@@ -370,12 +385,12 @@ end
|
|
370
385
|
|
371
386
|
This returns an Array which contains the response data, status code and headers.
|
372
387
|
|
373
|
-
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(deb_release_component_href, unset_label)
|
388
|
+
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(deb_release_component_href, unset_label, opts)
|
374
389
|
|
375
390
|
```ruby
|
376
391
|
begin
|
377
392
|
# Unset a label
|
378
|
-
data, status_code, headers = api_instance.unset_label_with_http_info(deb_release_component_href, unset_label)
|
393
|
+
data, status_code, headers = api_instance.unset_label_with_http_info(deb_release_component_href, unset_label, opts)
|
379
394
|
p status_code # => 2xx
|
380
395
|
p headers # => { ... }
|
381
396
|
p data # => <UnsetLabelResponse>
|
@@ -390,6 +405,7 @@ end
|
|
390
405
|
| ---- | ---- | ----------- | ----- |
|
391
406
|
| **deb_release_component_href** | **String** | | |
|
392
407
|
| **unset_label** | [**UnsetLabel**](UnsetLabel.md) | | |
|
408
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
393
409
|
|
394
410
|
### Return type
|
395
411
|
|