pulp_python_client 3.13.5 → 3.13.6
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/ContentPackagesApi.md +22 -8
- data/docs/DistributionsPypiApi.md +72 -32
- data/docs/PublicationsPypiApi.md +40 -16
- data/docs/PypiApi.md +2 -0
- data/docs/PypiLegacyApi.md +2 -0
- data/docs/PypiMetadataApi.md +2 -0
- data/docs/PypiSimpleApi.md +6 -0
- data/docs/RemotesPythonApi.md +74 -32
- data/docs/RepositoriesPythonApi.md +88 -40
- data/docs/RepositoriesPythonVersionsApi.md +22 -10
- data/lib/pulp_python_client/api/content_packages_api.rb +15 -0
- data/lib/pulp_python_client/api/distributions_pypi_api.rb +36 -0
- data/lib/pulp_python_client/api/publications_pypi_api.rb +24 -0
- data/lib/pulp_python_client/api/pypi_api.rb +3 -0
- data/lib/pulp_python_client/api/pypi_legacy_api.rb +3 -0
- data/lib/pulp_python_client/api/pypi_metadata_api.rb +3 -0
- data/lib/pulp_python_client/api/pypi_simple_api.rb +9 -0
- data/lib/pulp_python_client/api/remotes_python_api.rb +39 -0
- data/lib/pulp_python_client/api/repositories_python_api.rb +42 -0
- data/lib/pulp_python_client/api/repositories_python_versions_api.rb +15 -3
- data/lib/pulp_python_client/version.rb +1 -1
- data/spec/api/content_packages_api_spec.rb +5 -0
- data/spec/api/distributions_pypi_api_spec.rb +12 -0
- data/spec/api/publications_pypi_api_spec.rb +8 -0
- data/spec/api/pypi_api_spec.rb +1 -0
- data/spec/api/pypi_legacy_api_spec.rb +1 -0
- data/spec/api/pypi_metadata_api_spec.rb +1 -0
- data/spec/api/pypi_simple_api_spec.rb +3 -0
- data/spec/api/remotes_python_api_spec.rb +13 -0
- data/spec/api/repositories_python_api_spec.rb +14 -0
- data/spec/api/repositories_python_versions_api_spec.rb +5 -1
- metadata +38 -38
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: eec93e784ae15569fc9deaa102371f4484e89e75ec309399846146e9e06c080b
|
|
4
|
+
data.tar.gz: 07bd7eaab3b7d09b0ef9b8ae0f10fe743520d45b707aa0acdcf8614b6190c705
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 55400e6d9c3f99fcd922271655490eefaacdaa22e587be70556e9319e688f3ac1ec478cbb9281f3e04bc939787e2f308fd2b050feacdeabb645ca7aa13d2b6f3
|
|
7
|
+
data.tar.gz: b256bd4f77bdb576073cf5764eae4fbfced47534307131371f00214a1da37670e4f14b200c5676c24cb6416966997bcc93e18c55a71522e8092e679c9ea8b7c6
|
data/README.md
CHANGED
|
@@ -7,7 +7,7 @@ Fetch, Upload, Organize, and Distribute Software Packages
|
|
|
7
7
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
8
8
|
|
|
9
9
|
- API version: v3
|
|
10
|
-
- Package version: 3.13.
|
|
10
|
+
- Package version: 3.13.6
|
|
11
11
|
- Generator version: 7.10.0
|
|
12
12
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
|
13
13
|
For more information, please visit [https://pulpproject.org](https://pulpproject.org)
|
|
@@ -25,16 +25,16 @@ gem build pulp_python_client.gemspec
|
|
|
25
25
|
Then either install the gem locally:
|
|
26
26
|
|
|
27
27
|
```shell
|
|
28
|
-
gem install ./pulp_python_client-3.13.
|
|
28
|
+
gem install ./pulp_python_client-3.13.6.gem
|
|
29
29
|
```
|
|
30
30
|
|
|
31
|
-
(for development, run `gem install --dev ./pulp_python_client-3.13.
|
|
31
|
+
(for development, run `gem install --dev ./pulp_python_client-3.13.6.gem` to install the development dependencies)
|
|
32
32
|
|
|
33
33
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
|
34
34
|
|
|
35
35
|
Finally add this to the Gemfile:
|
|
36
36
|
|
|
37
|
-
gem 'pulp_python_client', '~> 3.13.
|
|
37
|
+
gem 'pulp_python_client', '~> 3.13.6'
|
|
38
38
|
|
|
39
39
|
### Install from Git
|
|
40
40
|
|
|
@@ -70,6 +70,7 @@ end
|
|
|
70
70
|
api_instance = PulpPythonClient::ContentPackagesApi.new
|
|
71
71
|
relative_path = 'relative_path_example' # String | Path where the artifact is located relative to distributions base_path
|
|
72
72
|
opts = {
|
|
73
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
|
73
74
|
repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
|
|
74
75
|
pulp_labels: { key: 'inner_example'}, # Hash<String, String> | A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
75
76
|
artifact: 'artifact_example', # String | Artifact file representing the physical content
|
data/docs/ContentPackagesApi.md
CHANGED
|
@@ -34,6 +34,7 @@ end
|
|
|
34
34
|
api_instance = PulpPythonClient::ContentPackagesApi.new
|
|
35
35
|
relative_path = 'relative_path_example' # String | Path where the artifact is located relative to distributions base_path
|
|
36
36
|
opts = {
|
|
37
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
|
37
38
|
repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
|
|
38
39
|
pulp_labels: { key: 'inner_example'}, # Hash<String, String> | A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
39
40
|
artifact: 'artifact_example', # String | Artifact file representing the physical content
|
|
@@ -96,6 +97,7 @@ end
|
|
|
96
97
|
| Name | Type | Description | Notes |
|
|
97
98
|
| ---- | ---- | ----------- | ----- |
|
|
98
99
|
| **relative_path** | **String** | Path where the artifact is located relative to distributions base_path | |
|
|
100
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
99
101
|
| **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
|
|
100
102
|
| **pulp_labels** | [**Hash<String, String>**](Hash.md) | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
|
101
103
|
| **artifact** | **String** | Artifact file representing the physical content | [optional] |
|
|
@@ -161,6 +163,7 @@ end
|
|
|
161
163
|
|
|
162
164
|
api_instance = PulpPythonClient::ContentPackagesApi.new
|
|
163
165
|
opts = {
|
|
166
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
|
164
167
|
author: 'author_example', # String | Filter results where author matches value
|
|
165
168
|
author__in: ['inner_example'], # Array<String> | Filter results where author is in a comma-separated list of values
|
|
166
169
|
filename: 'filename_example', # String | Filter results where filename matches value
|
|
@@ -229,6 +232,7 @@ end
|
|
|
229
232
|
|
|
230
233
|
| Name | Type | Description | Notes |
|
|
231
234
|
| ---- | ---- | ----------- | ----- |
|
|
235
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
232
236
|
| **author** | **String** | Filter results where author matches value | [optional] |
|
|
233
237
|
| **author__in** | [**Array<String>**](String.md) | Filter results where author is in a comma-separated list of values | [optional] |
|
|
234
238
|
| **filename** | **String** | Filter results where filename matches value | [optional] |
|
|
@@ -302,6 +306,7 @@ end
|
|
|
302
306
|
api_instance = PulpPythonClient::ContentPackagesApi.new
|
|
303
307
|
python_python_package_content_href = 'python_python_package_content_href_example' # String |
|
|
304
308
|
opts = {
|
|
309
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
|
305
310
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
|
306
311
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
|
307
312
|
}
|
|
@@ -338,6 +343,7 @@ end
|
|
|
338
343
|
| Name | Type | Description | Notes |
|
|
339
344
|
| ---- | ---- | ----------- | ----- |
|
|
340
345
|
| **python_python_package_content_href** | **String** | | |
|
|
346
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
341
347
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
|
342
348
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
|
343
349
|
|
|
@@ -357,7 +363,7 @@ end
|
|
|
357
363
|
|
|
358
364
|
## set_label
|
|
359
365
|
|
|
360
|
-
> <SetLabelResponse> set_label(python_python_package_content_href, set_label)
|
|
366
|
+
> <SetLabelResponse> set_label(python_python_package_content_href, set_label, opts)
|
|
361
367
|
|
|
362
368
|
Set a label
|
|
363
369
|
|
|
@@ -378,10 +384,13 @@ end
|
|
|
378
384
|
api_instance = PulpPythonClient::ContentPackagesApi.new
|
|
379
385
|
python_python_package_content_href = 'python_python_package_content_href_example' # String |
|
|
380
386
|
set_label = PulpPythonClient::SetLabel.new({key: 'key_example', value: 'value_example'}) # SetLabel |
|
|
387
|
+
opts = {
|
|
388
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
|
389
|
+
}
|
|
381
390
|
|
|
382
391
|
begin
|
|
383
392
|
# Set a label
|
|
384
|
-
result = api_instance.set_label(python_python_package_content_href, set_label)
|
|
393
|
+
result = api_instance.set_label(python_python_package_content_href, set_label, opts)
|
|
385
394
|
p result
|
|
386
395
|
rescue PulpPythonClient::ApiError => e
|
|
387
396
|
puts "Error when calling ContentPackagesApi->set_label: #{e}"
|
|
@@ -392,12 +401,12 @@ end
|
|
|
392
401
|
|
|
393
402
|
This returns an Array which contains the response data, status code and headers.
|
|
394
403
|
|
|
395
|
-
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(python_python_package_content_href, set_label)
|
|
404
|
+
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(python_python_package_content_href, set_label, opts)
|
|
396
405
|
|
|
397
406
|
```ruby
|
|
398
407
|
begin
|
|
399
408
|
# Set a label
|
|
400
|
-
data, status_code, headers = api_instance.set_label_with_http_info(python_python_package_content_href, set_label)
|
|
409
|
+
data, status_code, headers = api_instance.set_label_with_http_info(python_python_package_content_href, set_label, opts)
|
|
401
410
|
p status_code # => 2xx
|
|
402
411
|
p headers # => { ... }
|
|
403
412
|
p data # => <SetLabelResponse>
|
|
@@ -412,6 +421,7 @@ end
|
|
|
412
421
|
| ---- | ---- | ----------- | ----- |
|
|
413
422
|
| **python_python_package_content_href** | **String** | | |
|
|
414
423
|
| **set_label** | [**SetLabel**](SetLabel.md) | | |
|
|
424
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
415
425
|
|
|
416
426
|
### Return type
|
|
417
427
|
|
|
@@ -429,7 +439,7 @@ end
|
|
|
429
439
|
|
|
430
440
|
## unset_label
|
|
431
441
|
|
|
432
|
-
> <UnsetLabelResponse> unset_label(python_python_package_content_href, unset_label)
|
|
442
|
+
> <UnsetLabelResponse> unset_label(python_python_package_content_href, unset_label, opts)
|
|
433
443
|
|
|
434
444
|
Unset a label
|
|
435
445
|
|
|
@@ -450,10 +460,13 @@ end
|
|
|
450
460
|
api_instance = PulpPythonClient::ContentPackagesApi.new
|
|
451
461
|
python_python_package_content_href = 'python_python_package_content_href_example' # String |
|
|
452
462
|
unset_label = PulpPythonClient::UnsetLabel.new({key: 'key_example'}) # UnsetLabel |
|
|
463
|
+
opts = {
|
|
464
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
|
465
|
+
}
|
|
453
466
|
|
|
454
467
|
begin
|
|
455
468
|
# Unset a label
|
|
456
|
-
result = api_instance.unset_label(python_python_package_content_href, unset_label)
|
|
469
|
+
result = api_instance.unset_label(python_python_package_content_href, unset_label, opts)
|
|
457
470
|
p result
|
|
458
471
|
rescue PulpPythonClient::ApiError => e
|
|
459
472
|
puts "Error when calling ContentPackagesApi->unset_label: #{e}"
|
|
@@ -464,12 +477,12 @@ end
|
|
|
464
477
|
|
|
465
478
|
This returns an Array which contains the response data, status code and headers.
|
|
466
479
|
|
|
467
|
-
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(python_python_package_content_href, unset_label)
|
|
480
|
+
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(python_python_package_content_href, unset_label, opts)
|
|
468
481
|
|
|
469
482
|
```ruby
|
|
470
483
|
begin
|
|
471
484
|
# Unset a label
|
|
472
|
-
data, status_code, headers = api_instance.unset_label_with_http_info(python_python_package_content_href, unset_label)
|
|
485
|
+
data, status_code, headers = api_instance.unset_label_with_http_info(python_python_package_content_href, unset_label, opts)
|
|
473
486
|
p status_code # => 2xx
|
|
474
487
|
p headers # => { ... }
|
|
475
488
|
p data # => <UnsetLabelResponse>
|
|
@@ -484,6 +497,7 @@ end
|
|
|
484
497
|
| ---- | ---- | ----------- | ----- |
|
|
485
498
|
| **python_python_package_content_href** | **String** | | |
|
|
486
499
|
| **unset_label** | [**UnsetLabel**](UnsetLabel.md) | | |
|
|
500
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
487
501
|
|
|
488
502
|
### Return type
|
|
489
503
|
|
|
@@ -20,7 +20,7 @@ All URIs are relative to *http://localhost:24817*
|
|
|
20
20
|
|
|
21
21
|
## add_role
|
|
22
22
|
|
|
23
|
-
> <NestedRoleResponse> add_role(python_python_distribution_href, nested_role)
|
|
23
|
+
> <NestedRoleResponse> add_role(python_python_distribution_href, nested_role, opts)
|
|
24
24
|
|
|
25
25
|
Add a role
|
|
26
26
|
|
|
@@ -41,10 +41,13 @@ end
|
|
|
41
41
|
api_instance = PulpPythonClient::DistributionsPypiApi.new
|
|
42
42
|
python_python_distribution_href = 'python_python_distribution_href_example' # String |
|
|
43
43
|
nested_role = PulpPythonClient::NestedRole.new({role: 'role_example'}) # NestedRole |
|
|
44
|
+
opts = {
|
|
45
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
|
46
|
+
}
|
|
44
47
|
|
|
45
48
|
begin
|
|
46
49
|
# Add a role
|
|
47
|
-
result = api_instance.add_role(python_python_distribution_href, nested_role)
|
|
50
|
+
result = api_instance.add_role(python_python_distribution_href, nested_role, opts)
|
|
48
51
|
p result
|
|
49
52
|
rescue PulpPythonClient::ApiError => e
|
|
50
53
|
puts "Error when calling DistributionsPypiApi->add_role: #{e}"
|
|
@@ -55,12 +58,12 @@ end
|
|
|
55
58
|
|
|
56
59
|
This returns an Array which contains the response data, status code and headers.
|
|
57
60
|
|
|
58
|
-
> <Array(<NestedRoleResponse>, Integer, Hash)> add_role_with_http_info(python_python_distribution_href, nested_role)
|
|
61
|
+
> <Array(<NestedRoleResponse>, Integer, Hash)> add_role_with_http_info(python_python_distribution_href, nested_role, opts)
|
|
59
62
|
|
|
60
63
|
```ruby
|
|
61
64
|
begin
|
|
62
65
|
# Add a role
|
|
63
|
-
data, status_code, headers = api_instance.add_role_with_http_info(python_python_distribution_href, nested_role)
|
|
66
|
+
data, status_code, headers = api_instance.add_role_with_http_info(python_python_distribution_href, nested_role, opts)
|
|
64
67
|
p status_code # => 2xx
|
|
65
68
|
p headers # => { ... }
|
|
66
69
|
p data # => <NestedRoleResponse>
|
|
@@ -75,6 +78,7 @@ end
|
|
|
75
78
|
| ---- | ---- | ----------- | ----- |
|
|
76
79
|
| **python_python_distribution_href** | **String** | | |
|
|
77
80
|
| **nested_role** | [**NestedRole**](NestedRole.md) | | |
|
|
81
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
78
82
|
|
|
79
83
|
### Return type
|
|
80
84
|
|
|
@@ -92,7 +96,7 @@ end
|
|
|
92
96
|
|
|
93
97
|
## create
|
|
94
98
|
|
|
95
|
-
> <AsyncOperationResponse> create(python_python_distribution)
|
|
99
|
+
> <AsyncOperationResponse> create(python_python_distribution, opts)
|
|
96
100
|
|
|
97
101
|
Create a python distribution
|
|
98
102
|
|
|
@@ -112,10 +116,13 @@ end
|
|
|
112
116
|
|
|
113
117
|
api_instance = PulpPythonClient::DistributionsPypiApi.new
|
|
114
118
|
python_python_distribution = PulpPythonClient::PythonPythonDistribution.new({base_path: 'base_path_example', name: 'name_example'}) # PythonPythonDistribution |
|
|
119
|
+
opts = {
|
|
120
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
|
121
|
+
}
|
|
115
122
|
|
|
116
123
|
begin
|
|
117
124
|
# Create a python distribution
|
|
118
|
-
result = api_instance.create(python_python_distribution)
|
|
125
|
+
result = api_instance.create(python_python_distribution, opts)
|
|
119
126
|
p result
|
|
120
127
|
rescue PulpPythonClient::ApiError => e
|
|
121
128
|
puts "Error when calling DistributionsPypiApi->create: #{e}"
|
|
@@ -126,12 +133,12 @@ end
|
|
|
126
133
|
|
|
127
134
|
This returns an Array which contains the response data, status code and headers.
|
|
128
135
|
|
|
129
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> create_with_http_info(python_python_distribution)
|
|
136
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> create_with_http_info(python_python_distribution, opts)
|
|
130
137
|
|
|
131
138
|
```ruby
|
|
132
139
|
begin
|
|
133
140
|
# Create a python distribution
|
|
134
|
-
data, status_code, headers = api_instance.create_with_http_info(python_python_distribution)
|
|
141
|
+
data, status_code, headers = api_instance.create_with_http_info(python_python_distribution, opts)
|
|
135
142
|
p status_code # => 2xx
|
|
136
143
|
p headers # => { ... }
|
|
137
144
|
p data # => <AsyncOperationResponse>
|
|
@@ -145,6 +152,7 @@ end
|
|
|
145
152
|
| Name | Type | Description | Notes |
|
|
146
153
|
| ---- | ---- | ----------- | ----- |
|
|
147
154
|
| **python_python_distribution** | [**PythonPythonDistribution**](PythonPythonDistribution.md) | | |
|
|
155
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
148
156
|
|
|
149
157
|
### Return type
|
|
150
158
|
|
|
@@ -162,7 +170,7 @@ end
|
|
|
162
170
|
|
|
163
171
|
## delete
|
|
164
172
|
|
|
165
|
-
> <AsyncOperationResponse> delete(python_python_distribution_href)
|
|
173
|
+
> <AsyncOperationResponse> delete(python_python_distribution_href, opts)
|
|
166
174
|
|
|
167
175
|
Delete a python distribution
|
|
168
176
|
|
|
@@ -182,10 +190,13 @@ end
|
|
|
182
190
|
|
|
183
191
|
api_instance = PulpPythonClient::DistributionsPypiApi.new
|
|
184
192
|
python_python_distribution_href = 'python_python_distribution_href_example' # String |
|
|
193
|
+
opts = {
|
|
194
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
|
195
|
+
}
|
|
185
196
|
|
|
186
197
|
begin
|
|
187
198
|
# Delete a python distribution
|
|
188
|
-
result = api_instance.delete(python_python_distribution_href)
|
|
199
|
+
result = api_instance.delete(python_python_distribution_href, opts)
|
|
189
200
|
p result
|
|
190
201
|
rescue PulpPythonClient::ApiError => e
|
|
191
202
|
puts "Error when calling DistributionsPypiApi->delete: #{e}"
|
|
@@ -196,12 +207,12 @@ end
|
|
|
196
207
|
|
|
197
208
|
This returns an Array which contains the response data, status code and headers.
|
|
198
209
|
|
|
199
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> delete_with_http_info(python_python_distribution_href)
|
|
210
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> delete_with_http_info(python_python_distribution_href, opts)
|
|
200
211
|
|
|
201
212
|
```ruby
|
|
202
213
|
begin
|
|
203
214
|
# Delete a python distribution
|
|
204
|
-
data, status_code, headers = api_instance.delete_with_http_info(python_python_distribution_href)
|
|
215
|
+
data, status_code, headers = api_instance.delete_with_http_info(python_python_distribution_href, opts)
|
|
205
216
|
p status_code # => 2xx
|
|
206
217
|
p headers # => { ... }
|
|
207
218
|
p data # => <AsyncOperationResponse>
|
|
@@ -215,6 +226,7 @@ end
|
|
|
215
226
|
| Name | Type | Description | Notes |
|
|
216
227
|
| ---- | ---- | ----------- | ----- |
|
|
217
228
|
| **python_python_distribution_href** | **String** | | |
|
|
229
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
218
230
|
|
|
219
231
|
### Return type
|
|
220
232
|
|
|
@@ -252,6 +264,7 @@ end
|
|
|
252
264
|
|
|
253
265
|
api_instance = PulpPythonClient::DistributionsPypiApi.new
|
|
254
266
|
opts = {
|
|
267
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
|
255
268
|
base_path: 'base_path_example', # String | Filter results where base_path matches value
|
|
256
269
|
base_path__contains: 'base_path__contains_example', # String | Filter results where base_path contains value
|
|
257
270
|
base_path__icontains: 'base_path__icontains_example', # String | Filter results where base_path contains value
|
|
@@ -312,6 +325,7 @@ end
|
|
|
312
325
|
|
|
313
326
|
| Name | Type | Description | Notes |
|
|
314
327
|
| ---- | ---- | ----------- | ----- |
|
|
328
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
315
329
|
| **base_path** | **String** | Filter results where base_path matches value | [optional] |
|
|
316
330
|
| **base_path__contains** | **String** | Filter results where base_path contains value | [optional] |
|
|
317
331
|
| **base_path__icontains** | **String** | Filter results where base_path contains value | [optional] |
|
|
@@ -377,6 +391,7 @@ end
|
|
|
377
391
|
api_instance = PulpPythonClient::DistributionsPypiApi.new
|
|
378
392
|
python_python_distribution_href = 'python_python_distribution_href_example' # String |
|
|
379
393
|
opts = {
|
|
394
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
|
380
395
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
|
381
396
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
|
382
397
|
}
|
|
@@ -413,6 +428,7 @@ end
|
|
|
413
428
|
| Name | Type | Description | Notes |
|
|
414
429
|
| ---- | ---- | ----------- | ----- |
|
|
415
430
|
| **python_python_distribution_href** | **String** | | |
|
|
431
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
416
432
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
|
417
433
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
|
418
434
|
|
|
@@ -453,6 +469,7 @@ end
|
|
|
453
469
|
api_instance = PulpPythonClient::DistributionsPypiApi.new
|
|
454
470
|
python_python_distribution_href = 'python_python_distribution_href_example' # String |
|
|
455
471
|
opts = {
|
|
472
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
|
456
473
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
|
457
474
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
|
458
475
|
}
|
|
@@ -489,6 +506,7 @@ end
|
|
|
489
506
|
| Name | Type | Description | Notes |
|
|
490
507
|
| ---- | ---- | ----------- | ----- |
|
|
491
508
|
| **python_python_distribution_href** | **String** | | |
|
|
509
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
492
510
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
|
493
511
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
|
494
512
|
|
|
@@ -508,7 +526,7 @@ end
|
|
|
508
526
|
|
|
509
527
|
## partial_update
|
|
510
528
|
|
|
511
|
-
> <AsyncOperationResponse> partial_update(python_python_distribution_href, patchedpython_python_distribution)
|
|
529
|
+
> <AsyncOperationResponse> partial_update(python_python_distribution_href, patchedpython_python_distribution, opts)
|
|
512
530
|
|
|
513
531
|
Update a python distribution
|
|
514
532
|
|
|
@@ -529,10 +547,13 @@ end
|
|
|
529
547
|
api_instance = PulpPythonClient::DistributionsPypiApi.new
|
|
530
548
|
python_python_distribution_href = 'python_python_distribution_href_example' # String |
|
|
531
549
|
patchedpython_python_distribution = PulpPythonClient::PatchedpythonPythonDistribution.new # PatchedpythonPythonDistribution |
|
|
550
|
+
opts = {
|
|
551
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
|
552
|
+
}
|
|
532
553
|
|
|
533
554
|
begin
|
|
534
555
|
# Update a python distribution
|
|
535
|
-
result = api_instance.partial_update(python_python_distribution_href, patchedpython_python_distribution)
|
|
556
|
+
result = api_instance.partial_update(python_python_distribution_href, patchedpython_python_distribution, opts)
|
|
536
557
|
p result
|
|
537
558
|
rescue PulpPythonClient::ApiError => e
|
|
538
559
|
puts "Error when calling DistributionsPypiApi->partial_update: #{e}"
|
|
@@ -543,12 +564,12 @@ end
|
|
|
543
564
|
|
|
544
565
|
This returns an Array which contains the response data, status code and headers.
|
|
545
566
|
|
|
546
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> partial_update_with_http_info(python_python_distribution_href, patchedpython_python_distribution)
|
|
567
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> partial_update_with_http_info(python_python_distribution_href, patchedpython_python_distribution, opts)
|
|
547
568
|
|
|
548
569
|
```ruby
|
|
549
570
|
begin
|
|
550
571
|
# Update a python distribution
|
|
551
|
-
data, status_code, headers = api_instance.partial_update_with_http_info(python_python_distribution_href, patchedpython_python_distribution)
|
|
572
|
+
data, status_code, headers = api_instance.partial_update_with_http_info(python_python_distribution_href, patchedpython_python_distribution, opts)
|
|
552
573
|
p status_code # => 2xx
|
|
553
574
|
p headers # => { ... }
|
|
554
575
|
p data # => <AsyncOperationResponse>
|
|
@@ -563,6 +584,7 @@ end
|
|
|
563
584
|
| ---- | ---- | ----------- | ----- |
|
|
564
585
|
| **python_python_distribution_href** | **String** | | |
|
|
565
586
|
| **patchedpython_python_distribution** | [**PatchedpythonPythonDistribution**](PatchedpythonPythonDistribution.md) | | |
|
|
587
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
566
588
|
|
|
567
589
|
### Return type
|
|
568
590
|
|
|
@@ -601,6 +623,7 @@ end
|
|
|
601
623
|
api_instance = PulpPythonClient::DistributionsPypiApi.new
|
|
602
624
|
python_python_distribution_href = 'python_python_distribution_href_example' # String |
|
|
603
625
|
opts = {
|
|
626
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
|
604
627
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
|
605
628
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
|
606
629
|
}
|
|
@@ -637,6 +660,7 @@ end
|
|
|
637
660
|
| Name | Type | Description | Notes |
|
|
638
661
|
| ---- | ---- | ----------- | ----- |
|
|
639
662
|
| **python_python_distribution_href** | **String** | | |
|
|
663
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
640
664
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
|
641
665
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
|
642
666
|
|
|
@@ -656,7 +680,7 @@ end
|
|
|
656
680
|
|
|
657
681
|
## remove_role
|
|
658
682
|
|
|
659
|
-
> <NestedRoleResponse> remove_role(python_python_distribution_href, nested_role)
|
|
683
|
+
> <NestedRoleResponse> remove_role(python_python_distribution_href, nested_role, opts)
|
|
660
684
|
|
|
661
685
|
Remove a role
|
|
662
686
|
|
|
@@ -677,10 +701,13 @@ end
|
|
|
677
701
|
api_instance = PulpPythonClient::DistributionsPypiApi.new
|
|
678
702
|
python_python_distribution_href = 'python_python_distribution_href_example' # String |
|
|
679
703
|
nested_role = PulpPythonClient::NestedRole.new({role: 'role_example'}) # NestedRole |
|
|
704
|
+
opts = {
|
|
705
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
|
706
|
+
}
|
|
680
707
|
|
|
681
708
|
begin
|
|
682
709
|
# Remove a role
|
|
683
|
-
result = api_instance.remove_role(python_python_distribution_href, nested_role)
|
|
710
|
+
result = api_instance.remove_role(python_python_distribution_href, nested_role, opts)
|
|
684
711
|
p result
|
|
685
712
|
rescue PulpPythonClient::ApiError => e
|
|
686
713
|
puts "Error when calling DistributionsPypiApi->remove_role: #{e}"
|
|
@@ -691,12 +718,12 @@ end
|
|
|
691
718
|
|
|
692
719
|
This returns an Array which contains the response data, status code and headers.
|
|
693
720
|
|
|
694
|
-
> <Array(<NestedRoleResponse>, Integer, Hash)> remove_role_with_http_info(python_python_distribution_href, nested_role)
|
|
721
|
+
> <Array(<NestedRoleResponse>, Integer, Hash)> remove_role_with_http_info(python_python_distribution_href, nested_role, opts)
|
|
695
722
|
|
|
696
723
|
```ruby
|
|
697
724
|
begin
|
|
698
725
|
# Remove a role
|
|
699
|
-
data, status_code, headers = api_instance.remove_role_with_http_info(python_python_distribution_href, nested_role)
|
|
726
|
+
data, status_code, headers = api_instance.remove_role_with_http_info(python_python_distribution_href, nested_role, opts)
|
|
700
727
|
p status_code # => 2xx
|
|
701
728
|
p headers # => { ... }
|
|
702
729
|
p data # => <NestedRoleResponse>
|
|
@@ -711,6 +738,7 @@ end
|
|
|
711
738
|
| ---- | ---- | ----------- | ----- |
|
|
712
739
|
| **python_python_distribution_href** | **String** | | |
|
|
713
740
|
| **nested_role** | [**NestedRole**](NestedRole.md) | | |
|
|
741
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
714
742
|
|
|
715
743
|
### Return type
|
|
716
744
|
|
|
@@ -728,7 +756,7 @@ end
|
|
|
728
756
|
|
|
729
757
|
## set_label
|
|
730
758
|
|
|
731
|
-
> <SetLabelResponse> set_label(python_python_distribution_href, set_label)
|
|
759
|
+
> <SetLabelResponse> set_label(python_python_distribution_href, set_label, opts)
|
|
732
760
|
|
|
733
761
|
Set a label
|
|
734
762
|
|
|
@@ -749,10 +777,13 @@ end
|
|
|
749
777
|
api_instance = PulpPythonClient::DistributionsPypiApi.new
|
|
750
778
|
python_python_distribution_href = 'python_python_distribution_href_example' # String |
|
|
751
779
|
set_label = PulpPythonClient::SetLabel.new({key: 'key_example', value: 'value_example'}) # SetLabel |
|
|
780
|
+
opts = {
|
|
781
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
|
782
|
+
}
|
|
752
783
|
|
|
753
784
|
begin
|
|
754
785
|
# Set a label
|
|
755
|
-
result = api_instance.set_label(python_python_distribution_href, set_label)
|
|
786
|
+
result = api_instance.set_label(python_python_distribution_href, set_label, opts)
|
|
756
787
|
p result
|
|
757
788
|
rescue PulpPythonClient::ApiError => e
|
|
758
789
|
puts "Error when calling DistributionsPypiApi->set_label: #{e}"
|
|
@@ -763,12 +794,12 @@ end
|
|
|
763
794
|
|
|
764
795
|
This returns an Array which contains the response data, status code and headers.
|
|
765
796
|
|
|
766
|
-
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(python_python_distribution_href, set_label)
|
|
797
|
+
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(python_python_distribution_href, set_label, opts)
|
|
767
798
|
|
|
768
799
|
```ruby
|
|
769
800
|
begin
|
|
770
801
|
# Set a label
|
|
771
|
-
data, status_code, headers = api_instance.set_label_with_http_info(python_python_distribution_href, set_label)
|
|
802
|
+
data, status_code, headers = api_instance.set_label_with_http_info(python_python_distribution_href, set_label, opts)
|
|
772
803
|
p status_code # => 2xx
|
|
773
804
|
p headers # => { ... }
|
|
774
805
|
p data # => <SetLabelResponse>
|
|
@@ -783,6 +814,7 @@ end
|
|
|
783
814
|
| ---- | ---- | ----------- | ----- |
|
|
784
815
|
| **python_python_distribution_href** | **String** | | |
|
|
785
816
|
| **set_label** | [**SetLabel**](SetLabel.md) | | |
|
|
817
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
786
818
|
|
|
787
819
|
### Return type
|
|
788
820
|
|
|
@@ -800,7 +832,7 @@ end
|
|
|
800
832
|
|
|
801
833
|
## unset_label
|
|
802
834
|
|
|
803
|
-
> <UnsetLabelResponse> unset_label(python_python_distribution_href, unset_label)
|
|
835
|
+
> <UnsetLabelResponse> unset_label(python_python_distribution_href, unset_label, opts)
|
|
804
836
|
|
|
805
837
|
Unset a label
|
|
806
838
|
|
|
@@ -821,10 +853,13 @@ end
|
|
|
821
853
|
api_instance = PulpPythonClient::DistributionsPypiApi.new
|
|
822
854
|
python_python_distribution_href = 'python_python_distribution_href_example' # String |
|
|
823
855
|
unset_label = PulpPythonClient::UnsetLabel.new({key: 'key_example'}) # UnsetLabel |
|
|
856
|
+
opts = {
|
|
857
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
|
858
|
+
}
|
|
824
859
|
|
|
825
860
|
begin
|
|
826
861
|
# Unset a label
|
|
827
|
-
result = api_instance.unset_label(python_python_distribution_href, unset_label)
|
|
862
|
+
result = api_instance.unset_label(python_python_distribution_href, unset_label, opts)
|
|
828
863
|
p result
|
|
829
864
|
rescue PulpPythonClient::ApiError => e
|
|
830
865
|
puts "Error when calling DistributionsPypiApi->unset_label: #{e}"
|
|
@@ -835,12 +870,12 @@ end
|
|
|
835
870
|
|
|
836
871
|
This returns an Array which contains the response data, status code and headers.
|
|
837
872
|
|
|
838
|
-
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(python_python_distribution_href, unset_label)
|
|
873
|
+
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(python_python_distribution_href, unset_label, opts)
|
|
839
874
|
|
|
840
875
|
```ruby
|
|
841
876
|
begin
|
|
842
877
|
# Unset a label
|
|
843
|
-
data, status_code, headers = api_instance.unset_label_with_http_info(python_python_distribution_href, unset_label)
|
|
878
|
+
data, status_code, headers = api_instance.unset_label_with_http_info(python_python_distribution_href, unset_label, opts)
|
|
844
879
|
p status_code # => 2xx
|
|
845
880
|
p headers # => { ... }
|
|
846
881
|
p data # => <UnsetLabelResponse>
|
|
@@ -855,6 +890,7 @@ end
|
|
|
855
890
|
| ---- | ---- | ----------- | ----- |
|
|
856
891
|
| **python_python_distribution_href** | **String** | | |
|
|
857
892
|
| **unset_label** | [**UnsetLabel**](UnsetLabel.md) | | |
|
|
893
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
858
894
|
|
|
859
895
|
### Return type
|
|
860
896
|
|
|
@@ -872,7 +908,7 @@ end
|
|
|
872
908
|
|
|
873
909
|
## update
|
|
874
910
|
|
|
875
|
-
> <AsyncOperationResponse> update(python_python_distribution_href, python_python_distribution)
|
|
911
|
+
> <AsyncOperationResponse> update(python_python_distribution_href, python_python_distribution, opts)
|
|
876
912
|
|
|
877
913
|
Update a python distribution
|
|
878
914
|
|
|
@@ -893,10 +929,13 @@ end
|
|
|
893
929
|
api_instance = PulpPythonClient::DistributionsPypiApi.new
|
|
894
930
|
python_python_distribution_href = 'python_python_distribution_href_example' # String |
|
|
895
931
|
python_python_distribution = PulpPythonClient::PythonPythonDistribution.new({base_path: 'base_path_example', name: 'name_example'}) # PythonPythonDistribution |
|
|
932
|
+
opts = {
|
|
933
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
|
934
|
+
}
|
|
896
935
|
|
|
897
936
|
begin
|
|
898
937
|
# Update a python distribution
|
|
899
|
-
result = api_instance.update(python_python_distribution_href, python_python_distribution)
|
|
938
|
+
result = api_instance.update(python_python_distribution_href, python_python_distribution, opts)
|
|
900
939
|
p result
|
|
901
940
|
rescue PulpPythonClient::ApiError => e
|
|
902
941
|
puts "Error when calling DistributionsPypiApi->update: #{e}"
|
|
@@ -907,12 +946,12 @@ end
|
|
|
907
946
|
|
|
908
947
|
This returns an Array which contains the response data, status code and headers.
|
|
909
948
|
|
|
910
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> update_with_http_info(python_python_distribution_href, python_python_distribution)
|
|
949
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> update_with_http_info(python_python_distribution_href, python_python_distribution, opts)
|
|
911
950
|
|
|
912
951
|
```ruby
|
|
913
952
|
begin
|
|
914
953
|
# Update a python distribution
|
|
915
|
-
data, status_code, headers = api_instance.update_with_http_info(python_python_distribution_href, python_python_distribution)
|
|
954
|
+
data, status_code, headers = api_instance.update_with_http_info(python_python_distribution_href, python_python_distribution, opts)
|
|
916
955
|
p status_code # => 2xx
|
|
917
956
|
p headers # => { ... }
|
|
918
957
|
p data # => <AsyncOperationResponse>
|
|
@@ -927,6 +966,7 @@ end
|
|
|
927
966
|
| ---- | ---- | ----------- | ----- |
|
|
928
967
|
| **python_python_distribution_href** | **String** | | |
|
|
929
968
|
| **python_python_distribution** | [**PythonPythonDistribution**](PythonPythonDistribution.md) | | |
|
|
969
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
930
970
|
|
|
931
971
|
### Return type
|
|
932
972
|
|