pulp_maven_client 0.8.1 → 0.8.3
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 +11 -7
- data/docs/AsyncOperationResponse.md +8 -7
- data/docs/ContentArtifactApi.md +116 -64
- data/docs/ContentSummaryResponse.md +12 -11
- data/docs/DistributionsMavenApi.md +267 -130
- data/docs/MavenMavenArtifact.md +12 -11
- data/docs/MavenMavenArtifactResponse.md +24 -21
- data/docs/MavenMavenDistribution.md +20 -19
- data/docs/MavenMavenDistributionResponse.md +32 -27
- data/docs/MavenMavenRemote.md +48 -47
- data/docs/MavenMavenRemoteResponse.md +48 -45
- data/docs/MavenMavenRemoteResponseHiddenFieldsInner.md +20 -0
- data/docs/MavenMavenRepository.md +16 -15
- data/docs/MavenMavenRepositoryResponse.md +28 -25
- data/docs/PaginatedRepositoryVersionResponseList.md +14 -13
- data/docs/PaginatedmavenMavenArtifactResponseList.md +14 -13
- data/docs/PaginatedmavenMavenDistributionResponseList.md +14 -13
- data/docs/PaginatedmavenMavenRemoteResponseList.md +14 -13
- data/docs/PaginatedmavenMavenRepositoryResponseList.md +14 -13
- data/docs/PatchedmavenMavenDistribution.md +20 -19
- data/docs/PatchedmavenMavenRemote.md +48 -47
- data/docs/PatchedmavenMavenRepository.md +16 -15
- data/docs/PolicyEnum.md +4 -5
- data/docs/PulpMavenApi.md +61 -26
- data/docs/RemotesMavenApi.md +271 -132
- data/docs/Repair.md +8 -7
- data/docs/RepositoriesMavenApi.md +300 -146
- data/docs/RepositoriesMavenVersionsApi.md +155 -83
- data/docs/RepositoryAddCachedContent.md +8 -7
- data/docs/RepositoryVersionResponse.md +22 -19
- data/docs/SetLabel.md +10 -9
- data/docs/SetLabelResponse.md +10 -9
- data/docs/UnsetLabel.md +8 -7
- data/docs/UnsetLabelResponse.md +10 -9
- data/lib/pulp_maven_client/api/content_artifact_api.rb +31 -22
- data/lib/pulp_maven_client/api/distributions_maven_api.rb +66 -40
- data/lib/pulp_maven_client/api/pulp_maven_api.rb +9 -7
- data/lib/pulp_maven_client/api/remotes_maven_api.rb +81 -52
- data/lib/pulp_maven_client/api/repositories_maven_api.rb +79 -49
- data/lib/pulp_maven_client/api/repositories_maven_versions_api.rb +50 -37
- data/lib/pulp_maven_client/api_client.rb +137 -102
- data/lib/pulp_maven_client/api_error.rb +2 -1
- data/lib/pulp_maven_client/configuration.rb +162 -21
- data/lib/pulp_maven_client/models/async_operation_response.rb +32 -22
- data/lib/pulp_maven_client/models/content_summary_response.rb +36 -22
- data/lib/pulp_maven_client/models/maven_maven_artifact.rb +34 -22
- data/lib/pulp_maven_client/models/maven_maven_artifact_response.rb +45 -25
- data/lib/pulp_maven_client/models/maven_maven_distribution.rb +34 -22
- data/lib/pulp_maven_client/models/maven_maven_distribution_response.rb +57 -25
- data/lib/pulp_maven_client/models/maven_maven_remote.rb +57 -38
- data/lib/pulp_maven_client/models/maven_maven_remote_response.rb +71 -42
- data/lib/pulp_maven_client/models/{maven_maven_remote_response_hidden_fields.rb → maven_maven_remote_response_hidden_fields_inner.rb} +37 -25
- data/lib/pulp_maven_client/models/maven_maven_repository.rb +32 -37
- data/lib/pulp_maven_client/models/maven_maven_repository_response.rb +45 -40
- data/lib/pulp_maven_client/models/paginated_repository_version_response_list.rb +34 -24
- data/lib/pulp_maven_client/models/paginatedmaven_maven_artifact_response_list.rb +34 -24
- data/lib/pulp_maven_client/models/paginatedmaven_maven_distribution_response_list.rb +34 -24
- data/lib/pulp_maven_client/models/paginatedmaven_maven_remote_response_list.rb +34 -24
- data/lib/pulp_maven_client/models/paginatedmaven_maven_repository_response_list.rb +34 -24
- data/lib/pulp_maven_client/models/patchedmaven_maven_distribution.rb +40 -24
- data/lib/pulp_maven_client/models/patchedmaven_maven_remote.rb +63 -40
- data/lib/pulp_maven_client/models/patchedmaven_maven_repository.rb +35 -38
- data/lib/pulp_maven_client/models/policy_enum.rb +8 -5
- data/lib/pulp_maven_client/models/repair.rb +30 -22
- data/lib/pulp_maven_client/models/repository_add_cached_content.rb +30 -22
- data/lib/pulp_maven_client/models/repository_version_response.rb +44 -26
- data/lib/pulp_maven_client/models/set_label.rb +34 -22
- data/lib/pulp_maven_client/models/set_label_response.rb +34 -22
- data/lib/pulp_maven_client/models/unset_label.rb +32 -22
- data/lib/pulp_maven_client/models/unset_label_response.rb +32 -22
- data/lib/pulp_maven_client/version.rb +2 -2
- data/lib/pulp_maven_client.rb +2 -2
- data/pulp_maven_client.gemspec +9 -6
- data/spec/api/content_artifact_api_spec.rb +9 -8
- data/spec/api/distributions_maven_api_spec.rb +11 -10
- data/spec/api/pulp_maven_api_spec.rb +3 -3
- data/spec/api/remotes_maven_api_spec.rb +18 -16
- data/spec/api/repositories_maven_api_spec.rb +14 -13
- data/spec/api/repositories_maven_versions_api_spec.rb +16 -14
- data/spec/models/async_operation_response_spec.rb +7 -12
- data/spec/models/content_summary_response_spec.rb +9 -14
- data/spec/models/maven_maven_artifact_response_spec.rb +20 -19
- data/spec/models/maven_maven_artifact_spec.rb +9 -14
- data/spec/models/maven_maven_distribution_response_spec.rb +29 -22
- data/spec/models/maven_maven_distribution_spec.rb +13 -18
- data/spec/models/{maven_maven_remote_response_hidden_fields_spec.rb → maven_maven_remote_response_hidden_fields_inner_spec.rb} +11 -16
- data/spec/models/maven_maven_remote_response_spec.rb +32 -31
- data/spec/models/maven_maven_remote_spec.rb +27 -32
- data/spec/models/maven_maven_repository_response_spec.rb +22 -21
- data/spec/models/maven_maven_repository_spec.rb +11 -16
- data/spec/models/paginated_repository_version_response_list_spec.rb +10 -15
- data/spec/models/paginatedmaven_maven_artifact_response_list_spec.rb +10 -15
- data/spec/models/paginatedmaven_maven_distribution_response_list_spec.rb +10 -15
- data/spec/models/paginatedmaven_maven_remote_response_list_spec.rb +10 -15
- data/spec/models/paginatedmaven_maven_repository_response_list_spec.rb +10 -15
- data/spec/models/patchedmaven_maven_distribution_spec.rb +13 -18
- data/spec/models/patchedmaven_maven_remote_spec.rb +27 -32
- data/spec/models/patchedmaven_maven_repository_spec.rb +11 -16
- data/spec/models/policy_enum_spec.rb +6 -11
- data/spec/models/repair_spec.rb +7 -12
- data/spec/models/repository_add_cached_content_spec.rb +7 -12
- data/spec/models/repository_version_response_spec.rb +19 -18
- data/spec/models/set_label_response_spec.rb +8 -13
- data/spec/models/set_label_spec.rb +8 -13
- 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 -54
- data/docs/MavenMavenRemoteResponseHiddenFields.md +0 -19
- data/spec/api_client_spec.rb +0 -188
- data/spec/configuration_spec.rb +0 -42
@@ -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
|
|
@@ -51,23 +51,27 @@ module PulpMavenClient
|
|
51
51
|
# header parameters
|
52
52
|
header_params = opts[:header_params] || {}
|
53
53
|
# HTTP header 'Accept' (if needed)
|
54
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
54
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
55
55
|
# HTTP header 'Content-Type'
|
56
|
-
|
56
|
+
content_type = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
57
|
+
if !content_type.nil?
|
58
|
+
header_params['Content-Type'] = content_type
|
59
|
+
end
|
57
60
|
|
58
61
|
# form parameters
|
59
62
|
form_params = opts[:form_params] || {}
|
60
63
|
|
61
64
|
# http body (model)
|
62
|
-
post_body = opts[:
|
65
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(maven_maven_remote)
|
63
66
|
|
64
67
|
# return_type
|
65
|
-
return_type = opts[:
|
68
|
+
return_type = opts[:debug_return_type] || 'MavenMavenRemoteResponse'
|
66
69
|
|
67
70
|
# auth_names
|
68
|
-
auth_names = opts[:
|
71
|
+
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
69
72
|
|
70
73
|
new_options = opts.merge(
|
74
|
+
:operation => :"RemotesMavenApi.create",
|
71
75
|
:header_params => header_params,
|
72
76
|
:query_params => query_params,
|
73
77
|
:form_params => form_params,
|
@@ -115,21 +119,22 @@ module PulpMavenClient
|
|
115
119
|
# header parameters
|
116
120
|
header_params = opts[:header_params] || {}
|
117
121
|
# HTTP header 'Accept' (if needed)
|
118
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
122
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
119
123
|
|
120
124
|
# form parameters
|
121
125
|
form_params = opts[:form_params] || {}
|
122
126
|
|
123
127
|
# http body (model)
|
124
|
-
post_body = opts[:
|
128
|
+
post_body = opts[:debug_body]
|
125
129
|
|
126
130
|
# return_type
|
127
|
-
return_type = opts[:
|
131
|
+
return_type = opts[:debug_return_type] || 'AsyncOperationResponse'
|
128
132
|
|
129
133
|
# auth_names
|
130
|
-
auth_names = opts[:
|
134
|
+
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
131
135
|
|
132
136
|
new_options = opts.merge(
|
137
|
+
:operation => :"RemotesMavenApi.delete",
|
133
138
|
:header_params => header_params,
|
134
139
|
:query_params => query_params,
|
135
140
|
:form_params => form_params,
|
@@ -160,16 +165,18 @@ module PulpMavenClient
|
|
160
165
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
161
166
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
162
167
|
# @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) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `url` - Url * `-url` - Url (descending) * `ca_cert` - Ca cert * `-ca_cert` - Ca cert (descending) * `client_cert` - Client cert * `-client_cert` - Client cert (descending) * `client_key` - Client key * `-client_key` - Client key (descending) * `tls_validation` - Tls validation * `-tls_validation` - Tls validation (descending) * `username` - Username * `-username` - Username (descending) * `password` - Password * `-password` - Password (descending) * `proxy_url` - Proxy url * `-proxy_url` - Proxy url (descending) * `proxy_username` - Proxy username * `-proxy_username` - Proxy username (descending) * `proxy_password` - Proxy password * `-proxy_password` - Proxy password (descending) * `download_concurrency` - Download concurrency * `-download_concurrency` - Download concurrency (descending) * `max_retries` - Max retries * `-max_retries` - Max retries (descending) * `policy` - Policy * `-policy` - Policy (descending) * `total_timeout` - Total timeout * `-total_timeout` - Total timeout (descending) * `connect_timeout` - Connect timeout * `-connect_timeout` - Connect timeout (descending) * `sock_connect_timeout` - Sock connect timeout * `-sock_connect_timeout` - Sock connect timeout (descending) * `sock_read_timeout` - Sock read timeout * `-sock_read_timeout` - Sock read timeout (descending) * `headers` - Headers * `-headers` - Headers (descending) * `rate_limit` - Rate limit * `-rate_limit` - Rate limit (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
168
|
+
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
163
169
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
164
170
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
165
171
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
166
|
-
# @option opts [
|
167
|
-
# @option opts [
|
168
|
-
# @option opts [
|
169
|
-
# @option opts [
|
170
|
-
# @option opts [
|
171
|
-
# @option opts [
|
172
|
-
# @option opts [
|
172
|
+
# @option opts [Time] :pulp_last_updated Filter results where pulp_last_updated matches value
|
173
|
+
# @option opts [Time] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
|
174
|
+
# @option opts [Time] :pulp_last_updated__gte Filter results where pulp_last_updated is greater than or equal to value
|
175
|
+
# @option opts [Boolean] :pulp_last_updated__isnull Filter results where pulp_last_updated has a null value
|
176
|
+
# @option opts [Time] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
|
177
|
+
# @option opts [Time] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
|
178
|
+
# @option opts [Array<Time>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
|
179
|
+
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
173
180
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
174
181
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
175
182
|
# @return [PaginatedmavenMavenRemoteResponseList]
|
@@ -193,16 +200,18 @@ module PulpMavenClient
|
|
193
200
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
194
201
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
195
202
|
# @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) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `url` - Url * `-url` - Url (descending) * `ca_cert` - Ca cert * `-ca_cert` - Ca cert (descending) * `client_cert` - Client cert * `-client_cert` - Client cert (descending) * `client_key` - Client key * `-client_key` - Client key (descending) * `tls_validation` - Tls validation * `-tls_validation` - Tls validation (descending) * `username` - Username * `-username` - Username (descending) * `password` - Password * `-password` - Password (descending) * `proxy_url` - Proxy url * `-proxy_url` - Proxy url (descending) * `proxy_username` - Proxy username * `-proxy_username` - Proxy username (descending) * `proxy_password` - Proxy password * `-proxy_password` - Proxy password (descending) * `download_concurrency` - Download concurrency * `-download_concurrency` - Download concurrency (descending) * `max_retries` - Max retries * `-max_retries` - Max retries (descending) * `policy` - Policy * `-policy` - Policy (descending) * `total_timeout` - Total timeout * `-total_timeout` - Total timeout (descending) * `connect_timeout` - Connect timeout * `-connect_timeout` - Connect timeout (descending) * `sock_connect_timeout` - Sock connect timeout * `-sock_connect_timeout` - Sock connect timeout (descending) * `sock_read_timeout` - Sock read timeout * `-sock_read_timeout` - Sock read timeout (descending) * `headers` - Headers * `-headers` - Headers (descending) * `rate_limit` - Rate limit * `-rate_limit` - Rate limit (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
203
|
+
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
196
204
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
197
205
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
198
206
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
199
|
-
# @option opts [
|
200
|
-
# @option opts [
|
201
|
-
# @option opts [
|
202
|
-
# @option opts [
|
203
|
-
# @option opts [
|
204
|
-
# @option opts [
|
205
|
-
# @option opts [
|
207
|
+
# @option opts [Time] :pulp_last_updated Filter results where pulp_last_updated matches value
|
208
|
+
# @option opts [Time] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
|
209
|
+
# @option opts [Time] :pulp_last_updated__gte Filter results where pulp_last_updated is greater than or equal to value
|
210
|
+
# @option opts [Boolean] :pulp_last_updated__isnull Filter results where pulp_last_updated has a null value
|
211
|
+
# @option opts [Time] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
|
212
|
+
# @option opts [Time] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
|
213
|
+
# @option opts [Array<Time>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
|
214
|
+
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
206
215
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
207
216
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
208
217
|
# @return [Array<(PaginatedmavenMavenRemoteResponseList, Integer, Hash)>] PaginatedmavenMavenRemoteResponseList data, response status code and response headers
|
@@ -231,12 +240,14 @@ module PulpMavenClient
|
|
231
240
|
query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
|
232
241
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
233
242
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
243
|
+
query_params[:'prn__in'] = @api_client.build_collection_param(opts[:'prn__in'], :csv) if !opts[:'prn__in'].nil?
|
234
244
|
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
235
245
|
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
236
246
|
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
237
247
|
query_params[:'pulp_last_updated'] = opts[:'pulp_last_updated'] if !opts[:'pulp_last_updated'].nil?
|
238
248
|
query_params[:'pulp_last_updated__gt'] = opts[:'pulp_last_updated__gt'] if !opts[:'pulp_last_updated__gt'].nil?
|
239
249
|
query_params[:'pulp_last_updated__gte'] = opts[:'pulp_last_updated__gte'] if !opts[:'pulp_last_updated__gte'].nil?
|
250
|
+
query_params[:'pulp_last_updated__isnull'] = opts[:'pulp_last_updated__isnull'] if !opts[:'pulp_last_updated__isnull'].nil?
|
240
251
|
query_params[:'pulp_last_updated__lt'] = opts[:'pulp_last_updated__lt'] if !opts[:'pulp_last_updated__lt'].nil?
|
241
252
|
query_params[:'pulp_last_updated__lte'] = opts[:'pulp_last_updated__lte'] if !opts[:'pulp_last_updated__lte'].nil?
|
242
253
|
query_params[:'pulp_last_updated__range'] = @api_client.build_collection_param(opts[:'pulp_last_updated__range'], :csv) if !opts[:'pulp_last_updated__range'].nil?
|
@@ -247,21 +258,22 @@ module PulpMavenClient
|
|
247
258
|
# header parameters
|
248
259
|
header_params = opts[:header_params] || {}
|
249
260
|
# HTTP header 'Accept' (if needed)
|
250
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
261
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
251
262
|
|
252
263
|
# form parameters
|
253
264
|
form_params = opts[:form_params] || {}
|
254
265
|
|
255
266
|
# http body (model)
|
256
|
-
post_body = opts[:
|
267
|
+
post_body = opts[:debug_body]
|
257
268
|
|
258
269
|
# return_type
|
259
|
-
return_type = opts[:
|
270
|
+
return_type = opts[:debug_return_type] || 'PaginatedmavenMavenRemoteResponseList'
|
260
271
|
|
261
272
|
# auth_names
|
262
|
-
auth_names = opts[:
|
273
|
+
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
263
274
|
|
264
275
|
new_options = opts.merge(
|
276
|
+
:operation => :"RemotesMavenApi.list",
|
265
277
|
:header_params => header_params,
|
266
278
|
:query_params => query_params,
|
267
279
|
:form_params => form_params,
|
@@ -315,23 +327,27 @@ module PulpMavenClient
|
|
315
327
|
# header parameters
|
316
328
|
header_params = opts[:header_params] || {}
|
317
329
|
# HTTP header 'Accept' (if needed)
|
318
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
330
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
319
331
|
# HTTP header 'Content-Type'
|
320
|
-
|
332
|
+
content_type = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
333
|
+
if !content_type.nil?
|
334
|
+
header_params['Content-Type'] = content_type
|
335
|
+
end
|
321
336
|
|
322
337
|
# form parameters
|
323
338
|
form_params = opts[:form_params] || {}
|
324
339
|
|
325
340
|
# http body (model)
|
326
|
-
post_body = opts[:
|
341
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(patchedmaven_maven_remote)
|
327
342
|
|
328
343
|
# return_type
|
329
|
-
return_type = opts[:
|
344
|
+
return_type = opts[:debug_return_type] || 'AsyncOperationResponse'
|
330
345
|
|
331
346
|
# auth_names
|
332
|
-
auth_names = opts[:
|
347
|
+
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
333
348
|
|
334
349
|
new_options = opts.merge(
|
350
|
+
:operation => :"RemotesMavenApi.partial_update",
|
335
351
|
:header_params => header_params,
|
336
352
|
:query_params => query_params,
|
337
353
|
:form_params => form_params,
|
@@ -385,21 +401,22 @@ module PulpMavenClient
|
|
385
401
|
# header parameters
|
386
402
|
header_params = opts[:header_params] || {}
|
387
403
|
# HTTP header 'Accept' (if needed)
|
388
|
-
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']
|
389
405
|
|
390
406
|
# form parameters
|
391
407
|
form_params = opts[:form_params] || {}
|
392
408
|
|
393
409
|
# http body (model)
|
394
|
-
post_body = opts[:
|
410
|
+
post_body = opts[:debug_body]
|
395
411
|
|
396
412
|
# return_type
|
397
|
-
return_type = opts[:
|
413
|
+
return_type = opts[:debug_return_type] || 'MavenMavenRemoteResponse'
|
398
414
|
|
399
415
|
# auth_names
|
400
|
-
auth_names = opts[:
|
416
|
+
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
401
417
|
|
402
418
|
new_options = opts.merge(
|
419
|
+
:operation => :"RemotesMavenApi.read",
|
403
420
|
:header_params => header_params,
|
404
421
|
:query_params => query_params,
|
405
422
|
:form_params => form_params,
|
@@ -453,23 +470,27 @@ module PulpMavenClient
|
|
453
470
|
# header parameters
|
454
471
|
header_params = opts[:header_params] || {}
|
455
472
|
# HTTP header 'Accept' (if needed)
|
456
|
-
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']
|
457
474
|
# HTTP header 'Content-Type'
|
458
|
-
|
475
|
+
content_type = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
476
|
+
if !content_type.nil?
|
477
|
+
header_params['Content-Type'] = content_type
|
478
|
+
end
|
459
479
|
|
460
480
|
# form parameters
|
461
481
|
form_params = opts[:form_params] || {}
|
462
482
|
|
463
483
|
# http body (model)
|
464
|
-
post_body = opts[:
|
484
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(set_label)
|
465
485
|
|
466
486
|
# return_type
|
467
|
-
return_type = opts[:
|
487
|
+
return_type = opts[:debug_return_type] || 'SetLabelResponse'
|
468
488
|
|
469
489
|
# auth_names
|
470
|
-
auth_names = opts[:
|
490
|
+
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
471
491
|
|
472
492
|
new_options = opts.merge(
|
493
|
+
:operation => :"RemotesMavenApi.set_label",
|
473
494
|
:header_params => header_params,
|
474
495
|
:query_params => query_params,
|
475
496
|
:form_params => form_params,
|
@@ -523,23 +544,27 @@ module PulpMavenClient
|
|
523
544
|
# header parameters
|
524
545
|
header_params = opts[:header_params] || {}
|
525
546
|
# HTTP header 'Accept' (if needed)
|
526
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
547
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
527
548
|
# HTTP header 'Content-Type'
|
528
|
-
|
549
|
+
content_type = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
550
|
+
if !content_type.nil?
|
551
|
+
header_params['Content-Type'] = content_type
|
552
|
+
end
|
529
553
|
|
530
554
|
# form parameters
|
531
555
|
form_params = opts[:form_params] || {}
|
532
556
|
|
533
557
|
# http body (model)
|
534
|
-
post_body = opts[:
|
558
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(unset_label)
|
535
559
|
|
536
560
|
# return_type
|
537
|
-
return_type = opts[:
|
561
|
+
return_type = opts[:debug_return_type] || 'UnsetLabelResponse'
|
538
562
|
|
539
563
|
# auth_names
|
540
|
-
auth_names = opts[:
|
564
|
+
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
541
565
|
|
542
566
|
new_options = opts.merge(
|
567
|
+
:operation => :"RemotesMavenApi.unset_label",
|
543
568
|
:header_params => header_params,
|
544
569
|
:query_params => query_params,
|
545
570
|
:form_params => form_params,
|
@@ -593,23 +618,27 @@ module PulpMavenClient
|
|
593
618
|
# header parameters
|
594
619
|
header_params = opts[:header_params] || {}
|
595
620
|
# HTTP header 'Accept' (if needed)
|
596
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
621
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
597
622
|
# HTTP header 'Content-Type'
|
598
|
-
|
623
|
+
content_type = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
624
|
+
if !content_type.nil?
|
625
|
+
header_params['Content-Type'] = content_type
|
626
|
+
end
|
599
627
|
|
600
628
|
# form parameters
|
601
629
|
form_params = opts[:form_params] || {}
|
602
630
|
|
603
631
|
# http body (model)
|
604
|
-
post_body = opts[:
|
632
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(maven_maven_remote)
|
605
633
|
|
606
634
|
# return_type
|
607
|
-
return_type = opts[:
|
635
|
+
return_type = opts[:debug_return_type] || 'AsyncOperationResponse'
|
608
636
|
|
609
637
|
# auth_names
|
610
|
-
auth_names = opts[:
|
638
|
+
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
611
639
|
|
612
640
|
new_options = opts.merge(
|
641
|
+
:operation => :"RemotesMavenApi.update",
|
613
642
|
:header_params => header_params,
|
614
643
|
:query_params => query_params,
|
615
644
|
:form_params => form_params,
|