pulp_python_client 3.12.4 → 3.13.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 +17 -16
- data/docs/AsyncOperationResponse.md +8 -7
- data/docs/ContentPackagesApi.md +170 -120
- data/docs/ContentSummaryResponse.md +12 -11
- data/docs/DistributionsPypiApi.md +385 -182
- data/docs/ExcludePlatformsEnum.md +4 -5
- data/docs/MyPermissionsResponse.md +8 -7
- data/docs/NestedRole.md +12 -11
- data/docs/NestedRoleResponse.md +12 -11
- data/docs/ObjectRolesResponse.md +8 -7
- data/docs/PackageMetadataResponse.md +14 -13
- data/docs/PackageTypesEnum.md +4 -5
- data/docs/PackageUploadTaskResponse.md +12 -11
- data/docs/PaginatedRepositoryVersionResponseList.md +14 -13
- data/docs/PaginatedpythonPythonDistributionResponseList.md +14 -13
- data/docs/PaginatedpythonPythonPackageContentResponseList.md +14 -13
- data/docs/PaginatedpythonPythonPublicationResponseList.md +14 -13
- data/docs/PaginatedpythonPythonRemoteResponseList.md +14 -13
- data/docs/PaginatedpythonPythonRepositoryResponseList.md +14 -13
- data/docs/PatchedpythonPythonDistribution.md +24 -23
- data/docs/PatchedpythonPythonRemote.md +60 -59
- data/docs/PatchedpythonPythonRepository.md +18 -17
- data/docs/PolicyEnum.md +4 -5
- data/docs/PublicationsPypiApi.md +267 -130
- data/docs/PypiApi.md +33 -17
- data/docs/PypiLegacyApi.md +34 -18
- data/docs/PypiMetadataApi.md +34 -18
- data/docs/PypiSimpleApi.md +95 -45
- data/docs/PythonPythonDistribution.md +24 -23
- data/docs/PythonPythonDistributionResponse.md +36 -35
- data/docs/PythonPythonPackageContentResponse.md +70 -69
- data/docs/PythonPythonPublication.md +10 -9
- data/docs/PythonPythonPublicationResponse.md +20 -19
- data/docs/PythonPythonRemote.md +60 -59
- data/docs/PythonPythonRemoteResponse.md +60 -59
- data/docs/PythonPythonRemoteResponseHiddenFieldsInner.md +20 -0
- data/docs/PythonPythonRepository.md +18 -17
- data/docs/PythonPythonRepositoryResponse.md +30 -29
- data/docs/RemotesPythonApi.md +420 -198
- data/docs/Repair.md +8 -7
- data/docs/RepositoriesPythonApi.md +444 -207
- data/docs/RepositoriesPythonVersionsApi.md +152 -82
- data/docs/RepositoryAddRemoveContent.md +12 -11
- data/docs/RepositorySyncURL.md +10 -9
- data/docs/RepositoryVersionResponse.md +22 -21
- data/docs/SetLabel.md +10 -9
- data/docs/SetLabelResponse.md +10 -9
- data/docs/SummaryResponse.md +12 -11
- data/docs/UnsetLabel.md +8 -7
- data/docs/UnsetLabelResponse.md +10 -9
- data/lib/pulp_python_client/api/content_packages_api.rb +33 -27
- data/lib/pulp_python_client/api/distributions_pypi_api.rb +89 -56
- data/lib/pulp_python_client/api/publications_pypi_api.rb +67 -47
- data/lib/pulp_python_client/api/pypi_api.rb +6 -5
- data/lib/pulp_python_client/api/pypi_legacy_api.rb +11 -7
- data/lib/pulp_python_client/api/pypi_metadata_api.rb +6 -5
- data/lib/pulp_python_client/api/pypi_simple_api.rb +19 -13
- data/lib/pulp_python_client/api/remotes_python_api.rb +113 -73
- data/lib/pulp_python_client/api/repositories_python_api.rb +107 -66
- data/lib/pulp_python_client/api/repositories_python_versions_api.rb +40 -30
- data/lib/pulp_python_client/api_client.rb +137 -102
- data/lib/pulp_python_client/api_error.rb +2 -1
- data/lib/pulp_python_client/configuration.rb +162 -21
- data/lib/pulp_python_client/models/async_operation_response.rb +32 -22
- data/lib/pulp_python_client/models/content_summary_response.rb +36 -22
- data/lib/pulp_python_client/models/exclude_platforms_enum.rb +8 -4
- data/lib/pulp_python_client/models/my_permissions_response.rb +32 -22
- data/lib/pulp_python_client/models/nested_role.rb +32 -22
- data/lib/pulp_python_client/models/nested_role_response.rb +32 -22
- data/lib/pulp_python_client/models/object_roles_response.rb +32 -22
- data/lib/pulp_python_client/models/package_metadata_response.rb +44 -40
- data/lib/pulp_python_client/models/package_types_enum.rb +8 -4
- data/lib/pulp_python_client/models/package_upload_task_response.rb +37 -23
- data/lib/pulp_python_client/models/paginated_repository_version_response_list.rb +34 -22
- data/lib/pulp_python_client/models/paginatedpython_python_distribution_response_list.rb +34 -22
- data/lib/pulp_python_client/models/paginatedpython_python_package_content_response_list.rb +34 -22
- data/lib/pulp_python_client/models/paginatedpython_python_publication_response_list.rb +34 -22
- data/lib/pulp_python_client/models/paginatedpython_python_remote_response_list.rb +34 -22
- data/lib/pulp_python_client/models/paginatedpython_python_repository_response_list.rb +34 -22
- data/lib/pulp_python_client/models/patchedpython_python_distribution.rb +40 -24
- data/lib/pulp_python_client/models/patchedpython_python_remote.rb +62 -24
- data/lib/pulp_python_client/models/patchedpython_python_repository.rb +35 -23
- data/lib/pulp_python_client/models/policy_enum.rb +8 -4
- data/lib/pulp_python_client/models/python_python_distribution.rb +34 -22
- data/lib/pulp_python_client/models/python_python_distribution_response.rb +36 -24
- data/lib/pulp_python_client/models/python_python_package_content_response.rb +44 -30
- data/lib/pulp_python_client/models/python_python_publication.rb +30 -22
- data/lib/pulp_python_client/models/python_python_publication_response.rb +32 -24
- data/lib/pulp_python_client/models/python_python_remote.rb +56 -22
- data/lib/pulp_python_client/models/python_python_remote_response.rb +59 -25
- data/lib/pulp_python_client/models/{python_python_remote_response_hidden_fields.rb → python_python_remote_response_hidden_fields_inner.rb} +37 -25
- data/lib/pulp_python_client/models/python_python_repository.rb +32 -22
- data/lib/pulp_python_client/models/python_python_repository_response.rb +34 -24
- data/lib/pulp_python_client/models/repair.rb +30 -22
- data/lib/pulp_python_client/models/repository_add_remove_content.rb +30 -22
- data/lib/pulp_python_client/models/repository_sync_url.rb +30 -22
- data/lib/pulp_python_client/models/repository_version_response.rb +32 -24
- data/lib/pulp_python_client/models/set_label.rb +34 -22
- data/lib/pulp_python_client/models/set_label_response.rb +34 -22
- data/lib/pulp_python_client/models/summary_response.rb +36 -22
- data/lib/pulp_python_client/models/unset_label.rb +32 -22
- data/lib/pulp_python_client/models/unset_label_response.rb +32 -22
- data/lib/pulp_python_client/version.rb +2 -2
- data/lib/pulp_python_client.rb +2 -5
- data/pulp_python_client.gemspec +9 -6
- data/spec/api/content_packages_api_spec.rb +10 -10
- data/spec/api/distributions_pypi_api_spec.rb +13 -13
- data/spec/api/publications_pypi_api_spec.rb +16 -15
- data/spec/api/pypi_api_spec.rb +2 -2
- data/spec/api/pypi_legacy_api_spec.rb +2 -2
- data/spec/api/pypi_metadata_api_spec.rb +2 -2
- data/spec/api/pypi_simple_api_spec.rb +4 -4
- data/spec/api/remotes_python_api_spec.rb +21 -20
- data/spec/api/repositories_python_api_spec.rb +15 -15
- data/spec/api/repositories_python_versions_api_spec.rb +12 -11
- data/spec/models/async_operation_response_spec.rb +7 -12
- data/spec/models/content_summary_response_spec.rb +9 -14
- data/spec/models/exclude_platforms_enum_spec.rb +6 -11
- data/spec/models/my_permissions_response_spec.rb +7 -12
- data/spec/models/nested_role_response_spec.rb +9 -14
- data/spec/models/nested_role_spec.rb +9 -14
- data/spec/models/object_roles_response_spec.rb +7 -12
- data/spec/models/package_metadata_response_spec.rb +10 -15
- data/spec/models/package_types_enum_spec.rb +6 -11
- data/spec/models/package_upload_task_response_spec.rb +9 -14
- data/spec/models/paginated_repository_version_response_list_spec.rb +10 -15
- data/spec/models/paginatedpython_python_distribution_response_list_spec.rb +10 -15
- data/spec/models/paginatedpython_python_package_content_response_list_spec.rb +10 -15
- data/spec/models/paginatedpython_python_publication_response_list_spec.rb +10 -15
- data/spec/models/paginatedpython_python_remote_response_list_spec.rb +10 -15
- data/spec/models/paginatedpython_python_repository_response_list_spec.rb +10 -15
- data/spec/models/patchedpython_python_distribution_spec.rb +15 -20
- data/spec/models/patchedpython_python_remote_spec.rb +33 -38
- data/spec/models/patchedpython_python_repository_spec.rb +12 -17
- data/spec/models/policy_enum_spec.rb +6 -11
- data/spec/models/python_python_distribution_response_spec.rb +21 -26
- data/spec/models/python_python_distribution_spec.rb +15 -20
- data/spec/models/python_python_package_content_response_spec.rb +38 -43
- data/spec/models/python_python_publication_response_spec.rb +13 -18
- data/spec/models/python_python_publication_spec.rb +8 -13
- data/spec/models/{python_python_remote_response_hidden_fields_spec.rb → python_python_remote_response_hidden_fields_inner_spec.rb} +11 -16
- data/spec/models/python_python_remote_response_spec.rb +33 -38
- data/spec/models/python_python_remote_spec.rb +33 -38
- data/spec/models/python_python_repository_response_spec.rb +18 -23
- data/spec/models/python_python_repository_spec.rb +12 -17
- data/spec/models/repair_spec.rb +7 -12
- data/spec/models/repository_add_remove_content_spec.rb +9 -14
- data/spec/models/repository_sync_url_spec.rb +8 -13
- data/spec/models/repository_version_response_spec.rb +14 -19
- data/spec/models/set_label_response_spec.rb +8 -13
- data/spec/models/set_label_spec.rb +8 -13
- data/spec/models/summary_response_spec.rb +9 -14
- data/spec/models/unset_label_response_spec.rb +8 -13
- data/spec/models/unset_label_spec.rb +7 -12
- data/spec/spec_helper.rb +1 -1
- metadata +78 -66
- data/docs/PackageUpload.md +0 -21
- data/docs/PythonBanderRemote.md +0 -21
- data/docs/PythonPythonPackageContent.md +0 -71
- data/docs/PythonPythonRemoteResponseHiddenFields.md +0 -19
- data/lib/pulp_python_client/models/package_upload.rb +0 -283
- data/lib/pulp_python_client/models/python_bander_remote.rb +0 -257
- data/lib/pulp_python_client/models/python_python_package_content.rb +0 -534
- data/spec/api_client_spec.rb +0 -188
- data/spec/configuration_spec.rb +0 -42
- data/spec/models/package_upload_spec.rb +0 -53
- data/spec/models/python_bander_remote_spec.rb +0 -53
- data/spec/models/python_python_package_content_spec.rb +0 -203
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
Contact: pulp-list@redhat.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
|
9
|
+
Generator version: 7.10.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -42,14 +42,14 @@ module PulpPythonClient
|
|
42
42
|
# @option opts [String] :license Text indicating the license covering the distribution
|
43
43
|
# @option opts [String] :requires_python The Python version(s) that the distribution is guaranteed to be compatible with.
|
44
44
|
# @option opts [String] :project_url A browsable URL for the project and a label for it, separated by a comma.
|
45
|
-
# @option opts [
|
45
|
+
# @option opts [Object] :project_urls A dictionary of labels and URLs for the project.
|
46
46
|
# @option opts [String] :platform A comma-separated list of platform specifications, summarizing the operating systems supported by the package.
|
47
47
|
# @option opts [String] :supported_platform Field to specify the OS and CPU for which the binary package was compiled.
|
48
|
-
# @option opts [
|
49
|
-
# @option opts [
|
50
|
-
# @option opts [
|
51
|
-
# @option opts [
|
52
|
-
# @option opts [
|
48
|
+
# @option opts [Object] :requires_dist A JSON list containing names of some other distutils project required by this distribution.
|
49
|
+
# @option opts [Object] :provides_dist A JSON list containing names of a Distutils project which is contained within this distribution.
|
50
|
+
# @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.
|
51
|
+
# @option opts [Object] :requires_external A JSON list containing some dependency in the system that the distribution is to be used.
|
52
|
+
# @option opts [Object] :classifiers A JSON list containing classification values for a Python package.
|
53
53
|
# @return [AsyncOperationResponse]
|
54
54
|
def create(relative_path, opts = {})
|
55
55
|
data, _status_code, _headers = create_with_http_info(relative_path, opts)
|
@@ -65,7 +65,7 @@ module PulpPythonClient
|
|
65
65
|
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
66
66
|
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
67
67
|
# @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
|
68
|
-
# @option opts [String] :sha256 The SHA256 digest of this package.
|
68
|
+
# @option opts [String] :sha256 The SHA256 digest of this package. (default to '')
|
69
69
|
# @option opts [String] :summary A one-line summary of what the package does.
|
70
70
|
# @option opts [String] :description A longer description of the package that can run to several paragraphs.
|
71
71
|
# @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.
|
@@ -79,14 +79,14 @@ module PulpPythonClient
|
|
79
79
|
# @option opts [String] :license Text indicating the license covering the distribution
|
80
80
|
# @option opts [String] :requires_python The Python version(s) that the distribution is guaranteed to be compatible with.
|
81
81
|
# @option opts [String] :project_url A browsable URL for the project and a label for it, separated by a comma.
|
82
|
-
# @option opts [
|
82
|
+
# @option opts [Object] :project_urls A dictionary of labels and URLs for the project.
|
83
83
|
# @option opts [String] :platform A comma-separated list of platform specifications, summarizing the operating systems supported by the package.
|
84
84
|
# @option opts [String] :supported_platform Field to specify the OS and CPU for which the binary package was compiled.
|
85
|
-
# @option opts [
|
86
|
-
# @option opts [
|
87
|
-
# @option opts [
|
88
|
-
# @option opts [
|
89
|
-
# @option opts [
|
85
|
+
# @option opts [Object] :requires_dist A JSON list containing names of some other distutils project required by this distribution.
|
86
|
+
# @option opts [Object] :provides_dist A JSON list containing names of a Distutils project which is contained within this distribution.
|
87
|
+
# @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.
|
88
|
+
# @option opts [Object] :requires_external A JSON list containing some dependency in the system that the distribution is to be used.
|
89
|
+
# @option opts [Object] :classifiers A JSON list containing classification values for a Python package.
|
90
90
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
91
91
|
def create_with_http_info(relative_path, opts = {})
|
92
92
|
if @api_client.config.debugging
|
@@ -117,9 +117,12 @@ module PulpPythonClient
|
|
117
117
|
# header parameters
|
118
118
|
header_params = opts[:header_params] || {}
|
119
119
|
# HTTP header 'Accept' (if needed)
|
120
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
120
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
121
121
|
# HTTP header 'Content-Type'
|
122
|
-
|
122
|
+
content_type = @api_client.select_header_content_type(['multipart/form-data', 'application/x-www-form-urlencoded'])
|
123
|
+
if !content_type.nil?
|
124
|
+
header_params['Content-Type'] = content_type
|
125
|
+
end
|
123
126
|
|
124
127
|
# form parameters
|
125
128
|
form_params = opts[:form_params] || {}
|
@@ -153,15 +156,16 @@ module PulpPythonClient
|
|
153
156
|
form_params['classifiers'] = opts[:'classifiers'] if !opts[:'classifiers'].nil?
|
154
157
|
|
155
158
|
# http body (model)
|
156
|
-
post_body = opts[:
|
159
|
+
post_body = opts[:debug_body]
|
157
160
|
|
158
161
|
# return_type
|
159
|
-
return_type = opts[:
|
162
|
+
return_type = opts[:debug_return_type] || 'AsyncOperationResponse'
|
160
163
|
|
161
164
|
# auth_names
|
162
|
-
auth_names = opts[:
|
165
|
+
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
163
166
|
|
164
167
|
new_options = opts.merge(
|
168
|
+
:operation => :"ContentPackagesApi.create",
|
165
169
|
:header_params => header_params,
|
166
170
|
:query_params => query_params,
|
167
171
|
:form_params => form_params,
|
@@ -313,21 +317,22 @@ module PulpPythonClient
|
|
313
317
|
# header parameters
|
314
318
|
header_params = opts[:header_params] || {}
|
315
319
|
# HTTP header 'Accept' (if needed)
|
316
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
320
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
317
321
|
|
318
322
|
# form parameters
|
319
323
|
form_params = opts[:form_params] || {}
|
320
324
|
|
321
325
|
# http body (model)
|
322
|
-
post_body = opts[:
|
326
|
+
post_body = opts[:debug_body]
|
323
327
|
|
324
328
|
# return_type
|
325
|
-
return_type = opts[:
|
329
|
+
return_type = opts[:debug_return_type] || 'PaginatedpythonPythonPackageContentResponseList'
|
326
330
|
|
327
331
|
# auth_names
|
328
|
-
auth_names = opts[:
|
332
|
+
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
329
333
|
|
330
334
|
new_options = opts.merge(
|
335
|
+
:operation => :"ContentPackagesApi.list",
|
331
336
|
:header_params => header_params,
|
332
337
|
:query_params => query_params,
|
333
338
|
:form_params => form_params,
|
@@ -381,21 +386,22 @@ module PulpPythonClient
|
|
381
386
|
# header parameters
|
382
387
|
header_params = opts[:header_params] || {}
|
383
388
|
# HTTP header 'Accept' (if needed)
|
384
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
389
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
385
390
|
|
386
391
|
# form parameters
|
387
392
|
form_params = opts[:form_params] || {}
|
388
393
|
|
389
394
|
# http body (model)
|
390
|
-
post_body = opts[:
|
395
|
+
post_body = opts[:debug_body]
|
391
396
|
|
392
397
|
# return_type
|
393
|
-
return_type = opts[:
|
398
|
+
return_type = opts[:debug_return_type] || 'PythonPythonPackageContentResponse'
|
394
399
|
|
395
400
|
# auth_names
|
396
|
-
auth_names = opts[:
|
401
|
+
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
397
402
|
|
398
403
|
new_options = opts.merge(
|
404
|
+
:operation => :"ContentPackagesApi.read",
|
399
405
|
:header_params => header_params,
|
400
406
|
:query_params => query_params,
|
401
407
|
:form_params => form_params,
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
Contact: pulp-list@redhat.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
|
9
|
+
Generator version: 7.10.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -57,23 +57,27 @@ module PulpPythonClient
|
|
57
57
|
# header parameters
|
58
58
|
header_params = opts[:header_params] || {}
|
59
59
|
# HTTP header 'Accept' (if needed)
|
60
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
60
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
61
61
|
# HTTP header 'Content-Type'
|
62
|
-
|
62
|
+
content_type = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
63
|
+
if !content_type.nil?
|
64
|
+
header_params['Content-Type'] = content_type
|
65
|
+
end
|
63
66
|
|
64
67
|
# form parameters
|
65
68
|
form_params = opts[:form_params] || {}
|
66
69
|
|
67
70
|
# http body (model)
|
68
|
-
post_body = opts[:
|
71
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(nested_role)
|
69
72
|
|
70
73
|
# return_type
|
71
|
-
return_type = opts[:
|
74
|
+
return_type = opts[:debug_return_type] || 'NestedRoleResponse'
|
72
75
|
|
73
76
|
# auth_names
|
74
|
-
auth_names = opts[:
|
77
|
+
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
75
78
|
|
76
79
|
new_options = opts.merge(
|
80
|
+
:operation => :"DistributionsPypiApi.add_role",
|
77
81
|
:header_params => header_params,
|
78
82
|
:query_params => query_params,
|
79
83
|
:form_params => form_params,
|
@@ -121,23 +125,27 @@ module PulpPythonClient
|
|
121
125
|
# header parameters
|
122
126
|
header_params = opts[:header_params] || {}
|
123
127
|
# HTTP header 'Accept' (if needed)
|
124
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
128
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
125
129
|
# HTTP header 'Content-Type'
|
126
|
-
|
130
|
+
content_type = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
131
|
+
if !content_type.nil?
|
132
|
+
header_params['Content-Type'] = content_type
|
133
|
+
end
|
127
134
|
|
128
135
|
# form parameters
|
129
136
|
form_params = opts[:form_params] || {}
|
130
137
|
|
131
138
|
# http body (model)
|
132
|
-
post_body = opts[:
|
139
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(python_python_distribution)
|
133
140
|
|
134
141
|
# return_type
|
135
|
-
return_type = opts[:
|
142
|
+
return_type = opts[:debug_return_type] || 'AsyncOperationResponse'
|
136
143
|
|
137
144
|
# auth_names
|
138
|
-
auth_names = opts[:
|
145
|
+
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
139
146
|
|
140
147
|
new_options = opts.merge(
|
148
|
+
:operation => :"DistributionsPypiApi.create",
|
141
149
|
:header_params => header_params,
|
142
150
|
:query_params => query_params,
|
143
151
|
:form_params => form_params,
|
@@ -185,21 +193,22 @@ module PulpPythonClient
|
|
185
193
|
# header parameters
|
186
194
|
header_params = opts[:header_params] || {}
|
187
195
|
# HTTP header 'Accept' (if needed)
|
188
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
196
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
189
197
|
|
190
198
|
# form parameters
|
191
199
|
form_params = opts[:form_params] || {}
|
192
200
|
|
193
201
|
# http body (model)
|
194
|
-
post_body = opts[:
|
202
|
+
post_body = opts[:debug_body]
|
195
203
|
|
196
204
|
# return_type
|
197
|
-
return_type = opts[:
|
205
|
+
return_type = opts[:debug_return_type] || 'AsyncOperationResponse'
|
198
206
|
|
199
207
|
# auth_names
|
200
|
-
auth_names = opts[:
|
208
|
+
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
201
209
|
|
202
210
|
new_options = opts.merge(
|
211
|
+
:operation => :"DistributionsPypiApi.delete",
|
203
212
|
:header_params => header_params,
|
204
213
|
:query_params => query_params,
|
205
214
|
:form_params => form_params,
|
@@ -323,21 +332,22 @@ module PulpPythonClient
|
|
323
332
|
# header parameters
|
324
333
|
header_params = opts[:header_params] || {}
|
325
334
|
# HTTP header 'Accept' (if needed)
|
326
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
335
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
327
336
|
|
328
337
|
# form parameters
|
329
338
|
form_params = opts[:form_params] || {}
|
330
339
|
|
331
340
|
# http body (model)
|
332
|
-
post_body = opts[:
|
341
|
+
post_body = opts[:debug_body]
|
333
342
|
|
334
343
|
# return_type
|
335
|
-
return_type = opts[:
|
344
|
+
return_type = opts[:debug_return_type] || 'PaginatedpythonPythonDistributionResponseList'
|
336
345
|
|
337
346
|
# auth_names
|
338
|
-
auth_names = opts[:
|
347
|
+
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
339
348
|
|
340
349
|
new_options = opts.merge(
|
350
|
+
:operation => :"DistributionsPypiApi.list",
|
341
351
|
:header_params => header_params,
|
342
352
|
:query_params => query_params,
|
343
353
|
:form_params => form_params,
|
@@ -391,21 +401,22 @@ module PulpPythonClient
|
|
391
401
|
# header parameters
|
392
402
|
header_params = opts[:header_params] || {}
|
393
403
|
# HTTP header 'Accept' (if needed)
|
394
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
404
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
395
405
|
|
396
406
|
# form parameters
|
397
407
|
form_params = opts[:form_params] || {}
|
398
408
|
|
399
409
|
# http body (model)
|
400
|
-
post_body = opts[:
|
410
|
+
post_body = opts[:debug_body]
|
401
411
|
|
402
412
|
# return_type
|
403
|
-
return_type = opts[:
|
413
|
+
return_type = opts[:debug_return_type] || 'ObjectRolesResponse'
|
404
414
|
|
405
415
|
# auth_names
|
406
|
-
auth_names = opts[:
|
416
|
+
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
407
417
|
|
408
418
|
new_options = opts.merge(
|
419
|
+
:operation => :"DistributionsPypiApi.list_roles",
|
409
420
|
:header_params => header_params,
|
410
421
|
:query_params => query_params,
|
411
422
|
:form_params => form_params,
|
@@ -459,21 +470,22 @@ module PulpPythonClient
|
|
459
470
|
# header parameters
|
460
471
|
header_params = opts[:header_params] || {}
|
461
472
|
# HTTP header 'Accept' (if needed)
|
462
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
473
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
463
474
|
|
464
475
|
# form parameters
|
465
476
|
form_params = opts[:form_params] || {}
|
466
477
|
|
467
478
|
# http body (model)
|
468
|
-
post_body = opts[:
|
479
|
+
post_body = opts[:debug_body]
|
469
480
|
|
470
481
|
# return_type
|
471
|
-
return_type = opts[:
|
482
|
+
return_type = opts[:debug_return_type] || 'MyPermissionsResponse'
|
472
483
|
|
473
484
|
# auth_names
|
474
|
-
auth_names = opts[:
|
485
|
+
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
475
486
|
|
476
487
|
new_options = opts.merge(
|
488
|
+
:operation => :"DistributionsPypiApi.my_permissions",
|
477
489
|
:header_params => header_params,
|
478
490
|
:query_params => query_params,
|
479
491
|
:form_params => form_params,
|
@@ -527,23 +539,27 @@ module PulpPythonClient
|
|
527
539
|
# header parameters
|
528
540
|
header_params = opts[:header_params] || {}
|
529
541
|
# HTTP header 'Accept' (if needed)
|
530
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
542
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
531
543
|
# HTTP header 'Content-Type'
|
532
|
-
|
544
|
+
content_type = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
545
|
+
if !content_type.nil?
|
546
|
+
header_params['Content-Type'] = content_type
|
547
|
+
end
|
533
548
|
|
534
549
|
# form parameters
|
535
550
|
form_params = opts[:form_params] || {}
|
536
551
|
|
537
552
|
# http body (model)
|
538
|
-
post_body = opts[:
|
553
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(patchedpython_python_distribution)
|
539
554
|
|
540
555
|
# return_type
|
541
|
-
return_type = opts[:
|
556
|
+
return_type = opts[:debug_return_type] || 'AsyncOperationResponse'
|
542
557
|
|
543
558
|
# auth_names
|
544
|
-
auth_names = opts[:
|
559
|
+
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
545
560
|
|
546
561
|
new_options = opts.merge(
|
562
|
+
:operation => :"DistributionsPypiApi.partial_update",
|
547
563
|
:header_params => header_params,
|
548
564
|
:query_params => query_params,
|
549
565
|
:form_params => form_params,
|
@@ -597,21 +613,22 @@ module PulpPythonClient
|
|
597
613
|
# header parameters
|
598
614
|
header_params = opts[:header_params] || {}
|
599
615
|
# HTTP header 'Accept' (if needed)
|
600
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
616
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
601
617
|
|
602
618
|
# form parameters
|
603
619
|
form_params = opts[:form_params] || {}
|
604
620
|
|
605
621
|
# http body (model)
|
606
|
-
post_body = opts[:
|
622
|
+
post_body = opts[:debug_body]
|
607
623
|
|
608
624
|
# return_type
|
609
|
-
return_type = opts[:
|
625
|
+
return_type = opts[:debug_return_type] || 'PythonPythonDistributionResponse'
|
610
626
|
|
611
627
|
# auth_names
|
612
|
-
auth_names = opts[:
|
628
|
+
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
613
629
|
|
614
630
|
new_options = opts.merge(
|
631
|
+
:operation => :"DistributionsPypiApi.read",
|
615
632
|
:header_params => header_params,
|
616
633
|
:query_params => query_params,
|
617
634
|
:form_params => form_params,
|
@@ -665,23 +682,27 @@ module PulpPythonClient
|
|
665
682
|
# header parameters
|
666
683
|
header_params = opts[:header_params] || {}
|
667
684
|
# HTTP header 'Accept' (if needed)
|
668
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
685
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
669
686
|
# HTTP header 'Content-Type'
|
670
|
-
|
687
|
+
content_type = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
688
|
+
if !content_type.nil?
|
689
|
+
header_params['Content-Type'] = content_type
|
690
|
+
end
|
671
691
|
|
672
692
|
# form parameters
|
673
693
|
form_params = opts[:form_params] || {}
|
674
694
|
|
675
695
|
# http body (model)
|
676
|
-
post_body = opts[:
|
696
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(nested_role)
|
677
697
|
|
678
698
|
# return_type
|
679
|
-
return_type = opts[:
|
699
|
+
return_type = opts[:debug_return_type] || 'NestedRoleResponse'
|
680
700
|
|
681
701
|
# auth_names
|
682
|
-
auth_names = opts[:
|
702
|
+
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
683
703
|
|
684
704
|
new_options = opts.merge(
|
705
|
+
:operation => :"DistributionsPypiApi.remove_role",
|
685
706
|
:header_params => header_params,
|
686
707
|
:query_params => query_params,
|
687
708
|
:form_params => form_params,
|
@@ -735,23 +756,27 @@ module PulpPythonClient
|
|
735
756
|
# header parameters
|
736
757
|
header_params = opts[:header_params] || {}
|
737
758
|
# HTTP header 'Accept' (if needed)
|
738
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
759
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
739
760
|
# HTTP header 'Content-Type'
|
740
|
-
|
761
|
+
content_type = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
762
|
+
if !content_type.nil?
|
763
|
+
header_params['Content-Type'] = content_type
|
764
|
+
end
|
741
765
|
|
742
766
|
# form parameters
|
743
767
|
form_params = opts[:form_params] || {}
|
744
768
|
|
745
769
|
# http body (model)
|
746
|
-
post_body = opts[:
|
770
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(set_label)
|
747
771
|
|
748
772
|
# return_type
|
749
|
-
return_type = opts[:
|
773
|
+
return_type = opts[:debug_return_type] || 'SetLabelResponse'
|
750
774
|
|
751
775
|
# auth_names
|
752
|
-
auth_names = opts[:
|
776
|
+
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
753
777
|
|
754
778
|
new_options = opts.merge(
|
779
|
+
:operation => :"DistributionsPypiApi.set_label",
|
755
780
|
:header_params => header_params,
|
756
781
|
:query_params => query_params,
|
757
782
|
:form_params => form_params,
|
@@ -805,23 +830,27 @@ module PulpPythonClient
|
|
805
830
|
# header parameters
|
806
831
|
header_params = opts[:header_params] || {}
|
807
832
|
# HTTP header 'Accept' (if needed)
|
808
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
833
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
809
834
|
# HTTP header 'Content-Type'
|
810
|
-
|
835
|
+
content_type = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
836
|
+
if !content_type.nil?
|
837
|
+
header_params['Content-Type'] = content_type
|
838
|
+
end
|
811
839
|
|
812
840
|
# form parameters
|
813
841
|
form_params = opts[:form_params] || {}
|
814
842
|
|
815
843
|
# http body (model)
|
816
|
-
post_body = opts[:
|
844
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(unset_label)
|
817
845
|
|
818
846
|
# return_type
|
819
|
-
return_type = opts[:
|
847
|
+
return_type = opts[:debug_return_type] || 'UnsetLabelResponse'
|
820
848
|
|
821
849
|
# auth_names
|
822
|
-
auth_names = opts[:
|
850
|
+
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
823
851
|
|
824
852
|
new_options = opts.merge(
|
853
|
+
:operation => :"DistributionsPypiApi.unset_label",
|
825
854
|
:header_params => header_params,
|
826
855
|
:query_params => query_params,
|
827
856
|
:form_params => form_params,
|
@@ -875,23 +904,27 @@ module PulpPythonClient
|
|
875
904
|
# header parameters
|
876
905
|
header_params = opts[:header_params] || {}
|
877
906
|
# HTTP header 'Accept' (if needed)
|
878
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
907
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
879
908
|
# HTTP header 'Content-Type'
|
880
|
-
|
909
|
+
content_type = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
910
|
+
if !content_type.nil?
|
911
|
+
header_params['Content-Type'] = content_type
|
912
|
+
end
|
881
913
|
|
882
914
|
# form parameters
|
883
915
|
form_params = opts[:form_params] || {}
|
884
916
|
|
885
917
|
# http body (model)
|
886
|
-
post_body = opts[:
|
918
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(python_python_distribution)
|
887
919
|
|
888
920
|
# return_type
|
889
|
-
return_type = opts[:
|
921
|
+
return_type = opts[:debug_return_type] || 'AsyncOperationResponse'
|
890
922
|
|
891
923
|
# auth_names
|
892
|
-
auth_names = opts[:
|
924
|
+
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
893
925
|
|
894
926
|
new_options = opts.merge(
|
927
|
+
:operation => :"DistributionsPypiApi.update",
|
895
928
|
:header_params => header_params,
|
896
929
|
:query_params => query_params,
|
897
930
|
:form_params => form_params,
|