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.
Files changed (112) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +11 -7
  3. data/docs/AsyncOperationResponse.md +8 -7
  4. data/docs/ContentArtifactApi.md +116 -64
  5. data/docs/ContentSummaryResponse.md +12 -11
  6. data/docs/DistributionsMavenApi.md +267 -130
  7. data/docs/MavenMavenArtifact.md +12 -11
  8. data/docs/MavenMavenArtifactResponse.md +24 -21
  9. data/docs/MavenMavenDistribution.md +20 -19
  10. data/docs/MavenMavenDistributionResponse.md +32 -27
  11. data/docs/MavenMavenRemote.md +48 -47
  12. data/docs/MavenMavenRemoteResponse.md +48 -45
  13. data/docs/MavenMavenRemoteResponseHiddenFieldsInner.md +20 -0
  14. data/docs/MavenMavenRepository.md +16 -15
  15. data/docs/MavenMavenRepositoryResponse.md +28 -25
  16. data/docs/PaginatedRepositoryVersionResponseList.md +14 -13
  17. data/docs/PaginatedmavenMavenArtifactResponseList.md +14 -13
  18. data/docs/PaginatedmavenMavenDistributionResponseList.md +14 -13
  19. data/docs/PaginatedmavenMavenRemoteResponseList.md +14 -13
  20. data/docs/PaginatedmavenMavenRepositoryResponseList.md +14 -13
  21. data/docs/PatchedmavenMavenDistribution.md +20 -19
  22. data/docs/PatchedmavenMavenRemote.md +48 -47
  23. data/docs/PatchedmavenMavenRepository.md +16 -15
  24. data/docs/PolicyEnum.md +4 -5
  25. data/docs/PulpMavenApi.md +61 -26
  26. data/docs/RemotesMavenApi.md +271 -132
  27. data/docs/Repair.md +8 -7
  28. data/docs/RepositoriesMavenApi.md +300 -146
  29. data/docs/RepositoriesMavenVersionsApi.md +155 -83
  30. data/docs/RepositoryAddCachedContent.md +8 -7
  31. data/docs/RepositoryVersionResponse.md +22 -19
  32. data/docs/SetLabel.md +10 -9
  33. data/docs/SetLabelResponse.md +10 -9
  34. data/docs/UnsetLabel.md +8 -7
  35. data/docs/UnsetLabelResponse.md +10 -9
  36. data/lib/pulp_maven_client/api/content_artifact_api.rb +31 -22
  37. data/lib/pulp_maven_client/api/distributions_maven_api.rb +66 -40
  38. data/lib/pulp_maven_client/api/pulp_maven_api.rb +9 -7
  39. data/lib/pulp_maven_client/api/remotes_maven_api.rb +81 -52
  40. data/lib/pulp_maven_client/api/repositories_maven_api.rb +79 -49
  41. data/lib/pulp_maven_client/api/repositories_maven_versions_api.rb +50 -37
  42. data/lib/pulp_maven_client/api_client.rb +137 -102
  43. data/lib/pulp_maven_client/api_error.rb +2 -1
  44. data/lib/pulp_maven_client/configuration.rb +162 -21
  45. data/lib/pulp_maven_client/models/async_operation_response.rb +32 -22
  46. data/lib/pulp_maven_client/models/content_summary_response.rb +36 -22
  47. data/lib/pulp_maven_client/models/maven_maven_artifact.rb +34 -22
  48. data/lib/pulp_maven_client/models/maven_maven_artifact_response.rb +45 -25
  49. data/lib/pulp_maven_client/models/maven_maven_distribution.rb +34 -22
  50. data/lib/pulp_maven_client/models/maven_maven_distribution_response.rb +57 -25
  51. data/lib/pulp_maven_client/models/maven_maven_remote.rb +57 -38
  52. data/lib/pulp_maven_client/models/maven_maven_remote_response.rb +71 -42
  53. data/lib/pulp_maven_client/models/{maven_maven_remote_response_hidden_fields.rb → maven_maven_remote_response_hidden_fields_inner.rb} +37 -25
  54. data/lib/pulp_maven_client/models/maven_maven_repository.rb +32 -37
  55. data/lib/pulp_maven_client/models/maven_maven_repository_response.rb +45 -40
  56. data/lib/pulp_maven_client/models/paginated_repository_version_response_list.rb +34 -24
  57. data/lib/pulp_maven_client/models/paginatedmaven_maven_artifact_response_list.rb +34 -24
  58. data/lib/pulp_maven_client/models/paginatedmaven_maven_distribution_response_list.rb +34 -24
  59. data/lib/pulp_maven_client/models/paginatedmaven_maven_remote_response_list.rb +34 -24
  60. data/lib/pulp_maven_client/models/paginatedmaven_maven_repository_response_list.rb +34 -24
  61. data/lib/pulp_maven_client/models/patchedmaven_maven_distribution.rb +40 -24
  62. data/lib/pulp_maven_client/models/patchedmaven_maven_remote.rb +63 -40
  63. data/lib/pulp_maven_client/models/patchedmaven_maven_repository.rb +35 -38
  64. data/lib/pulp_maven_client/models/policy_enum.rb +8 -5
  65. data/lib/pulp_maven_client/models/repair.rb +30 -22
  66. data/lib/pulp_maven_client/models/repository_add_cached_content.rb +30 -22
  67. data/lib/pulp_maven_client/models/repository_version_response.rb +44 -26
  68. data/lib/pulp_maven_client/models/set_label.rb +34 -22
  69. data/lib/pulp_maven_client/models/set_label_response.rb +34 -22
  70. data/lib/pulp_maven_client/models/unset_label.rb +32 -22
  71. data/lib/pulp_maven_client/models/unset_label_response.rb +32 -22
  72. data/lib/pulp_maven_client/version.rb +2 -2
  73. data/lib/pulp_maven_client.rb +2 -2
  74. data/pulp_maven_client.gemspec +9 -6
  75. data/spec/api/content_artifact_api_spec.rb +9 -8
  76. data/spec/api/distributions_maven_api_spec.rb +11 -10
  77. data/spec/api/pulp_maven_api_spec.rb +3 -3
  78. data/spec/api/remotes_maven_api_spec.rb +18 -16
  79. data/spec/api/repositories_maven_api_spec.rb +14 -13
  80. data/spec/api/repositories_maven_versions_api_spec.rb +16 -14
  81. data/spec/models/async_operation_response_spec.rb +7 -12
  82. data/spec/models/content_summary_response_spec.rb +9 -14
  83. data/spec/models/maven_maven_artifact_response_spec.rb +20 -19
  84. data/spec/models/maven_maven_artifact_spec.rb +9 -14
  85. data/spec/models/maven_maven_distribution_response_spec.rb +29 -22
  86. data/spec/models/maven_maven_distribution_spec.rb +13 -18
  87. data/spec/models/{maven_maven_remote_response_hidden_fields_spec.rb → maven_maven_remote_response_hidden_fields_inner_spec.rb} +11 -16
  88. data/spec/models/maven_maven_remote_response_spec.rb +32 -31
  89. data/spec/models/maven_maven_remote_spec.rb +27 -32
  90. data/spec/models/maven_maven_repository_response_spec.rb +22 -21
  91. data/spec/models/maven_maven_repository_spec.rb +11 -16
  92. data/spec/models/paginated_repository_version_response_list_spec.rb +10 -15
  93. data/spec/models/paginatedmaven_maven_artifact_response_list_spec.rb +10 -15
  94. data/spec/models/paginatedmaven_maven_distribution_response_list_spec.rb +10 -15
  95. data/spec/models/paginatedmaven_maven_remote_response_list_spec.rb +10 -15
  96. data/spec/models/paginatedmaven_maven_repository_response_list_spec.rb +10 -15
  97. data/spec/models/patchedmaven_maven_distribution_spec.rb +13 -18
  98. data/spec/models/patchedmaven_maven_remote_spec.rb +27 -32
  99. data/spec/models/patchedmaven_maven_repository_spec.rb +11 -16
  100. data/spec/models/policy_enum_spec.rb +6 -11
  101. data/spec/models/repair_spec.rb +7 -12
  102. data/spec/models/repository_add_cached_content_spec.rb +7 -12
  103. data/spec/models/repository_version_response_spec.rb +19 -18
  104. data/spec/models/set_label_response_spec.rb +8 -13
  105. data/spec/models/set_label_spec.rb +8 -13
  106. data/spec/models/unset_label_response_spec.rb +8 -13
  107. data/spec/models/unset_label_spec.rb +7 -12
  108. data/spec/spec_helper.rb +1 -1
  109. metadata +78 -54
  110. data/docs/MavenMavenRemoteResponseHiddenFields.md +0 -19
  111. data/spec/api_client_spec.rb +0 -188
  112. 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
