pulp_python_client 3.12.5 → 3.13.1
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 +21 -15
- 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 +41 -37
- 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 +82 -44
- 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 +38 -24
- 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 +76 -42
- data/lib/pulp_python_client/models/python_python_remote_response.rb +79 -45
- 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 +4 -4
- 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 +81 -69
- 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
|
|
@@ -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 => :"RemotesPythonApi.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_remote)
|
133
140
|
|
134
141
|
# return_type
|
135
|
-
return_type = opts[:
|
142
|
+
return_type = opts[:debug_return_type] || 'PythonPythonRemoteResponse'
|
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 => :"RemotesPythonApi.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 => :"RemotesPythonApi.delete",
|
203
212
|
:header_params => header_params,
|
204
213
|
:query_params => query_params,
|
205
214
|
:form_params => form_params,
|
@@ -259,9 +268,12 @@ module PulpPythonClient
|
|
259
268
|
# header parameters
|
260
269
|
header_params = opts[:header_params] || {}
|
261
270
|
# HTTP header 'Accept' (if needed)
|
262
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
271
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
263
272
|
# HTTP header 'Content-Type'
|
264
|
-
|
273
|
+
content_type = @api_client.select_header_content_type(['multipart/form-data', 'application/x-www-form-urlencoded'])
|
274
|
+
if !content_type.nil?
|
275
|
+
header_params['Content-Type'] = content_type
|
276
|
+
end
|
265
277
|
|
266
278
|
# form parameters
|
267
279
|
form_params = opts[:form_params] || {}
|
@@ -270,15 +282,16 @@ module PulpPythonClient
|
|
270
282
|
form_params['policy'] = opts[:'policy'] if !opts[:'policy'].nil?
|
271
283
|
|
272
284
|
# http body (model)
|
273
|
-
post_body = opts[:
|
285
|
+
post_body = opts[:debug_body]
|
274
286
|
|
275
287
|
# return_type
|
276
|
-
return_type = opts[:
|
288
|
+
return_type = opts[:debug_return_type] || 'PythonPythonRemoteResponse'
|
277
289
|
|
278
290
|
# auth_names
|
279
|
-
auth_names = opts[:
|
291
|
+
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
280
292
|
|
281
293
|
new_options = opts.merge(
|
294
|
+
:operation => :"RemotesPythonApi.from_bandersnatch",
|
282
295
|
:header_params => header_params,
|
283
296
|
:query_params => query_params,
|
284
297
|
:form_params => form_params,
|
@@ -313,12 +326,13 @@ module PulpPythonClient
|
|
313
326
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
314
327
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
315
328
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
316
|
-
# @option opts [
|
317
|
-
# @option opts [
|
318
|
-
# @option opts [
|
319
|
-
# @option opts [
|
320
|
-
# @option opts [
|
321
|
-
# @option opts [
|
329
|
+
# @option opts [Time] :pulp_last_updated Filter results where pulp_last_updated matches value
|
330
|
+
# @option opts [Time] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
|
331
|
+
# @option opts [Time] :pulp_last_updated__gte Filter results where pulp_last_updated is greater than or equal to value
|
332
|
+
# @option opts [Boolean] :pulp_last_updated__isnull Filter results where pulp_last_updated has a null value
|
333
|
+
# @option opts [Time] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
|
334
|
+
# @option opts [Time] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
|
335
|
+
# @option opts [Array<Time>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
|
322
336
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
323
337
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
324
338
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
@@ -347,12 +361,13 @@ module PulpPythonClient
|
|
347
361
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
348
362
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
349
363
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
350
|
-
# @option opts [
|
351
|
-
# @option opts [
|
352
|
-
# @option opts [
|
353
|
-
# @option opts [
|
354
|
-
# @option opts [
|
355
|
-
# @option opts [
|
364
|
+
# @option opts [Time] :pulp_last_updated Filter results where pulp_last_updated matches value
|
365
|
+
# @option opts [Time] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
|
366
|
+
# @option opts [Time] :pulp_last_updated__gte Filter results where pulp_last_updated is greater than or equal to value
|
367
|
+
# @option opts [Boolean] :pulp_last_updated__isnull Filter results where pulp_last_updated has a null value
|
368
|
+
# @option opts [Time] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
|
369
|
+
# @option opts [Time] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
|
370
|
+
# @option opts [Array<Time>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
|
356
371
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
357
372
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
358
373
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
@@ -389,6 +404,7 @@ module PulpPythonClient
|
|
389
404
|
query_params[:'pulp_last_updated'] = opts[:'pulp_last_updated'] if !opts[:'pulp_last_updated'].nil?
|
390
405
|
query_params[:'pulp_last_updated__gt'] = opts[:'pulp_last_updated__gt'] if !opts[:'pulp_last_updated__gt'].nil?
|
391
406
|
query_params[:'pulp_last_updated__gte'] = opts[:'pulp_last_updated__gte'] if !opts[:'pulp_last_updated__gte'].nil?
|
407
|
+
query_params[:'pulp_last_updated__isnull'] = opts[:'pulp_last_updated__isnull'] if !opts[:'pulp_last_updated__isnull'].nil?
|
392
408
|
query_params[:'pulp_last_updated__lt'] = opts[:'pulp_last_updated__lt'] if !opts[:'pulp_last_updated__lt'].nil?
|
393
409
|
query_params[:'pulp_last_updated__lte'] = opts[:'pulp_last_updated__lte'] if !opts[:'pulp_last_updated__lte'].nil?
|
394
410
|
query_params[:'pulp_last_updated__range'] = @api_client.build_collection_param(opts[:'pulp_last_updated__range'], :csv) if !opts[:'pulp_last_updated__range'].nil?
|
@@ -399,21 +415,22 @@ module PulpPythonClient
|
|
399
415
|
# header parameters
|
400
416
|
header_params = opts[:header_params] || {}
|
401
417
|
# HTTP header 'Accept' (if needed)
|
402
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
418
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
403
419
|
|
404
420
|
# form parameters
|
405
421
|
form_params = opts[:form_params] || {}
|
406
422
|
|
407
423
|
# http body (model)
|
408
|
-
post_body = opts[:
|
424
|
+
post_body = opts[:debug_body]
|
409
425
|
|
410
426
|
# return_type
|
411
|
-
return_type = opts[:
|
427
|
+
return_type = opts[:debug_return_type] || 'PaginatedpythonPythonRemoteResponseList'
|
412
428
|
|
413
429
|
# auth_names
|
414
|
-
auth_names = opts[:
|
430
|
+
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
415
431
|
|
416
432
|
new_options = opts.merge(
|
433
|
+
:operation => :"RemotesPythonApi.list",
|
417
434
|
:header_params => header_params,
|
418
435
|
:query_params => query_params,
|
419
436
|
:form_params => form_params,
|
@@ -467,21 +484,22 @@ module PulpPythonClient
|
|
467
484
|
# header parameters
|
468
485
|
header_params = opts[:header_params] || {}
|
469
486
|
# HTTP header 'Accept' (if needed)
|
470
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
487
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
471
488
|
|
472
489
|
# form parameters
|
473
490
|
form_params = opts[:form_params] || {}
|
474
491
|
|
475
492
|
# http body (model)
|
476
|
-
post_body = opts[:
|
493
|
+
post_body = opts[:debug_body]
|
477
494
|
|
478
495
|
# return_type
|
479
|
-
return_type = opts[:
|
496
|
+
return_type = opts[:debug_return_type] || 'ObjectRolesResponse'
|
480
497
|
|
481
498
|
# auth_names
|
482
|
-
auth_names = opts[:
|
499
|
+
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
483
500
|
|
484
501
|
new_options = opts.merge(
|
502
|
+
:operation => :"RemotesPythonApi.list_roles",
|
485
503
|
:header_params => header_params,
|
486
504
|
:query_params => query_params,
|
487
505
|
:form_params => form_params,
|
@@ -535,21 +553,22 @@ module PulpPythonClient
|
|
535
553
|
# header parameters
|
536
554
|
header_params = opts[:header_params] || {}
|
537
555
|
# HTTP header 'Accept' (if needed)
|
538
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
556
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
539
557
|
|
540
558
|
# form parameters
|
541
559
|
form_params = opts[:form_params] || {}
|
542
560
|
|
543
561
|
# http body (model)
|
544
|
-
post_body = opts[:
|
562
|
+
post_body = opts[:debug_body]
|
545
563
|
|
546
564
|
# return_type
|
547
|
-
return_type = opts[:
|
565
|
+
return_type = opts[:debug_return_type] || 'MyPermissionsResponse'
|
548
566
|
|
549
567
|
# auth_names
|
550
|
-
auth_names = opts[:
|
568
|
+
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
551
569
|
|
552
570
|
new_options = opts.merge(
|
571
|
+
:operation => :"RemotesPythonApi.my_permissions",
|
553
572
|
:header_params => header_params,
|
554
573
|
:query_params => query_params,
|
555
574
|
:form_params => form_params,
|
@@ -603,23 +622,27 @@ module PulpPythonClient
|
|
603
622
|
# header parameters
|
604
623
|
header_params = opts[:header_params] || {}
|
605
624
|
# HTTP header 'Accept' (if needed)
|
606
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
625
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
607
626
|
# HTTP header 'Content-Type'
|
608
|
-
|
627
|
+
content_type = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
628
|
+
if !content_type.nil?
|
629
|
+
header_params['Content-Type'] = content_type
|
630
|
+
end
|
609
631
|
|
610
632
|
# form parameters
|
611
633
|
form_params = opts[:form_params] || {}
|
612
634
|
|
613
635
|
# http body (model)
|
614
|
-
post_body = opts[:
|
636
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(patchedpython_python_remote)
|
615
637
|
|
616
638
|
# return_type
|
617
|
-
return_type = opts[:
|
639
|
+
return_type = opts[:debug_return_type] || 'AsyncOperationResponse'
|
618
640
|
|
619
641
|
# auth_names
|
620
|
-
auth_names = opts[:
|
642
|
+
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
621
643
|
|
622
644
|
new_options = opts.merge(
|
645
|
+
:operation => :"RemotesPythonApi.partial_update",
|
623
646
|
:header_params => header_params,
|
624
647
|
:query_params => query_params,
|
625
648
|
:form_params => form_params,
|
@@ -673,21 +696,22 @@ module PulpPythonClient
|
|
673
696
|
# header parameters
|
674
697
|
header_params = opts[:header_params] || {}
|
675
698
|
# HTTP header 'Accept' (if needed)
|
676
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
699
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
677
700
|
|
678
701
|
# form parameters
|
679
702
|
form_params = opts[:form_params] || {}
|
680
703
|
|
681
704
|
# http body (model)
|
682
|
-
post_body = opts[:
|
705
|
+
post_body = opts[:debug_body]
|
683
706
|
|
684
707
|
# return_type
|
685
|
-
return_type = opts[:
|
708
|
+
return_type = opts[:debug_return_type] || 'PythonPythonRemoteResponse'
|
686
709
|
|
687
710
|
# auth_names
|
688
|
-
auth_names = opts[:
|
711
|
+
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
689
712
|
|
690
713
|
new_options = opts.merge(
|
714
|
+
:operation => :"RemotesPythonApi.read",
|
691
715
|
:header_params => header_params,
|
692
716
|
:query_params => query_params,
|
693
717
|
:form_params => form_params,
|
@@ -741,23 +765,27 @@ module PulpPythonClient
|
|
741
765
|
# header parameters
|
742
766
|
header_params = opts[:header_params] || {}
|
743
767
|
# HTTP header 'Accept' (if needed)
|
744
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
768
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
745
769
|
# HTTP header 'Content-Type'
|
746
|
-
|
770
|
+
content_type = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
771
|
+
if !content_type.nil?
|
772
|
+
header_params['Content-Type'] = content_type
|
773
|
+
end
|
747
774
|
|
748
775
|
# form parameters
|
749
776
|
form_params = opts[:form_params] || {}
|
750
777
|
|
751
778
|
# http body (model)
|
752
|
-
post_body = opts[:
|
779
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(nested_role)
|
753
780
|
|
754
781
|
# return_type
|
755
|
-
return_type = opts[:
|
782
|
+
return_type = opts[:debug_return_type] || 'NestedRoleResponse'
|
756
783
|
|
757
784
|
# auth_names
|
758
|
-
auth_names = opts[:
|
785
|
+
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
759
786
|
|
760
787
|
new_options = opts.merge(
|
788
|
+
:operation => :"RemotesPythonApi.remove_role",
|
761
789
|
:header_params => header_params,
|
762
790
|
:query_params => query_params,
|
763
791
|
:form_params => form_params,
|
@@ -811,23 +839,27 @@ module PulpPythonClient
|
|
811
839
|
# header parameters
|
812
840
|
header_params = opts[:header_params] || {}
|
813
841
|
# HTTP header 'Accept' (if needed)
|
814
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
842
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
815
843
|
# HTTP header 'Content-Type'
|
816
|
-
|
844
|
+
content_type = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
845
|
+
if !content_type.nil?
|
846
|
+
header_params['Content-Type'] = content_type
|
847
|
+
end
|
817
848
|
|
818
849
|
# form parameters
|
819
850
|
form_params = opts[:form_params] || {}
|
820
851
|
|
821
852
|
# http body (model)
|
822
|
-
post_body = opts[:
|
853
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(set_label)
|
823
854
|
|
824
855
|
# return_type
|
825
|
-
return_type = opts[:
|
856
|
+
return_type = opts[:debug_return_type] || 'SetLabelResponse'
|
826
857
|
|
827
858
|
# auth_names
|
828
|
-
auth_names = opts[:
|
859
|
+
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
829
860
|
|
830
861
|
new_options = opts.merge(
|
862
|
+
:operation => :"RemotesPythonApi.set_label",
|
831
863
|
:header_params => header_params,
|
832
864
|
:query_params => query_params,
|
833
865
|
:form_params => form_params,
|
@@ -881,23 +913,27 @@ module PulpPythonClient
|
|
881
913
|
# header parameters
|
882
914
|
header_params = opts[:header_params] || {}
|
883
915
|
# HTTP header 'Accept' (if needed)
|
884
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
916
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
885
917
|
# HTTP header 'Content-Type'
|
886
|
-
|
918
|
+
content_type = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
919
|
+
if !content_type.nil?
|
920
|
+
header_params['Content-Type'] = content_type
|
921
|
+
end
|
887
922
|
|
888
923
|
# form parameters
|
889
924
|
form_params = opts[:form_params] || {}
|
890
925
|
|
891
926
|
# http body (model)
|
892
|
-
post_body = opts[:
|
927
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(unset_label)
|
893
928
|
|
894
929
|
# return_type
|
895
|
-
return_type = opts[:
|
930
|
+
return_type = opts[:debug_return_type] || 'UnsetLabelResponse'
|
896
931
|
|
897
932
|
# auth_names
|
898
|
-
auth_names = opts[:
|
933
|
+
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
899
934
|
|
900
935
|
new_options = opts.merge(
|
936
|
+
:operation => :"RemotesPythonApi.unset_label",
|
901
937
|
:header_params => header_params,
|
902
938
|
:query_params => query_params,
|
903
939
|
:form_params => form_params,
|
@@ -951,23 +987,27 @@ module PulpPythonClient
|
|
951
987
|
# header parameters
|
952
988
|
header_params = opts[:header_params] || {}
|
953
989
|
# HTTP header 'Accept' (if needed)
|
954
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
990
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
955
991
|
# HTTP header 'Content-Type'
|
956
|
-
|
992
|
+
content_type = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
993
|
+
if !content_type.nil?
|
994
|
+
header_params['Content-Type'] = content_type
|
995
|
+
end
|
957
996
|
|
958
997
|
# form parameters
|
959
998
|
form_params = opts[:form_params] || {}
|
960
999
|
|
961
1000
|
# http body (model)
|
962
|
-
post_body = opts[:
|
1001
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(python_python_remote)
|
963
1002
|
|
964
1003
|
# return_type
|
965
|
-
return_type = opts[:
|
1004
|
+
return_type = opts[:debug_return_type] || 'AsyncOperationResponse'
|
966
1005
|
|
967
1006
|
# auth_names
|
968
|
-
auth_names = opts[:
|
1007
|
+
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
969
1008
|
|
970
1009
|
new_options = opts.merge(
|
1010
|
+
:operation => :"RemotesPythonApi.update",
|
971
1011
|
:header_params => header_params,
|
972
1012
|
:query_params => query_params,
|
973
1013
|
:form_params => form_params,
|