pulp_gem_client 0.6.1 → 0.6.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +11 -8
- data/docs/AsyncOperationResponse.md +8 -7
- data/docs/ContentGemApi.md +118 -66
- data/docs/ContentSummaryResponse.md +12 -11
- data/docs/DistributionsGemApi.md +388 -183
- data/docs/GemGemContentResponse.md +32 -29
- data/docs/GemGemDistribution.md +22 -21
- data/docs/GemGemDistributionResponse.md +34 -29
- data/docs/GemGemPublication.md +10 -9
- data/docs/GemGemPublicationResponse.md +18 -15
- data/docs/GemGemRemote.md +54 -53
- data/docs/GemGemRemoteResponse.md +54 -51
- data/docs/GemGemRemoteResponseHiddenFieldsInner.md +20 -0
- data/docs/GemGemRepository.md +16 -15
- data/docs/GemGemRepositoryResponse.md +28 -25
- 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/PaginatedRepositoryVersionResponseList.md +14 -13
- data/docs/PaginatedgemGemContentResponseList.md +14 -13
- data/docs/PaginatedgemGemDistributionResponseList.md +14 -13
- data/docs/PaginatedgemGemPublicationResponseList.md +14 -13
- data/docs/PaginatedgemGemRemoteResponseList.md +14 -13
- data/docs/PaginatedgemGemRepositoryResponseList.md +14 -13
- data/docs/PatchedgemGemDistribution.md +22 -21
- data/docs/PatchedgemGemRemote.md +54 -53
- data/docs/PatchedgemGemRepository.md +16 -15
- data/docs/PolicyEnum.md +4 -5
- data/docs/PublicationsGemApi.md +271 -132
- data/docs/RemotesGemApi.md +392 -185
- data/docs/Repair.md +8 -7
- data/docs/RepositoriesGemApi.md +449 -210
- data/docs/RepositoriesGemVersionsApi.md +155 -83
- data/docs/RepositoryAddRemoveContent.md +12 -11
- data/docs/RepositorySyncURL.md +10 -9
- 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_gem_client/api/content_gem_api.rb +31 -22
- data/lib/pulp_gem_client/api/distributions_gem_api.rb +94 -58
- data/lib/pulp_gem_client/api/publications_gem_api.rb +81 -58
- data/lib/pulp_gem_client/api/remotes_gem_api.rb +109 -70
- data/lib/pulp_gem_client/api/repositories_gem_api.rb +116 -72
- data/lib/pulp_gem_client/api/repositories_gem_versions_api.rb +50 -37
- data/lib/pulp_gem_client/api_client.rb +137 -102
- data/lib/pulp_gem_client/api_error.rb +2 -1
- data/lib/pulp_gem_client/configuration.rb +162 -21
- data/lib/pulp_gem_client/models/async_operation_response.rb +32 -22
- data/lib/pulp_gem_client/models/content_summary_response.rb +36 -22
- data/lib/pulp_gem_client/models/gem_gem_content_response.rb +45 -25
- data/lib/pulp_gem_client/models/gem_gem_distribution.rb +34 -22
- data/lib/pulp_gem_client/models/gem_gem_distribution_response.rb +57 -25
- data/lib/pulp_gem_client/models/gem_gem_publication.rb +30 -22
- data/lib/pulp_gem_client/models/gem_gem_publication_response.rb +43 -25
- data/lib/pulp_gem_client/models/gem_gem_remote.rb +56 -22
- data/lib/pulp_gem_client/models/gem_gem_remote_response.rb +70 -26
- data/lib/pulp_gem_client/models/{gem_gem_remote_response_hidden_fields.rb → gem_gem_remote_response_hidden_fields_inner.rb} +37 -25
- data/lib/pulp_gem_client/models/gem_gem_repository.rb +32 -22
- data/lib/pulp_gem_client/models/gem_gem_repository_response.rb +45 -25
- data/lib/pulp_gem_client/models/my_permissions_response.rb +32 -22
- data/lib/pulp_gem_client/models/nested_role.rb +32 -22
- data/lib/pulp_gem_client/models/nested_role_response.rb +32 -22
- data/lib/pulp_gem_client/models/object_roles_response.rb +32 -22
- data/lib/pulp_gem_client/models/paginated_repository_version_response_list.rb +34 -22
- data/lib/pulp_gem_client/models/paginatedgem_gem_content_response_list.rb +34 -22
- data/lib/pulp_gem_client/models/paginatedgem_gem_distribution_response_list.rb +34 -22
- data/lib/pulp_gem_client/models/paginatedgem_gem_publication_response_list.rb +34 -22
- data/lib/pulp_gem_client/models/paginatedgem_gem_remote_response_list.rb +34 -22
- data/lib/pulp_gem_client/models/paginatedgem_gem_repository_response_list.rb +34 -22
- data/lib/pulp_gem_client/models/patchedgem_gem_distribution.rb +40 -24
- data/lib/pulp_gem_client/models/patchedgem_gem_remote.rb +62 -24
- data/lib/pulp_gem_client/models/patchedgem_gem_repository.rb +35 -23
- data/lib/pulp_gem_client/models/policy_enum.rb +8 -4
- data/lib/pulp_gem_client/models/repair.rb +30 -22
- data/lib/pulp_gem_client/models/repository_add_remove_content.rb +31 -23
- data/lib/pulp_gem_client/models/repository_sync_url.rb +30 -22
- data/lib/pulp_gem_client/models/repository_version_response.rb +44 -26
- data/lib/pulp_gem_client/models/set_label.rb +34 -22
- data/lib/pulp_gem_client/models/set_label_response.rb +34 -22
- data/lib/pulp_gem_client/models/unset_label.rb +32 -22
- data/lib/pulp_gem_client/models/unset_label_response.rb +32 -22
- data/lib/pulp_gem_client/version.rb +2 -2
- data/lib/pulp_gem_client.rb +2 -3
- data/pulp_gem_client.gemspec +9 -6
- data/spec/api/content_gem_api_spec.rb +9 -8
- data/spec/api/distributions_gem_api_spec.rb +15 -14
- data/spec/api/publications_gem_api_spec.rb +22 -20
- data/spec/api/remotes_gem_api_spec.rb +22 -20
- data/spec/api/repositories_gem_api_spec.rb +19 -18
- data/spec/api/repositories_gem_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/gem_gem_content_response_spec.rb +24 -23
- data/spec/models/gem_gem_distribution_response_spec.rb +30 -23
- data/spec/models/gem_gem_distribution_spec.rb +14 -19
- data/spec/models/gem_gem_publication_response_spec.rb +17 -16
- data/spec/models/gem_gem_publication_spec.rb +8 -13
- data/spec/models/{gem_gem_remote_response_hidden_fields_spec.rb → gem_gem_remote_response_hidden_fields_inner_spec.rb} +11 -16
- data/spec/models/gem_gem_remote_response_spec.rb +35 -34
- data/spec/models/gem_gem_remote_spec.rb +30 -35
- data/spec/models/gem_gem_repository_response_spec.rb +22 -21
- data/spec/models/gem_gem_repository_spec.rb +11 -16
- 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/paginated_repository_version_response_list_spec.rb +10 -15
- data/spec/models/paginatedgem_gem_content_response_list_spec.rb +10 -15
- data/spec/models/paginatedgem_gem_distribution_response_list_spec.rb +10 -15
- data/spec/models/paginatedgem_gem_publication_response_list_spec.rb +10 -15
- data/spec/models/paginatedgem_gem_remote_response_list_spec.rb +10 -15
- data/spec/models/paginatedgem_gem_repository_response_list_spec.rb +10 -15
- data/spec/models/patchedgem_gem_distribution_spec.rb +14 -19
- data/spec/models/patchedgem_gem_remote_spec.rb +30 -35
- data/spec/models/patchedgem_gem_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_remove_content_spec.rb +9 -14
- data/spec/models/repository_sync_url_spec.rb +8 -13
- 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 +80 -60
- data/docs/GemGemContent.md +0 -21
- data/docs/GemGemRemoteResponseHiddenFields.md +0 -19
- data/lib/pulp_gem_client/models/gem_gem_content.rb +0 -228
- data/spec/api_client_spec.rb +0 -188
- data/spec/configuration_spec.rb +0 -42
- data/spec/models/gem_gem_content_spec.rb +0 -53
@@ -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 PulpGemClient
|
|
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 => :"RemotesGemApi.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 PulpGemClient
|
|
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(gem_gem_remote)
|
133
140
|
|
134
141
|
# return_type
|
135
|
-
return_type = opts[:
|
142
|
+
return_type = opts[:debug_return_type] || 'GemGemRemoteResponse'
|
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 => :"RemotesGemApi.create",
|
141
149
|
:header_params => header_params,
|
142
150
|
:query_params => query_params,
|
143
151
|
:form_params => form_params,
|
@@ -185,21 +193,22 @@ module PulpGemClient
|
|
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 => :"RemotesGemApi.delete",
|
203
212
|
:header_params => header_params,
|
204
213
|
:query_params => query_params,
|
205
214
|
:form_params => form_params,
|
@@ -230,16 +239,18 @@ module PulpGemClient
|
|
230
239
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
231
240
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
232
241
|
# @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)
|
242
|
+
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
233
243
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
234
244
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
235
245
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
236
|
-
# @option opts [
|
237
|
-
# @option opts [
|
238
|
-
# @option opts [
|
239
|
-
# @option opts [
|
240
|
-
# @option opts [
|
241
|
-
# @option opts [
|
242
|
-
# @option opts [
|
246
|
+
# @option opts [Time] :pulp_last_updated Filter results where pulp_last_updated matches value
|
247
|
+
# @option opts [Time] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
|
248
|
+
# @option opts [Time] :pulp_last_updated__gte Filter results where pulp_last_updated is greater than or equal to value
|
249
|
+
# @option opts [Boolean] :pulp_last_updated__isnull Filter results where pulp_last_updated has a null value
|
250
|
+
# @option opts [Time] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
|
251
|
+
# @option opts [Time] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
|
252
|
+
# @option opts [Array<Time>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
|
253
|
+
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
243
254
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
244
255
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
245
256
|
# @return [PaginatedgemGemRemoteResponseList]
|
@@ -263,16 +274,18 @@ module PulpGemClient
|
|
263
274
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
264
275
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
265
276
|
# @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)
|
277
|
+
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
266
278
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
267
279
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
268
280
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
269
|
-
# @option opts [
|
270
|
-
# @option opts [
|
271
|
-
# @option opts [
|
272
|
-
# @option opts [
|
273
|
-
# @option opts [
|
274
|
-
# @option opts [
|
275
|
-
# @option opts [
|
281
|
+
# @option opts [Time] :pulp_last_updated Filter results where pulp_last_updated matches value
|
282
|
+
# @option opts [Time] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
|
283
|
+
# @option opts [Time] :pulp_last_updated__gte Filter results where pulp_last_updated is greater than or equal to value
|
284
|
+
# @option opts [Boolean] :pulp_last_updated__isnull Filter results where pulp_last_updated has a null value
|
285
|
+
# @option opts [Time] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
|
286
|
+
# @option opts [Time] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
|
287
|
+
# @option opts [Array<Time>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
|
288
|
+
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
276
289
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
277
290
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
278
291
|
# @return [Array<(PaginatedgemGemRemoteResponseList, Integer, Hash)>] PaginatedgemGemRemoteResponseList data, response status code and response headers
|
@@ -301,12 +314,14 @@ module PulpGemClient
|
|
301
314
|
query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
|
302
315
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
303
316
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
317
|
+
query_params[:'prn__in'] = @api_client.build_collection_param(opts[:'prn__in'], :csv) if !opts[:'prn__in'].nil?
|
304
318
|
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
305
319
|
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
306
320
|
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
307
321
|
query_params[:'pulp_last_updated'] = opts[:'pulp_last_updated'] if !opts[:'pulp_last_updated'].nil?
|
308
322
|
query_params[:'pulp_last_updated__gt'] = opts[:'pulp_last_updated__gt'] if !opts[:'pulp_last_updated__gt'].nil?
|
309
323
|
query_params[:'pulp_last_updated__gte'] = opts[:'pulp_last_updated__gte'] if !opts[:'pulp_last_updated__gte'].nil?
|
324
|
+
query_params[:'pulp_last_updated__isnull'] = opts[:'pulp_last_updated__isnull'] if !opts[:'pulp_last_updated__isnull'].nil?
|
310
325
|
query_params[:'pulp_last_updated__lt'] = opts[:'pulp_last_updated__lt'] if !opts[:'pulp_last_updated__lt'].nil?
|
311
326
|
query_params[:'pulp_last_updated__lte'] = opts[:'pulp_last_updated__lte'] if !opts[:'pulp_last_updated__lte'].nil?
|
312
327
|
query_params[:'pulp_last_updated__range'] = @api_client.build_collection_param(opts[:'pulp_last_updated__range'], :csv) if !opts[:'pulp_last_updated__range'].nil?
|
@@ -317,21 +332,22 @@ module PulpGemClient
|
|
317
332
|
# header parameters
|
318
333
|
header_params = opts[:header_params] || {}
|
319
334
|
# HTTP header 'Accept' (if needed)
|
320
|
-
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']
|
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]
|
327
342
|
|
328
343
|
# return_type
|
329
|
-
return_type = opts[:
|
344
|
+
return_type = opts[:debug_return_type] || 'PaginatedgemGemRemoteResponseList'
|
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 => :"RemotesGemApi.list",
|
335
351
|
:header_params => header_params,
|
336
352
|
:query_params => query_params,
|
337
353
|
:form_params => form_params,
|
@@ -385,21 +401,22 @@ module PulpGemClient
|
|
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] || 'ObjectRolesResponse'
|
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 => :"RemotesGemApi.list_roles",
|
403
420
|
:header_params => header_params,
|
404
421
|
:query_params => query_params,
|
405
422
|
:form_params => form_params,
|
@@ -453,21 +470,22 @@ module PulpGemClient
|
|
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
|
|
458
475
|
# form parameters
|
459
476
|
form_params = opts[:form_params] || {}
|
460
477
|
|
461
478
|
# http body (model)
|
462
|
-
post_body = opts[:
|
479
|
+
post_body = opts[:debug_body]
|
463
480
|
|
464
481
|
# return_type
|
465
|
-
return_type = opts[:
|
482
|
+
return_type = opts[:debug_return_type] || 'MyPermissionsResponse'
|
466
483
|
|
467
484
|
# auth_names
|
468
|
-
auth_names = opts[:
|
485
|
+
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
469
486
|
|
470
487
|
new_options = opts.merge(
|
488
|
+
:operation => :"RemotesGemApi.my_permissions",
|
471
489
|
:header_params => header_params,
|
472
490
|
:query_params => query_params,
|
473
491
|
:form_params => form_params,
|
@@ -521,23 +539,27 @@ module PulpGemClient
|
|
521
539
|
# header parameters
|
522
540
|
header_params = opts[:header_params] || {}
|
523
541
|
# HTTP header 'Accept' (if needed)
|
524
|
-
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']
|
525
543
|
# HTTP header 'Content-Type'
|
526
|
-
|
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
|
527
548
|
|
528
549
|
# form parameters
|
529
550
|
form_params = opts[:form_params] || {}
|
530
551
|
|
531
552
|
# http body (model)
|
532
|
-
post_body = opts[:
|
553
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(patchedgem_gem_remote)
|
533
554
|
|
534
555
|
# return_type
|
535
|
-
return_type = opts[:
|
556
|
+
return_type = opts[:debug_return_type] || 'AsyncOperationResponse'
|
536
557
|
|
537
558
|
# auth_names
|
538
|
-
auth_names = opts[:
|
559
|
+
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
539
560
|
|
540
561
|
new_options = opts.merge(
|
562
|
+
:operation => :"RemotesGemApi.partial_update",
|
541
563
|
:header_params => header_params,
|
542
564
|
:query_params => query_params,
|
543
565
|
:form_params => form_params,
|
@@ -591,21 +613,22 @@ module PulpGemClient
|
|
591
613
|
# header parameters
|
592
614
|
header_params = opts[:header_params] || {}
|
593
615
|
# HTTP header 'Accept' (if needed)
|
594
|
-
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']
|
595
617
|
|
596
618
|
# form parameters
|
597
619
|
form_params = opts[:form_params] || {}
|
598
620
|
|
599
621
|
# http body (model)
|
600
|
-
post_body = opts[:
|
622
|
+
post_body = opts[:debug_body]
|
601
623
|
|
602
624
|
# return_type
|
603
|
-
return_type = opts[:
|
625
|
+
return_type = opts[:debug_return_type] || 'GemGemRemoteResponse'
|
604
626
|
|
605
627
|
# auth_names
|
606
|
-
auth_names = opts[:
|
628
|
+
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
607
629
|
|
608
630
|
new_options = opts.merge(
|
631
|
+
:operation => :"RemotesGemApi.read",
|
609
632
|
:header_params => header_params,
|
610
633
|
:query_params => query_params,
|
611
634
|
:form_params => form_params,
|
@@ -659,23 +682,27 @@ module PulpGemClient
|
|
659
682
|
# header parameters
|
660
683
|
header_params = opts[:header_params] || {}
|
661
684
|
# HTTP header 'Accept' (if needed)
|
662
|
-
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']
|
663
686
|
# HTTP header 'Content-Type'
|
664
|
-
|
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
|
665
691
|
|
666
692
|
# form parameters
|
667
693
|
form_params = opts[:form_params] || {}
|
668
694
|
|
669
695
|
# http body (model)
|
670
|
-
post_body = opts[:
|
696
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(nested_role)
|
671
697
|
|
672
698
|
# return_type
|
673
|
-
return_type = opts[:
|
699
|
+
return_type = opts[:debug_return_type] || 'NestedRoleResponse'
|
674
700
|
|
675
701
|
# auth_names
|
676
|
-
auth_names = opts[:
|
702
|
+
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
677
703
|
|
678
704
|
new_options = opts.merge(
|
705
|
+
:operation => :"RemotesGemApi.remove_role",
|
679
706
|
:header_params => header_params,
|
680
707
|
:query_params => query_params,
|
681
708
|
:form_params => form_params,
|
@@ -729,23 +756,27 @@ module PulpGemClient
|
|
729
756
|
# header parameters
|
730
757
|
header_params = opts[:header_params] || {}
|
731
758
|
# HTTP header 'Accept' (if needed)
|
732
|
-
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']
|
733
760
|
# HTTP header 'Content-Type'
|
734
|
-
|
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
|
735
765
|
|
736
766
|
# form parameters
|
737
767
|
form_params = opts[:form_params] || {}
|
738
768
|
|
739
769
|
# http body (model)
|
740
|
-
post_body = opts[:
|
770
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(set_label)
|
741
771
|
|
742
772
|
# return_type
|
743
|
-
return_type = opts[:
|
773
|
+
return_type = opts[:debug_return_type] || 'SetLabelResponse'
|
744
774
|
|
745
775
|
# auth_names
|
746
|
-
auth_names = opts[:
|
776
|
+
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
747
777
|
|
748
778
|
new_options = opts.merge(
|
779
|
+
:operation => :"RemotesGemApi.set_label",
|
749
780
|
:header_params => header_params,
|
750
781
|
:query_params => query_params,
|
751
782
|
:form_params => form_params,
|
@@ -799,23 +830,27 @@ module PulpGemClient
|
|
799
830
|
# header parameters
|
800
831
|
header_params = opts[:header_params] || {}
|
801
832
|
# HTTP header 'Accept' (if needed)
|
802
|
-
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']
|
803
834
|
# HTTP header 'Content-Type'
|
804
|
-
|
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
|
805
839
|
|
806
840
|
# form parameters
|
807
841
|
form_params = opts[:form_params] || {}
|
808
842
|
|
809
843
|
# http body (model)
|
810
|
-
post_body = opts[:
|
844
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(unset_label)
|
811
845
|
|
812
846
|
# return_type
|
813
|
-
return_type = opts[:
|
847
|
+
return_type = opts[:debug_return_type] || 'UnsetLabelResponse'
|
814
848
|
|
815
849
|
# auth_names
|
816
|
-
auth_names = opts[:
|
850
|
+
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
817
851
|
|
818
852
|
new_options = opts.merge(
|
853
|
+
:operation => :"RemotesGemApi.unset_label",
|
819
854
|
:header_params => header_params,
|
820
855
|
:query_params => query_params,
|
821
856
|
:form_params => form_params,
|
@@ -869,23 +904,27 @@ module PulpGemClient
|
|
869
904
|
# header parameters
|
870
905
|
header_params = opts[:header_params] || {}
|
871
906
|
# HTTP header 'Accept' (if needed)
|
872
|
-
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']
|
873
908
|
# HTTP header 'Content-Type'
|
874
|
-
|
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
|
875
913
|
|
876
914
|
# form parameters
|
877
915
|
form_params = opts[:form_params] || {}
|
878
916
|
|
879
917
|
# http body (model)
|
880
|
-
post_body = opts[:
|
918
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(gem_gem_remote)
|
881
919
|
|
882
920
|
# return_type
|
883
|
-
return_type = opts[:
|
921
|
+
return_type = opts[:debug_return_type] || 'AsyncOperationResponse'
|
884
922
|
|
885
923
|
# auth_names
|
886
|
-
auth_names = opts[:
|
924
|
+
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
887
925
|
|
888
926
|
new_options = opts.merge(
|
927
|
+
:operation => :"RemotesGemApi.update",
|
889
928
|
:header_params => header_params,
|
890
929
|
:query_params => query_params,
|
891
930
|
:form_params => form_params,
|