- OpenAPI Generator version: 4.3.1
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
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
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[:body] || @api_client.object_to_http_body(maven_maven_remote)
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[:return_type] || 'MavenMavenRemoteResponse'
68
+ return_type = opts[:debug_return_type] || 'MavenMavenRemoteResponse'
66
69
 
67
70
  # auth_names
68
- auth_names = opts[:auth_names] || ['basicAuth']
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[:body]
128
+ post_body = opts[:debug_body]
125
129
 
126
130
  # return_type
127
- return_type = opts[:return_type] || 'AsyncOperationResponse'
131
+ return_type = opts[:debug_return_type] || 'AsyncOperationResponse'
128
132
 
129
133
  # auth_names
130
- auth_names = opts[:auth_names] || ['basicAuth']
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 * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;url&#x60; - Url * &#x60;-url&#x60; - Url (descending) * &#x60;ca_cert&#x60; - Ca cert * &#x60;-ca_cert&#x60; - Ca cert (descending) * &#x60;client_cert&#x60; - Client cert * &#x60;-client_cert&#x60; - Client cert (descending) * &#x60;client_key&#x60; - Client key * &#x60;-client_key&#x60; - Client key (descending) * &#x60;tls_validation&#x60; - Tls validation * &#x60;-tls_validation&#x60; - Tls validation (descending) * &#x60;username&#x60; - Username * &#x60;-username&#x60; - Username (descending) * &#x60;password&#x60; - Password * &#x60;-password&#x60; - Password (descending) * &#x60;proxy_url&#x60; - Proxy url * &#x60;-proxy_url&#x60; - Proxy url (descending) * &#x60;proxy_username&#x60; - Proxy username * &#x60;-proxy_username&#x60; - Proxy username (descending) * &#x60;proxy_password&#x60; - Proxy password * &#x60;-proxy_password&#x60; - Proxy password (descending) * &#x60;download_concurrency&#x60; - Download concurrency * &#x60;-download_concurrency&#x60; - Download concurrency (descending) * &#x60;max_retries&#x60; - Max retries * &#x60;-max_retries&#x60; - Max retries (descending) * &#x60;policy&#x60; - Policy * &#x60;-policy&#x60; - Policy (descending) * &#x60;total_timeout&#x60; - Total timeout * &#x60;-total_timeout&#x60; - Total timeout (descending) * &#x60;connect_timeout&#x60; - Connect timeout * &#x60;-connect_timeout&#x60; - Connect timeout (descending) * &#x60;sock_connect_timeout&#x60; - Sock connect timeout * &#x60;-sock_connect_timeout&#x60; - Sock connect timeout (descending) * &#x60;sock_read_timeout&#x60; - Sock read timeout * &#x60;-sock_read_timeout&#x60; - Sock read timeout (descending) * &#x60;headers&#x60; - Headers * &#x60;-headers&#x60; - Headers (descending) * &#x60;rate_limit&#x60; - Rate limit * &#x60;-rate_limit&#x60; - Rate limit (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - 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 [DateTime] :pulp_last_updated Filter results where pulp_last_updated matches value
167
- # @option opts [DateTime] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
168
- # @option opts [DateTime] :pulp_last_updated__gte Filter results where pulp_last_updated is greater than or equal to value
169
- # @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
170
- # @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
171
- # @option opts [Array<DateTime>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
172
- # @option opts [String] :q
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 * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;url&#x60; - Url * &#x60;-url&#x60; - Url (descending) * &#x60;ca_cert&#x60; - Ca cert * &#x60;-ca_cert&#x60; - Ca cert (descending) * &#x60;client_cert&#x60; - Client cert * &#x60;-client_cert&#x60; - Client cert (descending) * &#x60;client_key&#x60; - Client key * &#x60;-client_key&#x60; - Client key (descending) * &#x60;tls_validation&#x60; - Tls validation * &#x60;-tls_validation&#x60; - Tls validation (descending) * &#x60;username&#x60; - Username * &#x60;-username&#x60; - Username (descending) * &#x60;password&#x60; - Password * &#x60;-password&#x60; - Password (descending) * &#x60;proxy_url&#x60; - Proxy url * &#x60;-proxy_url&#x60; - Proxy url (descending) * &#x60;proxy_username&#x60; - Proxy username * &#x60;-proxy_username&#x60; - Proxy username (descending) * &#x60;proxy_password&#x60; - Proxy password * &#x60;-proxy_password&#x60; - Proxy password (descending) * &#x60;download_concurrency&#x60; - Download concurrency * &#x60;-download_concurrency&#x60; - Download concurrency (descending) * &#x60;max_retries&#x60; - Max retries * &#x60;-max_retries&#x60; - Max retries (descending) * &#x60;policy&#x60; - Policy * &#x60;-policy&#x60; - Policy (descending) * &#x60;total_timeout&#x60; - Total timeout * &#x60;-total_timeout&#x60; - Total timeout (descending) * &#x60;connect_timeout&#x60; - Connect timeout * &#x60;-connect_timeout&#x60; - Connect timeout (descending) * &#x60;sock_connect_timeout&#x60; - Sock connect timeout * &#x60;-sock_connect_timeout&#x60; - Sock connect timeout (descending) * &#x60;sock_read_timeout&#x60; - Sock read timeout * &#x60;-sock_read_timeout&#x60; - Sock read timeout (descending) * &#x60;headers&#x60; - Headers * &#x60;-headers&#x60; - Headers (descending) * &#x60;rate_limit&#x60; - Rate limit * &#x60;-rate_limit&#x60; - Rate limit (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - 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 [DateTime] :pulp_last_updated Filter results where pulp_last_updated matches value
200
- # @option opts [DateTime] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
201
- # @option opts [DateTime] :pulp_last_updated__gte Filter results where pulp_last_updated is greater than or equal to value
202
- # @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
203
- # @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
204
- # @option opts [Array<DateTime>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
205
- # @option opts [String] :q
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[:body]
267
+ post_body = opts[:debug_body]
257
268
 
