pulp_python_client 3.15.1 → 3.17.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 +22 -17
- data/docs/ContentPackagesApi.md +58 -36
- 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/PythonPythonPackageContentResponse.md +46 -36
- data/docs/RemotesPythonApi.md +74 -32
- data/docs/RepositoriesPythonApi.md +96 -44
- data/docs/RepositoriesPythonVersionsApi.md +22 -10
- data/lib/pulp_python_client/api/content_packages_api.rb +69 -42
- 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 +45 -0
- data/lib/pulp_python_client/api/repositories_python_versions_api.rb +15 -3
- data/lib/pulp_python_client/models/python_python_package_content_response.rb +199 -146
- data/lib/pulp_python_client/version.rb +1 -1
- data/spec/api/content_packages_api_spec.rb +23 -14
- 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 +15 -0
- data/spec/api/repositories_python_versions_api_spec.rb +5 -1
- data/spec/models/python_python_package_content_response_spec.rb +54 -24
- metadata +39 -39
@@ -12,7 +12,7 @@ All URIs are relative to *http://localhost:24817*
|
|
12
12
|
|
13
13
|
## delete
|
14
14
|
|
15
|
-
> <AsyncOperationResponse> delete(python_python_repository_version_href)
|
15
|
+
> <AsyncOperationResponse> delete(python_python_repository_version_href, opts)
|
16
16
|
|
17
17
|
Delete a repository version
|
18
18
|
|
@@ -32,10 +32,13 @@ end
|
|
32
32
|
|
33
33
|
api_instance = PulpPythonClient::RepositoriesPythonVersionsApi.new
|
34
34
|
python_python_repository_version_href = 'python_python_repository_version_href_example' # String |
|
35
|
+
opts = {
|
36
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
37
|
+
}
|
35
38
|
|
36
39
|
begin
|
37
40
|
# Delete a repository version
|
38
|
-
result = api_instance.delete(python_python_repository_version_href)
|
41
|
+
result = api_instance.delete(python_python_repository_version_href, opts)
|
39
42
|
p result
|
40
43
|
rescue PulpPythonClient::ApiError => e
|
41
44
|
puts "Error when calling RepositoriesPythonVersionsApi->delete: #{e}"
|
@@ -46,12 +49,12 @@ end
|
|
46
49
|
|
47
50
|
This returns an Array which contains the response data, status code and headers.
|
48
51
|
|
49
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> delete_with_http_info(python_python_repository_version_href)
|
52
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> delete_with_http_info(python_python_repository_version_href, opts)
|
50
53
|
|
51
54
|
```ruby
|
52
55
|
begin
|
53
56
|
# Delete a repository version
|
54
|
-
data, status_code, headers = api_instance.delete_with_http_info(python_python_repository_version_href)
|
57
|
+
data, status_code, headers = api_instance.delete_with_http_info(python_python_repository_version_href, opts)
|
55
58
|
p status_code # => 2xx
|
56
59
|
p headers # => { ... }
|
57
60
|
p data # => <AsyncOperationResponse>
|
@@ -65,6 +68,7 @@ end
|
|
65
68
|
| Name | Type | Description | Notes |
|
66
69
|
| ---- | ---- | ----------- | ----- |
|
67
70
|
| **python_python_repository_version_href** | **String** | | |
|
71
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
68
72
|
|
69
73
|
### Return type
|
70
74
|
|
@@ -103,6 +107,7 @@ end
|
|
103
107
|
api_instance = PulpPythonClient::RepositoriesPythonVersionsApi.new
|
104
108
|
python_python_repository_href = 'python_python_repository_href_example' # String |
|
105
109
|
opts = {
|
110
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
106
111
|
content: 'content_example', # String | Content Unit referenced by HREF/PRN
|
107
112
|
content__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
108
113
|
limit: 56, # Integer | Number of results to return per page.
|
@@ -113,7 +118,7 @@ opts = {
|
|
113
118
|
number__lte: 56, # Integer | Filter results where number is less than or equal to value
|
114
119
|
number__range: [37], # Array<Integer> | Filter results where number is between two comma separated values
|
115
120
|
offset: 56, # Integer | The initial index from which to return the results.
|
116
|
-
ordering: ['-complete'], # 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) * `number` - Number * `-number` - Number (descending) * `complete` - Complete * `-complete` - Complete (descending) * `info` - Info * `-info` - Info (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
121
|
+
ordering: ['-complete'], # 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) * `number` - Number * `-number` - Number (descending) * `complete` - Complete * `-complete` - Complete (descending) * `info` - Info * `-info` - Info (descending) * `content_ids` - Content ids * `-content_ids` - Content ids (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
117
122
|
prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
118
123
|
pulp_created: Time.parse('2013-10-20T19:20:30+01:00'), # Time | Filter results where pulp_created matches value
|
119
124
|
pulp_created__gt: Time.parse('2013-10-20T19:20:30+01:00'), # Time | Filter results where pulp_created is greater than value
|
@@ -160,6 +165,7 @@ end
|
|
160
165
|
| Name | Type | Description | Notes |
|
161
166
|
| ---- | ---- | ----------- | ----- |
|
162
167
|
| **python_python_repository_href** | **String** | | |
|
168
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
163
169
|
| **content** | **String** | Content Unit referenced by HREF/PRN | [optional] |
|
164
170
|
| **content__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
165
171
|
| **limit** | **Integer** | Number of results to return per page. | [optional] |
|
@@ -170,7 +176,7 @@ end
|
|
170
176
|
| **number__lte** | **Integer** | Filter results where number is less than or equal to value | [optional] |
|
171
177
|
| **number__range** | [**Array<Integer>**](Integer.md) | Filter results where number is between two comma separated values | [optional] |
|
172
178
|
| **offset** | **Integer** | The initial index from which to return the results. | [optional] |
|
173
|
-
| **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) * `number` - Number * `-number` - Number (descending) * `complete` - Complete * `-complete` - Complete (descending) * `info` - Info * `-info` - Info (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
179
|
+
| **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) * `number` - Number * `-number` - Number (descending) * `complete` - Complete * `-complete` - Complete (descending) * `info` - Info * `-info` - Info (descending) * `content_ids` - Content ids * `-content_ids` - Content ids (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
174
180
|
| **prn__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
175
181
|
| **pulp_created** | **Time** | Filter results where pulp_created matches value | [optional] |
|
176
182
|
| **pulp_created__gt** | **Time** | Filter results where pulp_created is greater than value | [optional] |
|
@@ -221,6 +227,7 @@ end
|
|
221
227
|
api_instance = PulpPythonClient::RepositoriesPythonVersionsApi.new
|
222
228
|
python_python_repository_version_href = 'python_python_repository_version_href_example' # String |
|
223
229
|
opts = {
|
230
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
224
231
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
225
232
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
226
233
|
}
|
@@ -257,6 +264,7 @@ end
|
|
257
264
|
| Name | Type | Description | Notes |
|
258
265
|
| ---- | ---- | ----------- | ----- |
|
259
266
|
| **python_python_repository_version_href** | **String** | | |
|
267
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
260
268
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
261
269
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
262
270
|
|
@@ -276,7 +284,7 @@ end
|
|
276
284
|
|
277
285
|
## repair
|
278
286
|
|
279
|
-
> <AsyncOperationResponse> repair(python_python_repository_version_href, repair)
|
287
|
+
> <AsyncOperationResponse> repair(python_python_repository_version_href, repair, opts)
|
280
288
|
|
281
289
|
|
282
290
|
|
@@ -297,10 +305,13 @@ end
|
|
297
305
|
api_instance = PulpPythonClient::RepositoriesPythonVersionsApi.new
|
298
306
|
python_python_repository_version_href = 'python_python_repository_version_href_example' # String |
|
299
307
|
repair = PulpPythonClient::Repair.new # Repair |
|
308
|
+
opts = {
|
309
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
310
|
+
}
|
300
311
|
|
301
312
|
begin
|
302
313
|
|
303
|
-
result = api_instance.repair(python_python_repository_version_href, repair)
|
314
|
+
result = api_instance.repair(python_python_repository_version_href, repair, opts)
|
304
315
|
p result
|
305
316
|
rescue PulpPythonClient::ApiError => e
|
306
317
|
puts "Error when calling RepositoriesPythonVersionsApi->repair: #{e}"
|
@@ -311,12 +322,12 @@ end
|
|
311
322
|
|
312
323
|
This returns an Array which contains the response data, status code and headers.
|
313
324
|
|
314
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> repair_with_http_info(python_python_repository_version_href, repair)
|
325
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> repair_with_http_info(python_python_repository_version_href, repair, opts)
|
315
326
|
|
316
327
|
```ruby
|
317
328
|
begin
|
318
329
|
|
319
|
-
data, status_code, headers = api_instance.repair_with_http_info(python_python_repository_version_href, repair)
|
330
|
+
data, status_code, headers = api_instance.repair_with_http_info(python_python_repository_version_href, repair, opts)
|
320
331
|
p status_code # => 2xx
|
321
332
|
p headers # => { ... }
|
322
333
|
p data # => <AsyncOperationResponse>
|
@@ -331,6 +342,7 @@ end
|
|
331
342
|
| ---- | ---- | ----------- | ----- |
|
332
343
|
| **python_python_repository_version_href** | **String** | | |
|
333
344
|
| **repair** | [**Repair**](Repair.md) | | |
|
345
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
334
346
|
|
335
347
|
### Return type
|
336
348
|
|
@@ -23,34 +23,39 @@ module PulpPythonClient
|
|
23
23
|
# Trigger an asynchronous task to create content,optionally create new repository version.
|
24
24
|
# @param relative_path [String] Path where the artifact is located relative to distributions base_path
|
25
25
|
# @param [Hash] opts the optional parameters
|
26
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
26
27
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
27
28
|
# @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
28
29
|
# @option opts [String] :artifact Artifact file representing the physical content
|
29
30
|
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
30
31
|
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
31
32
|
# @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
|
32
|
-
# @option opts [String] :
|
33
|
-
# @option opts [String] :
|
33
|
+
# @option opts [String] :author Text containing the author's name. Contact information can also be added, separated with newlines.
|
34
|
+
# @option opts [String] :author_email The author's e-mail address.
|
34
35
|
# @option opts [String] :description A longer description of the package that can run to several paragraphs.
|
35
|
-
# @option opts [String] :description_content_type A string stating the markup syntax (if any) used in the distribution’s description, so that tools can intelligently render the description.
|
36
|
-
# @option opts [String] :keywords Additional keywords to be used to assist searching for the package in a larger catalog.
|
37
36
|
# @option opts [String] :home_page The URL for the package's home page.
|
37
|
+
# @option opts [String] :keywords Additional keywords to be used to assist searching for the package in a larger catalog.
|
38
|
+
# @option opts [String] :license Text indicating the license covering the distribution
|
39
|
+
# @option opts [String] :platform A comma-separated list of platform specifications, summarizing the operating systems supported by the package.
|
40
|
+
# @option opts [String] :summary A one-line summary of what the package does.
|
41
|
+
# @option opts [Object] :classifiers A JSON list containing classification values for a Python package.
|
38
42
|
# @option opts [String] :download_url Legacy field denoting the URL from which this package can be downloaded.
|
39
|
-
# @option opts [String] :
|
40
|
-
# @option opts [String] :author_email The author's e-mail address.
|
43
|
+
# @option opts [String] :supported_platform Field to specify the OS and CPU for which the binary package was compiled.
|
41
44
|
# @option opts [String] :maintainer The maintainer's name at a minimum; additional contact information may be provided.
|
42
45
|
# @option opts [String] :maintainer_email The maintainer's e-mail address.
|
43
|
-
# @option opts [
|
44
|
-
# @option opts [String] :requires_python The Python version(s) that the distribution is guaranteed to be compatible with.
|
46
|
+
# @option opts [Object] :obsoletes_dist A JSON list containing names of a distutils project's distribution which this distribution renders obsolete, meaning that the two projects should not be installed at the same time.
|
45
47
|
# @option opts [String] :project_url A browsable URL for the project and a label for it, separated by a comma.
|
46
48
|
# @option opts [Object] :project_urls A dictionary of labels and URLs for the project.
|
47
|
-
# @option opts [String] :platform A comma-separated list of platform specifications, summarizing the operating systems supported by the package.
|
48
|
-
# @option opts [String] :supported_platform Field to specify the OS and CPU for which the binary package was compiled.
|
49
|
-
# @option opts [Object] :requires_dist A JSON list containing names of some other distutils project required by this distribution.
|
50
49
|
# @option opts [Object] :provides_dist A JSON list containing names of a Distutils project which is contained within this distribution.
|
51
|
-
# @option opts [Object] :obsoletes_dist A JSON list containing names of a distutils project's distribution which this distribution renders obsolete, meaning that the two projects should not be installed at the same time.
|
52
50
|
# @option opts [Object] :requires_external A JSON list containing some dependency in the system that the distribution is to be used.
|
53
|
-
# @option opts [Object] :
|
51
|
+
# @option opts [Object] :requires_dist A JSON list containing names of some other distutils project required by this distribution.
|
52
|
+
# @option opts [String] :requires_python The Python version(s) that the distribution is guaranteed to be compatible with.
|
53
|
+
# @option opts [String] :description_content_type A string stating the markup syntax (if any) used in the distribution’s description, so that tools can intelligently render the description.
|
54
|
+
# @option opts [Object] :provides_extras A JSON list containing names of optional features provided by the package.
|
55
|
+
# @option opts [Object] :dynamic A JSON list containing names of other core metadata fields which are permitted to vary between sdist and bdist packages. Fields NOT marked dynamic MUST be the same between bdist and sdist.
|
56
|
+
# @option opts [String] :license_expression Text string that is a valid SPDX license expression.
|
57
|
+
# @option opts [Object] :license_file A JSON list containing names of the paths to license-related files.
|
58
|
+
# @option opts [String] :sha256 The SHA256 digest of this package. (default to '')
|
54
59
|
# @return [AsyncOperationResponse]
|
55
60
|
def create(relative_path, opts = {})
|
56
61
|
data, _status_code, _headers = create_with_http_info(relative_path, opts)
|
@@ -61,34 +66,39 @@ module PulpPythonClient
|
|
61
66
|
# Trigger an asynchronous task to create content,optionally create new repository version.
|
62
67
|
# @param relative_path [String] Path where the artifact is located relative to distributions base_path
|
63
68
|
# @param [Hash] opts the optional parameters
|
69
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
64
70
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
65
71
|
# @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
66
72
|
# @option opts [String] :artifact Artifact file representing the physical content
|
67
73
|
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
68
74
|
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
69
75
|
# @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
|
70
|
-
# @option opts [String] :
|
71
|
-
# @option opts [String] :
|
76
|
+
# @option opts [String] :author Text containing the author's name. Contact information can also be added, separated with newlines.
|
77
|
+
# @option opts [String] :author_email The author's e-mail address.
|
72
78
|
# @option opts [String] :description A longer description of the package that can run to several paragraphs.
|
73
|
-
# @option opts [String] :description_content_type A string stating the markup syntax (if any) used in the distribution’s description, so that tools can intelligently render the description.
|
74
|
-
# @option opts [String] :keywords Additional keywords to be used to assist searching for the package in a larger catalog.
|
75
79
|
# @option opts [String] :home_page The URL for the package's home page.
|
80
|
+
# @option opts [String] :keywords Additional keywords to be used to assist searching for the package in a larger catalog.
|
81
|
+
# @option opts [String] :license Text indicating the license covering the distribution
|
82
|
+
# @option opts [String] :platform A comma-separated list of platform specifications, summarizing the operating systems supported by the package.
|
83
|
+
# @option opts [String] :summary A one-line summary of what the package does.
|
84
|
+
# @option opts [Object] :classifiers A JSON list containing classification values for a Python package.
|
76
85
|
# @option opts [String] :download_url Legacy field denoting the URL from which this package can be downloaded.
|
77
|
-
# @option opts [String] :
|
78
|
-
# @option opts [String] :author_email The author's e-mail address.
|
86
|
+
# @option opts [String] :supported_platform Field to specify the OS and CPU for which the binary package was compiled.
|
79
87
|
# @option opts [String] :maintainer The maintainer's name at a minimum; additional contact information may be provided.
|
80
88
|
# @option opts [String] :maintainer_email The maintainer's e-mail address.
|
81
|
-
# @option opts [
|
82
|
-
# @option opts [String] :requires_python The Python version(s) that the distribution is guaranteed to be compatible with.
|
89
|
+
# @option opts [Object] :obsoletes_dist A JSON list containing names of a distutils project's distribution which this distribution renders obsolete, meaning that the two projects should not be installed at the same time.
|
83
90
|
# @option opts [String] :project_url A browsable URL for the project and a label for it, separated by a comma.
|
84
91
|
# @option opts [Object] :project_urls A dictionary of labels and URLs for the project.
|
85
|
-
# @option opts [String] :platform A comma-separated list of platform specifications, summarizing the operating systems supported by the package.
|
86
|
-
# @option opts [String] :supported_platform Field to specify the OS and CPU for which the binary package was compiled.
|
87
|
-
# @option opts [Object] :requires_dist A JSON list containing names of some other distutils project required by this distribution.
|
88
92
|
# @option opts [Object] :provides_dist A JSON list containing names of a Distutils project which is contained within this distribution.
|
89
|
-
# @option opts [Object] :obsoletes_dist A JSON list containing names of a distutils project's distribution which this distribution renders obsolete, meaning that the two projects should not be installed at the same time.
|
90
93
|
# @option opts [Object] :requires_external A JSON list containing some dependency in the system that the distribution is to be used.
|
91
|
-
# @option opts [Object] :
|
94
|
+
# @option opts [Object] :requires_dist A JSON list containing names of some other distutils project required by this distribution.
|
95
|
+
# @option opts [String] :requires_python The Python version(s) that the distribution is guaranteed to be compatible with.
|
96
|
+
# @option opts [String] :description_content_type A string stating the markup syntax (if any) used in the distribution’s description, so that tools can intelligently render the description.
|
97
|
+
# @option opts [Object] :provides_extras A JSON list containing names of optional features provided by the package.
|
98
|
+
# @option opts [Object] :dynamic A JSON list containing names of other core metadata fields which are permitted to vary between sdist and bdist packages. Fields NOT marked dynamic MUST be the same between bdist and sdist.
|
99
|
+
# @option opts [String] :license_expression Text string that is a valid SPDX license expression.
|
100
|
+
# @option opts [Object] :license_file A JSON list containing names of the paths to license-related files.
|
101
|
+
# @option opts [String] :sha256 The SHA256 digest of this package. (default to '')
|
92
102
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
93
103
|
def create_with_http_info(relative_path, opts = {})
|
94
104
|
if @api_client.config.debugging
|
@@ -125,6 +135,7 @@ module PulpPythonClient
|
|
125
135
|
if !content_type.nil?
|
126
136
|
header_params['Content-Type'] = content_type
|
127
137
|
end
|
138
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
128
139
|
|
129
140
|
# form parameters
|
130
141
|
form_params = opts[:form_params] || {}
|
@@ -135,28 +146,32 @@ module PulpPythonClient
|
|
135
146
|
form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
|
136
147
|
form_params['upload'] = opts[:'upload'] if !opts[:'upload'].nil?
|
137
148
|
form_params['file_url'] = opts[:'file_url'] if !opts[:'file_url'].nil?
|
138
|
-
form_params['
|
139
|
-
form_params['
|
149
|
+
form_params['author'] = opts[:'author'] if !opts[:'author'].nil?
|
150
|
+
form_params['author_email'] = opts[:'author_email'] if !opts[:'author_email'].nil?
|
140
151
|
form_params['description'] = opts[:'description'] if !opts[:'description'].nil?
|
141
|
-
form_params['description_content_type'] = opts[:'description_content_type'] if !opts[:'description_content_type'].nil?
|
142
|
-
form_params['keywords'] = opts[:'keywords'] if !opts[:'keywords'].nil?
|
143
152
|
form_params['home_page'] = opts[:'home_page'] if !opts[:'home_page'].nil?
|
153
|
+
form_params['keywords'] = opts[:'keywords'] if !opts[:'keywords'].nil?
|
154
|
+
form_params['license'] = opts[:'license'] if !opts[:'license'].nil?
|
155
|
+
form_params['platform'] = opts[:'platform'] if !opts[:'platform'].nil?
|
156
|
+
form_params['summary'] = opts[:'summary'] if !opts[:'summary'].nil?
|
157
|
+
form_params['classifiers'] = opts[:'classifiers'] if !opts[:'classifiers'].nil?
|
144
158
|
form_params['download_url'] = opts[:'download_url'] if !opts[:'download_url'].nil?
|
145
|
-
form_params['
|
146
|
-
form_params['author_email'] = opts[:'author_email'] if !opts[:'author_email'].nil?
|
159
|
+
form_params['supported_platform'] = opts[:'supported_platform'] if !opts[:'supported_platform'].nil?
|
147
160
|
form_params['maintainer'] = opts[:'maintainer'] if !opts[:'maintainer'].nil?
|
148
161
|
form_params['maintainer_email'] = opts[:'maintainer_email'] if !opts[:'maintainer_email'].nil?
|
149
|
-
form_params['
|
150
|
-
form_params['requires_python'] = opts[:'requires_python'] if !opts[:'requires_python'].nil?
|
162
|
+
form_params['obsoletes_dist'] = opts[:'obsoletes_dist'] if !opts[:'obsoletes_dist'].nil?
|
151
163
|
form_params['project_url'] = opts[:'project_url'] if !opts[:'project_url'].nil?
|
152
164
|
form_params['project_urls'] = opts[:'project_urls'] if !opts[:'project_urls'].nil?
|
153
|
-
form_params['platform'] = opts[:'platform'] if !opts[:'platform'].nil?
|
154
|
-
form_params['supported_platform'] = opts[:'supported_platform'] if !opts[:'supported_platform'].nil?
|
155
|
-
form_params['requires_dist'] = opts[:'requires_dist'] if !opts[:'requires_dist'].nil?
|
156
165
|
form_params['provides_dist'] = opts[:'provides_dist'] if !opts[:'provides_dist'].nil?
|
157
|
-
form_params['obsoletes_dist'] = opts[:'obsoletes_dist'] if !opts[:'obsoletes_dist'].nil?
|
158
166
|
form_params['requires_external'] = opts[:'requires_external'] if !opts[:'requires_external'].nil?
|
159
|
-
form_params['
|
167
|
+
form_params['requires_dist'] = opts[:'requires_dist'] if !opts[:'requires_dist'].nil?
|
168
|
+
form_params['requires_python'] = opts[:'requires_python'] if !opts[:'requires_python'].nil?
|
169
|
+
form_params['description_content_type'] = opts[:'description_content_type'] if !opts[:'description_content_type'].nil?
|
170
|
+
form_params['provides_extras'] = opts[:'provides_extras'] if !opts[:'provides_extras'].nil?
|
171
|
+
form_params['dynamic'] = opts[:'dynamic'] if !opts[:'dynamic'].nil?
|
172
|
+
form_params['license_expression'] = opts[:'license_expression'] if !opts[:'license_expression'].nil?
|
173
|
+
form_params['license_file'] = opts[:'license_file'] if !opts[:'license_file'].nil?
|
174
|
+
form_params['sha256'] = opts[:'sha256'] if !opts[:'sha256'].nil?
|
160
175
|
|
161
176
|
# http body (model)
|
162
177
|
post_body = opts[:debug_body]
|
@@ -187,6 +202,7 @@ module PulpPythonClient
|
|
187
202
|
# List python package contents
|
188
203
|
# PythonPackageContent represents each individually installable Python package. In the Python ecosystem, this is called a Python Distribution, sometimes (ambiguously) refered to as a package. In Pulp Python, we refer to it as PythonPackageContent. Each PythonPackageContent corresponds to a single filename, for example `pulpcore-3.0.0rc1-py3-none-any.whl` or `pulpcore-3.0.0rc1.tar.gz`.
|
189
204
|
# @param [Hash] opts the optional parameters
|
205
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
190
206
|
# @option opts [String] :author Filter results where author matches value
|
191
207
|
# @option opts [Array<String>] :author__in Filter results where author is in a comma-separated list of values
|
192
208
|
# @option opts [String] :filename Filter results where filename matches value
|
@@ -198,7 +214,7 @@ module PulpPythonClient
|
|
198
214
|
# @option opts [String] :name Filter results where name matches value
|
199
215
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
200
216
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
201
|
-
# @option opts [Array<String>] :ordering 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) * `
|
217
|
+
# @option opts [Array<String>] :ordering 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) * `author` - Author * `-author` - Author (descending) * `author_email` - Author email * `-author_email` - Author email (descending) * `description` - Description * `-description` - Description (descending) * `home_page` - Home page * `-home_page` - Home page (descending) * `keywords` - Keywords * `-keywords` - Keywords (descending) * `license` - License * `-license` - License (descending) * `metadata_version` - Metadata version * `-metadata_version` - Metadata version (descending) * `name` - Name * `-name` - Name (descending) * `platform` - Platform * `-platform` - Platform (descending) * `summary` - Summary * `-summary` - Summary (descending) * `version` - Version * `-version` - Version (descending) * `classifiers` - Classifiers * `-classifiers` - Classifiers (descending) * `download_url` - Download url * `-download_url` - Download url (descending) * `supported_platform` - Supported platform * `-supported_platform` - Supported platform (descending) * `maintainer` - Maintainer * `-maintainer` - Maintainer (descending) * `maintainer_email` - Maintainer email * `-maintainer_email` - Maintainer email (descending) * `obsoletes_dist` - Obsoletes dist * `-obsoletes_dist` - Obsoletes dist (descending) * `project_url` - Project url * `-project_url` - Project url (descending) * `project_urls` - Project urls * `-project_urls` - Project urls (descending) * `provides_dist` - Provides dist * `-provides_dist` - Provides dist (descending) * `requires_external` - Requires external * `-requires_external` - Requires external (descending) * `requires_dist` - Requires dist * `-requires_dist` - Requires dist (descending) * `requires_python` - Requires python * `-requires_python` - Requires python (descending) * `description_content_type` - Description content type * `-description_content_type` - Description content type (descending) * `provides_extras` - Provides extras * `-provides_extras` - Provides extras (descending) * `dynamic` - Dynamic * `-dynamic` - Dynamic (descending) * `license_expression` - License expression * `-license_expression` - License expression (descending) * `license_file` - License file * `-license_file` - License file (descending) * `filename` - Filename * `-filename` - Filename (descending) * `packagetype` - Packagetype * `-packagetype` - Packagetype (descending) * `python_version` - Python version * `-python_version` - Python version (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
202
218
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
203
219
|
# @option opts [String] :packagetype Filter results where packagetype matches value * `bdist_dmg` - bdist_dmg * `bdist_dumb` - bdist_dumb * `bdist_egg` - bdist_egg * `bdist_msi` - bdist_msi * `bdist_rpm` - bdist_rpm * `bdist_wheel` - bdist_wheel * `bdist_wininst` - bdist_wininst * `sdist` - sdist
|
204
220
|
# @option opts [Array<String>] :packagetype__in Filter results where packagetype is in a comma-separated list of values
|
@@ -231,6 +247,7 @@ module PulpPythonClient
|
|
231
247
|
# List python package contents
|
232
248
|
# PythonPackageContent represents each individually installable Python package. In the Python ecosystem, this is called a Python Distribution, sometimes (ambiguously) refered to as a package. In Pulp Python, we refer to it as PythonPackageContent. Each PythonPackageContent corresponds to a single filename, for example `pulpcore-3.0.0rc1-py3-none-any.whl` or `pulpcore-3.0.0rc1.tar.gz`.
|
233
249
|
# @param [Hash] opts the optional parameters
|
250
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
234
251
|
# @option opts [String] :author Filter results where author matches value
|
235
252
|
# @option opts [Array<String>] :author__in Filter results where author is in a comma-separated list of values
|
236
253
|
# @option opts [String] :filename Filter results where filename matches value
|
@@ -242,7 +259,7 @@ module PulpPythonClient
|
|
242
259
|
# @option opts [String] :name Filter results where name matches value
|
243
260
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
244
261
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
245
|
-
# @option opts [Array<String>] :ordering 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) * `
|
262
|
+
# @option opts [Array<String>] :ordering 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) * `author` - Author * `-author` - Author (descending) * `author_email` - Author email * `-author_email` - Author email (descending) * `description` - Description * `-description` - Description (descending) * `home_page` - Home page * `-home_page` - Home page (descending) * `keywords` - Keywords * `-keywords` - Keywords (descending) * `license` - License * `-license` - License (descending) * `metadata_version` - Metadata version * `-metadata_version` - Metadata version (descending) * `name` - Name * `-name` - Name (descending) * `platform` - Platform * `-platform` - Platform (descending) * `summary` - Summary * `-summary` - Summary (descending) * `version` - Version * `-version` - Version (descending) * `classifiers` - Classifiers * `-classifiers` - Classifiers (descending) * `download_url` - Download url * `-download_url` - Download url (descending) * `supported_platform` - Supported platform * `-supported_platform` - Supported platform (descending) * `maintainer` - Maintainer * `-maintainer` - Maintainer (descending) * `maintainer_email` - Maintainer email * `-maintainer_email` - Maintainer email (descending) * `obsoletes_dist` - Obsoletes dist * `-obsoletes_dist` - Obsoletes dist (descending) * `project_url` - Project url * `-project_url` - Project url (descending) * `project_urls` - Project urls * `-project_urls` - Project urls (descending) * `provides_dist` - Provides dist * `-provides_dist` - Provides dist (descending) * `requires_external` - Requires external * `-requires_external` - Requires external (descending) * `requires_dist` - Requires dist * `-requires_dist` - Requires dist (descending) * `requires_python` - Requires python * `-requires_python` - Requires python (descending) * `description_content_type` - Description content type * `-description_content_type` - Description content type (descending) * `provides_extras` - Provides extras * `-provides_extras` - Provides extras (descending) * `dynamic` - Dynamic * `-dynamic` - Dynamic (descending) * `license_expression` - License expression * `-license_expression` - License expression (descending) * `license_file` - License file * `-license_file` - License file (descending) * `filename` - Filename * `-filename` - Filename (descending) * `packagetype` - Packagetype * `-packagetype` - Packagetype (descending) * `python_version` - Python version * `-python_version` - Python version (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
246
263
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
247
264
|
# @option opts [String] :packagetype Filter results where packagetype matches value * `bdist_dmg` - bdist_dmg * `bdist_dumb` - bdist_dumb * `bdist_egg` - bdist_egg * `bdist_msi` - bdist_msi * `bdist_rpm` - bdist_rpm * `bdist_wheel` - bdist_wheel * `bdist_wininst` - bdist_wininst * `sdist` - sdist
|
248
265
|
# @option opts [Array<String>] :packagetype__in Filter results where packagetype is in a comma-separated list of values
|
@@ -271,7 +288,7 @@ module PulpPythonClient
|
|
271
288
|
if @api_client.config.debugging
|
272
289
|
@api_client.config.logger.debug 'Calling API: ContentPackagesApi.list ...'
|
273
290
|
end
|
274
|
-
allowable_values = ["-author", "-author_email", "-classifiers", "-description", "-description_content_type", "-download_url", "-filename", "-home_page", "-keywords", "-license", "-maintainer", "-maintainer_email", "-metadata_version", "-name", "-obsoletes_dist", "-packagetype", "-pk", "-platform", "-project_url", "-project_urls", "-provides_dist", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-python_version", "-requires_dist", "-requires_external", "-requires_python", "-sha256", "-summary", "-supported_platform", "-timestamp_of_interest", "-upstream_id", "-version", "author", "author_email", "classifiers", "description", "description_content_type", "download_url", "filename", "home_page", "keywords", "license", "maintainer", "maintainer_email", "metadata_version", "name", "obsoletes_dist", "packagetype", "pk", "platform", "project_url", "project_urls", "provides_dist", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "python_version", "requires_dist", "requires_external", "requires_python", "sha256", "summary", "supported_platform", "timestamp_of_interest", "upstream_id", "version"]
|
291
|
+
allowable_values = ["-author", "-author_email", "-classifiers", "-description", "-description_content_type", "-download_url", "-dynamic", "-filename", "-home_page", "-keywords", "-license", "-license_expression", "-license_file", "-maintainer", "-maintainer_email", "-metadata_version", "-name", "-obsoletes_dist", "-packagetype", "-pk", "-platform", "-project_url", "-project_urls", "-provides_dist", "-provides_extras", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-python_version", "-requires_dist", "-requires_external", "-requires_python", "-sha256", "-summary", "-supported_platform", "-timestamp_of_interest", "-upstream_id", "-version", "author", "author_email", "classifiers", "description", "description_content_type", "download_url", "dynamic", "filename", "home_page", "keywords", "license", "license_expression", "license_file", "maintainer", "maintainer_email", "metadata_version", "name", "obsoletes_dist", "packagetype", "pk", "platform", "project_url", "project_urls", "provides_dist", "provides_extras", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "python_version", "requires_dist", "requires_external", "requires_python", "sha256", "summary", "supported_platform", "timestamp_of_interest", "upstream_id", "version"]
|
275
292
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
276
293
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
277
294
|
end
|
@@ -324,6 +341,7 @@ module PulpPythonClient
|
|
324
341
|
header_params = opts[:header_params] || {}
|
325
342
|
# HTTP header 'Accept' (if needed)
|
326
343
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
344
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
327
345
|
|
328
346
|
# form parameters
|
329
347
|
form_params = opts[:form_params] || {}
|
@@ -358,6 +376,7 @@ module PulpPythonClient
|
|
358
376
|
# PythonPackageContent represents each individually installable Python package. In the Python ecosystem, this is called a Python Distribution, sometimes (ambiguously) refered to as a package. In Pulp Python, we refer to it as PythonPackageContent. Each PythonPackageContent corresponds to a single filename, for example `pulpcore-3.0.0rc1-py3-none-any.whl` or `pulpcore-3.0.0rc1.tar.gz`.
|
359
377
|
# @param python_python_package_content_href [String]
|
360
378
|
# @param [Hash] opts the optional parameters
|
379
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
361
380
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
362
381
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
363
382
|
# @return [PythonPythonPackageContentResponse]
|
@@ -370,6 +389,7 @@ module PulpPythonClient
|
|
370
389
|
# PythonPackageContent represents each individually installable Python package. In the Python ecosystem, this is called a Python Distribution, sometimes (ambiguously) refered to as a package. In Pulp Python, we refer to it as PythonPackageContent. Each PythonPackageContent corresponds to a single filename, for example `pulpcore-3.0.0rc1-py3-none-any.whl` or `pulpcore-3.0.0rc1.tar.gz`.
|
371
390
|
# @param python_python_package_content_href [String]
|
372
391
|
# @param [Hash] opts the optional parameters
|
392
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
373
393
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
374
394
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
375
395
|
# @return [Array<(PythonPythonPackageContentResponse, Integer, Hash)>] PythonPythonPackageContentResponse data, response status code and response headers
|
@@ -393,6 +413,7 @@ module PulpPythonClient
|
|
393
413
|
header_params = opts[:header_params] || {}
|
394
414
|
# HTTP header 'Accept' (if needed)
|
395
415
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
416
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
396
417
|
|
397
418
|
# form parameters
|
398
419
|
form_params = opts[:form_params] || {}
|
@@ -428,6 +449,7 @@ module PulpPythonClient
|
|
428
449
|
# @param python_python_package_content_href [String]
|
429
450
|
# @param set_label [SetLabel]
|
430
451
|
# @param [Hash] opts the optional parameters
|
452
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
431
453
|
# @return [SetLabelResponse]
|
432
454
|
def set_label(python_python_package_content_href, set_label, opts = {})
|
433
455
|
data, _status_code, _headers = set_label_with_http_info(python_python_package_content_href, set_label, opts)
|
@@ -439,6 +461,7 @@ module PulpPythonClient
|
|
439
461
|
# @param python_python_package_content_href [String]
|
440
462
|
# @param set_label [SetLabel]
|
441
463
|
# @param [Hash] opts the optional parameters
|
464
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
442
465
|
# @return [Array<(SetLabelResponse, Integer, Hash)>] SetLabelResponse data, response status code and response headers
|
443
466
|
def set_label_with_http_info(python_python_package_content_href, set_label, opts = {})
|
444
467
|
if @api_client.config.debugging
|
@@ -467,6 +490,7 @@ module PulpPythonClient
|
|
467
490
|
if !content_type.nil?
|
468
491
|
header_params['Content-Type'] = content_type
|
469
492
|
end
|
493
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
470
494
|
|
471
495
|
# form parameters
|
472
496
|
form_params = opts[:form_params] || {}
|
@@ -502,6 +526,7 @@ module PulpPythonClient
|
|
502
526
|
# @param python_python_package_content_href [String]
|
503
527
|
# @param unset_label [UnsetLabel]
|
504
528
|
# @param [Hash] opts the optional parameters
|
529
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
505
530
|
# @return [UnsetLabelResponse]
|
506
531
|
def unset_label(python_python_package_content_href, unset_label, opts = {})
|
507
532
|
data, _status_code, _headers = unset_label_with_http_info(python_python_package_content_href, unset_label, opts)
|
@@ -513,6 +538,7 @@ module PulpPythonClient
|
|
513
538
|
# @param python_python_package_content_href [String]
|
514
539
|
# @param unset_label [UnsetLabel]
|
515
540
|
# @param [Hash] opts the optional parameters
|
541
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
516
542
|
# @return [Array<(UnsetLabelResponse, Integer, Hash)>] UnsetLabelResponse data, response status code and response headers
|
517
543
|
def unset_label_with_http_info(python_python_package_content_href, unset_label, opts = {})
|
518
544
|
if @api_client.config.debugging
|
@@ -541,6 +567,7 @@ module PulpPythonClient
|
|
541
567
|
if !content_type.nil?
|
542
568
|
header_params['Content-Type'] = content_type
|
543
569
|
end
|
570
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
544
571
|
|
545
572
|
# form parameters
|
546
573
|
form_params = opts[:form_params] || {}
|