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
|
-
> <DebReleaseFileResponse> create(deb_release_file)
|
16
|
+
> <DebReleaseFileResponse> create(deb_release_file, opts)
|
17
17
|
|
18
18
|
Create a release file
|
19
19
|
|
@@ -33,10 +33,13 @@ end
|
|
33
33
|
|
34
34
|
api_instance = PulpDebClient::ContentReleaseFilesApi.new
|
35
35
|
deb_release_file = PulpDebClient::DebReleaseFile.new({artifacts: 3.56, distribution: 'distribution_example'}) # DebReleaseFile |
|
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 file
|
39
|
-
result = api_instance.create(deb_release_file)
|
42
|
+
result = api_instance.create(deb_release_file, opts)
|
40
43
|
p result
|
41
44
|
rescue PulpDebClient::ApiError => e
|
42
45
|
puts "Error when calling ContentReleaseFilesApi->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(<DebReleaseFileResponse>, Integer, Hash)> create_with_http_info(deb_release_file)
|
53
|
+
> <Array(<DebReleaseFileResponse>, Integer, Hash)> create_with_http_info(deb_release_file, opts)
|
51
54
|
|
52
55
|
```ruby
|
53
56
|
begin
|
54
57
|
# Create a release file
|
55
|
-
data, status_code, headers = api_instance.create_with_http_info(deb_release_file)
|
58
|
+
data, status_code, headers = api_instance.create_with_http_info(deb_release_file, opts)
|
56
59
|
p status_code # => 2xx
|
57
60
|
p headers # => { ... }
|
58
61
|
p data # => <DebReleaseFileResponse>
|
@@ -66,6 +69,7 @@ end
|
|
66
69
|
| Name | Type | Description | Notes |
|
67
70
|
| ---- | ---- | ----------- | ----- |
|
68
71
|
| **deb_release_file** | [**DebReleaseFile**](DebReleaseFile.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::ContentReleaseFilesApi.new
|
105
109
|
opts = {
|
110
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
106
111
|
codename: 'codename_example', # String | Filter results where codename matches value
|
107
112
|
limit: 56, # Integer | Number of results to return per page.
|
108
113
|
offset: 56, # Integer | The initial index from which to return the results.
|
@@ -154,6 +159,7 @@ end
|
|
154
159
|
|
155
160
|
| Name | Type | Description | Notes |
|
156
161
|
| ---- | ---- | ----------- | ----- |
|
162
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
157
163
|
| **codename** | **String** | Filter results where codename matches value | [optional] |
|
158
164
|
| **limit** | **Integer** | Number of results to return per page. | [optional] |
|
159
165
|
| **offset** | **Integer** | The initial index from which to return the results. | [optional] |
|
@@ -210,6 +216,7 @@ end
|
|
210
216
|
api_instance = PulpDebClient::ContentReleaseFilesApi.new
|
211
217
|
deb_release_file_href = 'deb_release_file_href_example' # String |
|
212
218
|
opts = {
|
219
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
213
220
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
214
221
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
215
222
|
}
|
@@ -246,6 +253,7 @@ end
|
|
246
253
|
| Name | Type | Description | Notes |
|
247
254
|
| ---- | ---- | ----------- | ----- |
|
248
255
|
| **deb_release_file_href** | **String** | | |
|
256
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
249
257
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
250
258
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
251
259
|
|
@@ -265,7 +273,7 @@ end
|
|
265
273
|
|
266
274
|
## set_label
|
267
275
|
|
268
|
-
> <SetLabelResponse> set_label(deb_release_file_href, set_label)
|
276
|
+
> <SetLabelResponse> set_label(deb_release_file_href, set_label, opts)
|
269
277
|
|
270
278
|
Set a label
|
271
279
|
|
@@ -286,10 +294,13 @@ end
|
|
286
294
|
api_instance = PulpDebClient::ContentReleaseFilesApi.new
|
287
295
|
deb_release_file_href = 'deb_release_file_href_example' # String |
|
288
296
|
set_label = PulpDebClient::SetLabel.new({key: 'key_example', value: 'value_example'}) # SetLabel |
|
297
|
+
opts = {
|
298
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
299
|
+
}
|
289
300
|
|
290
301
|
begin
|
291
302
|
# Set a label
|
292
|
-
result = api_instance.set_label(deb_release_file_href, set_label)
|
303
|
+
result = api_instance.set_label(deb_release_file_href, set_label, opts)
|
293
304
|
p result
|
294
305
|
rescue PulpDebClient::ApiError => e
|
295
306
|
puts "Error when calling ContentReleaseFilesApi->set_label: #{e}"
|
@@ -300,12 +311,12 @@ end
|
|
300
311
|
|
301
312
|
This returns an Array which contains the response data, status code and headers.
|
302
313
|
|
303
|
-
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(deb_release_file_href, set_label)
|
314
|
+
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(deb_release_file_href, set_label, opts)
|
304
315
|
|
305
316
|
```ruby
|
306
317
|
begin
|
307
318
|
# Set a label
|
308
|
-
data, status_code, headers = api_instance.set_label_with_http_info(deb_release_file_href, set_label)
|
319
|
+
data, status_code, headers = api_instance.set_label_with_http_info(deb_release_file_href, set_label, opts)
|
309
320
|
p status_code # => 2xx
|
310
321
|
p headers # => { ... }
|
311
322
|
p data # => <SetLabelResponse>
|
@@ -320,6 +331,7 @@ end
|
|
320
331
|
| ---- | ---- | ----------- | ----- |
|
321
332
|
| **deb_release_file_href** | **String** | | |
|
322
333
|
| **set_label** | [**SetLabel**](SetLabel.md) | | |
|
334
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
323
335
|
|
324
336
|
### Return type
|
325
337
|
|
@@ -337,7 +349,7 @@ end
|
|
337
349
|
|
338
350
|
## unset_label
|
339
351
|
|
340
|
-
> <UnsetLabelResponse> unset_label(deb_release_file_href, unset_label)
|
352
|
+
> <UnsetLabelResponse> unset_label(deb_release_file_href, unset_label, opts)
|
341
353
|
|
342
354
|
Unset a label
|
343
355
|
|
@@ -358,10 +370,13 @@ end
|
|
358
370
|
api_instance = PulpDebClient::ContentReleaseFilesApi.new
|
359
371
|
deb_release_file_href = 'deb_release_file_href_example' # String |
|
360
372
|
unset_label = PulpDebClient::UnsetLabel.new({key: 'key_example'}) # UnsetLabel |
|
373
|
+
opts = {
|
374
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
375
|
+
}
|
361
376
|
|
362
377
|
begin
|
363
378
|
# Unset a label
|
364
|
-
result = api_instance.unset_label(deb_release_file_href, unset_label)
|
379
|
+
result = api_instance.unset_label(deb_release_file_href, unset_label, opts)
|
365
380
|
p result
|
366
381
|
rescue PulpDebClient::ApiError => e
|
367
382
|
puts "Error when calling ContentReleaseFilesApi->unset_label: #{e}"
|
@@ -372,12 +387,12 @@ end
|
|
372
387
|
|
373
388
|
This returns an Array which contains the response data, status code and headers.
|
374
389
|
|
375
|
-
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(deb_release_file_href, unset_label)
|
390
|
+
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(deb_release_file_href, unset_label, opts)
|
376
391
|
|
377
392
|
```ruby
|
378
393
|
begin
|
379
394
|
# Unset a label
|
380
|
-
data, status_code, headers = api_instance.unset_label_with_http_info(deb_release_file_href, unset_label)
|
395
|
+
data, status_code, headers = api_instance.unset_label_with_http_info(deb_release_file_href, unset_label, opts)
|
381
396
|
p status_code # => 2xx
|
382
397
|
p headers # => { ... }
|
383
398
|
p data # => <UnsetLabelResponse>
|
@@ -392,6 +407,7 @@ end
|
|
392
407
|
| ---- | ---- | ----------- | ----- |
|
393
408
|
| **deb_release_file_href** | **String** | | |
|
394
409
|
| **unset_label** | [**UnsetLabel**](UnsetLabel.md) | | |
|
410
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
395
411
|
|
396
412
|
### Return type
|
397
413
|
|
data/docs/ContentReleasesApi.md
CHANGED
@@ -13,7 +13,7 @@ All URIs are relative to *http://localhost:24817*
|
|
13
13
|
|
14
14
|
## create
|
15
15
|
|
16
|
-
> <AsyncOperationResponse> create(deb_release)
|
16
|
+
> <AsyncOperationResponse> create(deb_release, opts)
|
17
17
|
|
18
18
|
Create a release
|
19
19
|
|
@@ -33,10 +33,13 @@ end
|
|
33
33
|
|
34
34
|
api_instance = PulpDebClient::ContentReleasesApi.new
|
35
35
|
deb_release = PulpDebClient::DebRelease.new({codename: 'codename_example', suite: 'suite_example', distribution: 'distribution_example'}) # DebRelease |
|
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
|
39
|
-
result = api_instance.create(deb_release)
|
42
|
+
result = api_instance.create(deb_release, opts)
|
40
43
|
p result
|
41
44
|
rescue PulpDebClient::ApiError => e
|
42
45
|
puts "Error when calling ContentReleasesApi->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)
|
53
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> create_with_http_info(deb_release, opts)
|
51
54
|
|
52
55
|
```ruby
|
53
56
|
begin
|
54
57
|
# Create a release
|
55
|
-
data, status_code, headers = api_instance.create_with_http_info(deb_release)
|
58
|
+
data, status_code, headers = api_instance.create_with_http_info(deb_release, 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** | [**DebRelease**](DebRelease.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::ContentReleasesApi.new
|
105
109
|
opts = {
|
110
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
106
111
|
codename: 'codename_example', # String | Filter results where codename matches value
|
107
112
|
distribution: 'distribution_example', # String | Filter results where distribution matches value
|
108
113
|
label: 'label_example', # String | Filter results where label matches value
|
@@ -157,6 +162,7 @@ end
|
|
157
162
|
|
158
163
|
| Name | Type | Description | Notes |
|
159
164
|
| ---- | ---- | ----------- | ----- |
|
165
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
160
166
|
| **codename** | **String** | Filter results where codename matches value | [optional] |
|
161
167
|
| **distribution** | **String** | Filter results where distribution matches value | [optional] |
|
162
168
|
| **label** | **String** | Filter results where label matches value | [optional] |
|
@@ -216,6 +222,7 @@ end
|
|
216
222
|
api_instance = PulpDebClient::ContentReleasesApi.new
|
217
223
|
deb_release_href = 'deb_release_href_example' # String |
|
218
224
|
opts = {
|
225
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
219
226
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
220
227
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
221
228
|
}
|
@@ -252,6 +259,7 @@ end
|
|
252
259
|
| Name | Type | Description | Notes |
|
253
260
|
| ---- | ---- | ----------- | ----- |
|
254
261
|
| **deb_release_href** | **String** | | |
|
262
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
255
263
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
256
264
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
257
265
|
|
@@ -271,7 +279,7 @@ end
|
|
271
279
|
|
272
280
|
## set_label
|
273
281
|
|
274
|
-
> <SetLabelResponse> set_label(deb_release_href, set_label)
|
282
|
+
> <SetLabelResponse> set_label(deb_release_href, set_label, opts)
|
275
283
|
|
276
284
|
Set a label
|
277
285
|
|
@@ -292,10 +300,13 @@ end
|
|
292
300
|
api_instance = PulpDebClient::ContentReleasesApi.new
|
293
301
|
deb_release_href = 'deb_release_href_example' # String |
|
294
302
|
set_label = PulpDebClient::SetLabel.new({key: 'key_example', value: 'value_example'}) # SetLabel |
|
303
|
+
opts = {
|
304
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
305
|
+
}
|
295
306
|
|
296
307
|
begin
|
297
308
|
# Set a label
|
298
|
-
result = api_instance.set_label(deb_release_href, set_label)
|
309
|
+
result = api_instance.set_label(deb_release_href, set_label, opts)
|
299
310
|
p result
|
300
311
|
rescue PulpDebClient::ApiError => e
|
301
312
|
puts "Error when calling ContentReleasesApi->set_label: #{e}"
|
@@ -306,12 +317,12 @@ end
|
|
306
317
|
|
307
318
|
This returns an Array which contains the response data, status code and headers.
|
308
319
|
|
309
|
-
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(deb_release_href, set_label)
|
320
|
+
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(deb_release_href, set_label, opts)
|
310
321
|
|
311
322
|
```ruby
|
312
323
|
begin
|
313
324
|
# Set a label
|
314
|
-
data, status_code, headers = api_instance.set_label_with_http_info(deb_release_href, set_label)
|
325
|
+
data, status_code, headers = api_instance.set_label_with_http_info(deb_release_href, set_label, opts)
|
315
326
|
p status_code # => 2xx
|
316
327
|
p headers # => { ... }
|
317
328
|
p data # => <SetLabelResponse>
|
@@ -326,6 +337,7 @@ end
|
|
326
337
|
| ---- | ---- | ----------- | ----- |
|
327
338
|
| **deb_release_href** | **String** | | |
|
328
339
|
| **set_label** | [**SetLabel**](SetLabel.md) | | |
|
340
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
329
341
|
|
330
342
|
### Return type
|
331
343
|
|
@@ -343,7 +355,7 @@ end
|
|
343
355
|
|
344
356
|
## unset_label
|
345
357
|
|
346
|
-
> <UnsetLabelResponse> unset_label(deb_release_href, unset_label)
|
358
|
+
> <UnsetLabelResponse> unset_label(deb_release_href, unset_label, opts)
|
347
359
|
|
348
360
|
Unset a label
|
349
361
|
|
@@ -364,10 +376,13 @@ end
|
|
364
376
|
api_instance = PulpDebClient::ContentReleasesApi.new
|
365
377
|
deb_release_href = 'deb_release_href_example' # String |
|
366
378
|
unset_label = PulpDebClient::UnsetLabel.new({key: 'key_example'}) # UnsetLabel |
|
379
|
+
opts = {
|
380
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
381
|
+
}
|
367
382
|
|
368
383
|
begin
|
369
384
|
# Unset a label
|
370
|
-
result = api_instance.unset_label(deb_release_href, unset_label)
|
385
|
+
result = api_instance.unset_label(deb_release_href, unset_label, opts)
|
371
386
|
p result
|
372
387
|
rescue PulpDebClient::ApiError => e
|
373
388
|
puts "Error when calling ContentReleasesApi->unset_label: #{e}"
|
@@ -378,12 +393,12 @@ end
|
|
378
393
|
|
379
394
|
This returns an Array which contains the response data, status code and headers.
|
380
395
|
|
381
|
-
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(deb_release_href, unset_label)
|
396
|
+
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(deb_release_href, unset_label, opts)
|
382
397
|
|
383
398
|
```ruby
|
384
399
|
begin
|
385
400
|
# Unset a label
|
386
|
-
data, status_code, headers = api_instance.unset_label_with_http_info(deb_release_href, unset_label)
|
401
|
+
data, status_code, headers = api_instance.unset_label_with_http_info(deb_release_href, unset_label, opts)
|
387
402
|
p status_code # => 2xx
|
388
403
|
p headers # => { ... }
|
389
404
|
p data # => <UnsetLabelResponse>
|
@@ -398,6 +413,7 @@ end
|
|
398
413
|
| ---- | ---- | ----------- | ----- |
|
399
414
|
| **deb_release_href** | **String** | | |
|
400
415
|
| **unset_label** | [**UnsetLabel**](UnsetLabel.md) | | |
|
416
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
401
417
|
|
402
418
|
### Return type
|
403
419
|
|
@@ -13,7 +13,7 @@ All URIs are relative to *http://localhost:24817*
|
|
13
13
|
|
14
14
|
## create
|
15
15
|
|
16
|
-
> <DebSourceIndexResponse> create(deb_source_index)
|
16
|
+
> <DebSourceIndexResponse> create(deb_source_index, opts)
|
17
17
|
|
18
18
|
Create a source index
|
19
19
|
|
@@ -33,10 +33,13 @@ end
|
|
33
33
|
|
34
34
|
api_instance = PulpDebClient::ContentSourceIndicesApi.new
|
35
35
|
deb_source_index = PulpDebClient::DebSourceIndex.new({artifacts: 3.56, release: 'release_example', component: 'component_example'}) # DebSourceIndex |
|
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 source index
|
39
|
-
result = api_instance.create(deb_source_index)
|
42
|
+
result = api_instance.create(deb_source_index, opts)
|
40
43
|
p result
|
41
44
|
rescue PulpDebClient::ApiError => e
|
42
45
|
puts "Error when calling ContentSourceIndicesApi->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(<DebSourceIndexResponse>, Integer, Hash)> create_with_http_info(deb_source_index)
|
53
|
+
> <Array(<DebSourceIndexResponse>, Integer, Hash)> create_with_http_info(deb_source_index, opts)
|
51
54
|
|
52
55
|
```ruby
|
53
56
|
begin
|
54
57
|
# Create a source index
|
55
|
-
data, status_code, headers = api_instance.create_with_http_info(deb_source_index)
|
58
|
+
data, status_code, headers = api_instance.create_with_http_info(deb_source_index, opts)
|
56
59
|
p status_code # => 2xx
|
57
60
|
p headers # => { ... }
|
58
61
|
p data # => <DebSourceIndexResponse>
|
@@ -66,6 +69,7 @@ end
|
|
66
69
|
| Name | Type | Description | Notes |
|
67
70
|
| ---- | ---- | ----------- | ----- |
|
68
71
|
| **deb_source_index** | [**DebSourceIndex**](DebSourceIndex.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::ContentSourceIndicesApi.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
|
limit: 56, # Integer | Number of results to return per page.
|
108
113
|
offset: 56, # Integer | The initial index from which to return the results.
|
@@ -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
|
| **limit** | **Integer** | Number of results to return per page. | [optional] |
|
158
164
|
| **offset** | **Integer** | The initial index from which to return the results. | [optional] |
|
@@ -208,6 +214,7 @@ end
|
|
208
214
|
api_instance = PulpDebClient::ContentSourceIndicesApi.new
|
209
215
|
deb_source_index_href = 'deb_source_index_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_source_index_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_source_index_href, set_label)
|
274
|
+
> <SetLabelResponse> set_label(deb_source_index_href, set_label, opts)
|
267
275
|
|
268
276
|
Set a label
|
269
277
|
|
@@ -284,10 +292,13 @@ end
|
|
284
292
|
api_instance = PulpDebClient::ContentSourceIndicesApi.new
|
285
293
|
deb_source_index_href = 'deb_source_index_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_source_index_href, set_label)
|
301
|
+
result = api_instance.set_label(deb_source_index_href, set_label, opts)
|
291
302
|
p result
|
292
303
|
rescue PulpDebClient::ApiError => e
|
293
304
|
puts "Error when calling ContentSourceIndicesApi->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_source_index_href, set_label)
|
312
|
+
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(deb_source_index_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_source_index_href, set_label)
|
317
|
+
data, status_code, headers = api_instance.set_label_with_http_info(deb_source_index_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_source_index_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_source_index_href, unset_label)
|
350
|
+
> <UnsetLabelResponse> unset_label(deb_source_index_href, unset_label, opts)
|
339
351
|
|
340
352
|
Unset a label
|
341
353
|
|
@@ -356,10 +368,13 @@ end
|
|
356
368
|
api_instance = PulpDebClient::ContentSourceIndicesApi.new
|
357
369
|
deb_source_index_href = 'deb_source_index_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_source_index_href, unset_label)
|
377
|
+
result = api_instance.unset_label(deb_source_index_href, unset_label, opts)
|
363
378
|
p result
|
364
379
|
rescue PulpDebClient::ApiError => e
|
365
380
|
puts "Error when calling ContentSourceIndicesApi->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_source_index_href, unset_label)
|
388
|
+
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(deb_source_index_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_source_index_href, unset_label)
|
393
|
+
data, status_code, headers = api_instance.unset_label_with_http_info(deb_source_index_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_source_index_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
|
|
@@ -13,7 +13,7 @@ All URIs are relative to *http://localhost:24817*
|
|
13
13
|
|
14
14
|
## create
|
15
15
|
|
16
|
-
> <AsyncOperationResponse> create(deb_source_package)
|
16
|
+
> <AsyncOperationResponse> create(deb_source_package, opts)
|
17
17
|
|
18
18
|
Create a source package
|
19
19
|
|
@@ -33,10 +33,13 @@ end
|
|
33
33
|
|
34
34
|
api_instance = PulpDebClient::ContentSourcePackagesApi.new
|
35
35
|
deb_source_package = PulpDebClient::DebSourcePackage.new({artifact: 'artifact_example'}) # DebSourcePackage |
|
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 source package
|
39
|
-
result = api_instance.create(deb_source_package)
|
42
|
+
result = api_instance.create(deb_source_package, opts)
|
40
43
|
p result
|
41
44
|
rescue PulpDebClient::ApiError => e
|
42
45
|
puts "Error when calling ContentSourcePackagesApi->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_source_package)
|
53
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> create_with_http_info(deb_source_package, opts)
|
51
54
|
|
52
55
|
```ruby
|
53
56
|
begin
|
54
57
|
# Create a source package
|
55
|
-
data, status_code, headers = api_instance.create_with_http_info(deb_source_package)
|
58
|
+
data, status_code, headers = api_instance.create_with_http_info(deb_source_package, 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_source_package** | [**DebSourcePackage**](DebSourcePackage.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::ContentSourcePackagesApi.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
|
binary: 'binary_example', # String | Filter results where binary matches value
|
108
113
|
build_conflicts: 'build_conflicts_example', # String | Filter results where build_conflicts matches value
|
@@ -180,6 +185,7 @@ end
|
|
180
185
|
|
181
186
|
| Name | Type | Description | Notes |
|
182
187
|
| ---- | ---- | ----------- | ----- |
|
188
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
183
189
|
| **architecture** | **String** | Filter results where architecture matches value | [optional] |
|
184
190
|
| **binary** | **String** | Filter results where binary matches value | [optional] |
|
185
191
|
| **build_conflicts** | **String** | Filter results where build_conflicts matches value | [optional] |
|
@@ -262,6 +268,7 @@ end
|
|
262
268
|
api_instance = PulpDebClient::ContentSourcePackagesApi.new
|
263
269
|
deb_source_package_href = 'deb_source_package_href_example' # String |
|
264
270
|
opts = {
|
271
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
265
272
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
266
273
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
267
274
|
}
|
@@ -298,6 +305,7 @@ end
|
|
298
305
|
| Name | Type | Description | Notes |
|
299
306
|
| ---- | ---- | ----------- | ----- |
|
300
307
|
| **deb_source_package_href** | **String** | | |
|
308
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
301
309
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
302
310
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
303
311
|
|
@@ -317,7 +325,7 @@ end
|
|
317
325
|
|
318
326
|
## set_label
|
319
327
|
|
320
|
-
> <SetLabelResponse> set_label(deb_source_package_href, set_label)
|
328
|
+
> <SetLabelResponse> set_label(deb_source_package_href, set_label, opts)
|
321
329
|
|
322
330
|
Set a label
|
323
331
|
|
@@ -338,10 +346,13 @@ end
|
|
338
346
|
api_instance = PulpDebClient::ContentSourcePackagesApi.new
|
339
347
|
deb_source_package_href = 'deb_source_package_href_example' # String |
|
340
348
|
set_label = PulpDebClient::SetLabel.new({key: 'key_example', value: 'value_example'}) # SetLabel |
|
349
|
+
opts = {
|
350
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
351
|
+
}
|
341
352
|
|
342
353
|
begin
|
343
354
|
# Set a label
|
344
|
-
result = api_instance.set_label(deb_source_package_href, set_label)
|
355
|
+
result = api_instance.set_label(deb_source_package_href, set_label, opts)
|
345
356
|
p result
|
346
357
|
rescue PulpDebClient::ApiError => e
|
347
358
|
puts "Error when calling ContentSourcePackagesApi->set_label: #{e}"
|
@@ -352,12 +363,12 @@ end
|
|
352
363
|
|
353
364
|
This returns an Array which contains the response data, status code and headers.
|
354
365
|
|
355
|
-
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(deb_source_package_href, set_label)
|
366
|
+
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(deb_source_package_href, set_label, opts)
|
356
367
|
|
357
368
|
```ruby
|
358
369
|
begin
|
359
370
|
# Set a label
|
360
|
-
data, status_code, headers = api_instance.set_label_with_http_info(deb_source_package_href, set_label)
|
371
|
+
data, status_code, headers = api_instance.set_label_with_http_info(deb_source_package_href, set_label, opts)
|
361
372
|
p status_code # => 2xx
|
362
373
|
p headers # => { ... }
|
363
374
|
p data # => <SetLabelResponse>
|
@@ -372,6 +383,7 @@ end
|
|
372
383
|
| ---- | ---- | ----------- | ----- |
|
373
384
|
| **deb_source_package_href** | **String** | | |
|
374
385
|
| **set_label** | [**SetLabel**](SetLabel.md) | | |
|
386
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
375
387
|
|
376
388
|
### Return type
|
377
389
|
|
@@ -389,7 +401,7 @@ end
|
|
389
401
|
|
390
402
|
## unset_label
|
391
403
|
|
392
|
-
> <UnsetLabelResponse> unset_label(deb_source_package_href, unset_label)
|
404
|
+
> <UnsetLabelResponse> unset_label(deb_source_package_href, unset_label, opts)
|
393
405
|
|
394
406
|
Unset a label
|
395
407
|
|
@@ -410,10 +422,13 @@ end
|
|
410
422
|
api_instance = PulpDebClient::ContentSourcePackagesApi.new
|
411
423
|
deb_source_package_href = 'deb_source_package_href_example' # String |
|
412
424
|
unset_label = PulpDebClient::UnsetLabel.new({key: 'key_example'}) # UnsetLabel |
|
425
|
+
opts = {
|
426
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
427
|
+
}
|
413
428
|
|
414
429
|
begin
|
415
430
|
# Unset a label
|
416
|
-
result = api_instance.unset_label(deb_source_package_href, unset_label)
|
431
|
+
result = api_instance.unset_label(deb_source_package_href, unset_label, opts)
|
417
432
|
p result
|
418
433
|
rescue PulpDebClient::ApiError => e
|
419
434
|
puts "Error when calling ContentSourcePackagesApi->unset_label: #{e}"
|
@@ -424,12 +439,12 @@ end
|
|
424
439
|
|
425
440
|
This returns an Array which contains the response data, status code and headers.
|
426
441
|
|
427
|
-
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(deb_source_package_href, unset_label)
|
442
|
+
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(deb_source_package_href, unset_label, opts)
|
428
443
|
|
429
444
|
```ruby
|
430
445
|
begin
|
431
446
|
# Unset a label
|
432
|
-
data, status_code, headers = api_instance.unset_label_with_http_info(deb_source_package_href, unset_label)
|
447
|
+
data, status_code, headers = api_instance.unset_label_with_http_info(deb_source_package_href, unset_label, opts)
|
433
448
|
p status_code # => 2xx
|
434
449
|
p headers # => { ... }
|
435
450
|
p data # => <UnsetLabelResponse>
|
@@ -444,6 +459,7 @@ end
|
|
444
459
|
| ---- | ---- | ----------- | ----- |
|
445
460
|
| **deb_source_package_href** | **String** | | |
|
446
461
|
| **unset_label** | [**UnsetLabel**](UnsetLabel.md) | | |
|
462
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
447
463
|
|
448
464
|
### Return type
|
449
465
|
|