258
269
  # return_type
259
- return_type = opts[:return_type] || 'PaginatedmavenMavenRemoteResponseList'
270
+ return_type = opts[:debug_return_type] || 'PaginatedmavenMavenRemoteResponseList'
260
271
 
261
272
  # auth_names
262
- auth_names = opts[:auth_names] || ['basicAuth']
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
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
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[:body] || @api_client.object_to_http_body(patchedmaven_maven_remote)
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[:return_type] || 'AsyncOperationResponse'
344
+ return_type = opts[:debug_return_type] || 'AsyncOperationResponse'
330
345
 
331
346
  # auth_names
332
- auth_names = opts[:auth_names] || ['basicAuth']
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[:body]
410
+ post_body = opts[:debug_body]
395
411
 
396
412
  # return_type
397
- return_type = opts[:return_type] || 'MavenMavenRemoteResponse'
413
+ return_type = opts[:debug_return_type] || 'MavenMavenRemoteResponse'
398
414
 
399
415
  # auth_names
400
- auth_names = opts[:auth_names] || ['basicAuth']
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
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
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[:body] || @api_client.object_to_http_body(set_label)
484
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(set_label)
465
485
 
466
486
  # return_type
467
- return_type = opts[:return_type] || 'SetLabelResponse'
487
+ return_type = opts[:debug_return_type] || 'SetLabelResponse'
468
488
 
469
489
  # auth_names
470
- auth_names = opts[:auth_names] || ['basicAuth']
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
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
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[:body] || @api_client.object_to_http_body(unset_label)
558
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(unset_label)
535
559
 
536
560
  # return_type
537
- return_type = opts[:return_type] || 'UnsetLabelResponse'
561
+ return_type = opts[:debug_return_type] || 'UnsetLabelResponse'
538
562
 
539
563
  # auth_names
540
- auth_names = opts[:auth_names] || ['basicAuth']
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
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
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[:body] || @api_client.object_to_http_body(maven_maven_remote)
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[:return_type] || 'AsyncOperationResponse'
635
+ return_type = opts[:debug_return_type] || 'AsyncOperationResponse'
608
636
 
609
637
  # auth_names
610
- auth_names = opts[:auth_names] || ['basicAuth']
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,