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_artifact)
|
63
66
|
|
64
67
|
# return_type
|
65
|
-
return_type = opts[:
|
68
|
+
return_type = opts[:debug_return_type] || 'MavenMavenArtifactResponse'
|
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 => :"ContentArtifactApi.create",
|
71
75
|
:header_params => header_params,
|
72
76
|
:query_params => query_params,
|
73
77
|
:form_params => form_params,
|
@@ -93,12 +97,13 @@ module PulpMavenClient
|
|
93
97
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
94
98
|
# @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) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `group_id` - Group id * `-group_id` - Group id (descending) * `artifact_id` - Artifact id * `-artifact_id` - Artifact id (descending) * `version` - Version * `-version` - Version (descending) * `filename` - Filename * `-filename` - Filename (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
95
99
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
100
|
+
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
96
101
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
97
102
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
98
|
-
# @option opts [String] :q
|
99
|
-
# @option opts [String] :repository_version Repository Version referenced by HREF
|
100
|
-
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
101
|
-
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
103
|
+
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
104
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF/PRN
|
105
|
+
# @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
|
106
|
+
# @option opts [String] :repository_version_removed Repository Version referenced by HREF/PRN
|
102
107
|
# @option opts [String] :version Filter results where version matches value
|
103
108
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
104
109
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
@@ -118,12 +123,13 @@ module PulpMavenClient
|
|
118
123
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
119
124
|
# @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) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `group_id` - Group id * `-group_id` - Group id (descending) * `artifact_id` - Artifact id * `-artifact_id` - Artifact id (descending) * `version` - Version * `-version` - Version (descending) * `filename` - Filename * `-filename` - Filename (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
120
125
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
126
|
+
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
121
127
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
122
128
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
123
|
-
# @option opts [String] :q
|
124
|
-
# @option opts [String] :repository_version Repository Version referenced by HREF
|
125
|
-
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
126
|
-
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
129
|
+
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
130
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF/PRN
|
131
|
+
# @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
|
132
|
+
# @option opts [String] :repository_version_removed Repository Version referenced by HREF/PRN
|
127
133
|
# @option opts [String] :version Filter results where version matches value
|
128
134
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
129
135
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
@@ -148,6 +154,7 @@ module PulpMavenClient
|
|
148
154
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
149
155
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
150
156
|
query_params[:'orphaned_for'] = opts[:'orphaned_for'] if !opts[:'orphaned_for'].nil?
|
157
|
+
query_params[:'prn__in'] = @api_client.build_collection_param(opts[:'prn__in'], :csv) if !opts[:'prn__in'].nil?
|
151
158
|
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
152
159
|
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
153
160
|
query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
|
@@ -161,21 +168,22 @@ module PulpMavenClient
|
|
161
168
|
# header parameters
|
162
169
|
header_params = opts[:header_params] || {}
|
163
170
|
# HTTP header 'Accept' (if needed)
|
164
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
171
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
165
172
|
|
166
173
|
# form parameters
|
167
174
|
form_params = opts[:form_params] || {}
|
168
175
|
|
169
176
|
# http body (model)
|
170
|
-
post_body = opts[:
|
177
|
+
post_body = opts[:debug_body]
|
171
178
|
|
172
179
|
# return_type
|
173
|
-
return_type = opts[:
|
180
|
+
return_type = opts[:debug_return_type] || 'PaginatedmavenMavenArtifactResponseList'
|
174
181
|
|
175
182
|
# auth_names
|
176
|
-
auth_names = opts[:
|
183
|
+
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
177
184
|
|
178
185
|
new_options = opts.merge(
|
186
|
+
:operation => :"ContentArtifactApi.list",
|
179
187
|
:header_params => header_params,
|
180
188
|
:query_params => query_params,
|
181
189
|
:form_params => form_params,
|
@@ -229,21 +237,22 @@ module PulpMavenClient
|
|
229
237
|
# header parameters
|
230
238
|
header_params = opts[:header_params] || {}
|
231
239
|
# HTTP header 'Accept' (if needed)
|
232
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
240
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
233
241
|
|
234
242
|
# form parameters
|
235
243
|
form_params = opts[:form_params] || {}
|
236
244
|
|
237
245
|
# http body (model)
|
238
|
-
post_body = opts[:
|
246
|
+
post_body = opts[:debug_body]
|
239
247
|
|
240
248
|
# return_type
|
241
|
-
return_type = opts[:
|
249
|
+
return_type = opts[:debug_return_type] || 'MavenMavenArtifactResponse'
|
242
250
|
|
243
251
|
# auth_names
|
244
|
-
auth_names = opts[:
|
252
|
+
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
245
253
|
|
246
254
|
new_options = opts.merge(
|
255
|
+
:operation => :"ContentArtifactApi.read",
|
247
256
|
:header_params => header_params,
|
248
257
|
:query_params => query_params,
|
249
258
|
:form_params => form_params,
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
Contact: pulp-list@redhat.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
|
9
|
+
Generator version: 7.10.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -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_distribution)
|
63
66
|
|
64
67
|
# return_type
|
65
|
-
return_type = opts[:
|
68
|
+
return_type = opts[:debug_return_type] || 'AsyncOperationResponse'
|
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 => :"DistributionsMavenApi.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 => :"DistributionsMavenApi.delete",
|
133
138
|
:header_params => header_params,
|
134
139
|
:query_params => query_params,
|
135
140
|
:form_params => form_params,
|
@@ -164,10 +169,11 @@ module PulpMavenClient
|
|
164
169
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
165
170
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
166
171
|
# @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) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
172
|
+
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
167
173
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
168
174
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
169
175
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
170
|
-
# @option opts [String] :q
|
176
|
+
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
171
177
|
# @option opts [String] :repository Filter results where repository matches value
|
172
178
|
# @option opts [Array<String>] :repository__in Filter results where repository is in a comma-separated list of values
|
173
179
|
# @option opts [String] :with_content Filter distributions based on the content served by them
|
@@ -198,10 +204,11 @@ module PulpMavenClient
|
|
198
204
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
199
205
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
200
206
|
# @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) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
207
|
+
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
201
208
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
202
209
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
203
210
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
204
|
-
# @option opts [String] :q
|
211
|
+
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
205
212
|
# @option opts [String] :repository Filter results where repository matches value
|
206
213
|
# @option opts [Array<String>] :repository__in Filter results where repository is in a comma-separated list of values
|
207
214
|
# @option opts [String] :with_content Filter distributions based on the content served by them
|
@@ -237,6 +244,7 @@ module PulpMavenClient
|
|
237
244
|
query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
|
238
245
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
239
246
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
247
|
+
query_params[:'prn__in'] = @api_client.build_collection_param(opts[:'prn__in'], :csv) if !opts[:'prn__in'].nil?
|
240
248
|
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
241
249
|
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
242
250
|
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
@@ -250,21 +258,22 @@ module PulpMavenClient
|
|
250
258
|
# header parameters
|
251
259
|
header_params = opts[:header_params] || {}
|
252
260
|
# HTTP header 'Accept' (if needed)
|
253
|
-
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']
|
254
262
|
|
255
263
|
# form parameters
|
256
264
|
form_params = opts[:form_params] || {}
|
257
265
|
|
258
266
|
# http body (model)
|
259
|
-
post_body = opts[:
|
267
|
+
post_body = opts[:debug_body]
|
260
268
|
|
261
269
|
# return_type
|
262
|
-
return_type = opts[:
|
270
|
+
return_type = opts[:debug_return_type] || 'PaginatedmavenMavenDistributionResponseList'
|
263
271
|
|
264
272
|
# auth_names
|
265
|
-
auth_names = opts[:
|
273
|
+
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
266
274
|
|
267
275
|
new_options = opts.merge(
|
276
|
+
:operation => :"DistributionsMavenApi.list",
|
268
277
|
:header_params => header_params,
|
269
278
|
:query_params => query_params,
|
270
279
|
:form_params => form_params,
|
@@ -318,23 +327,27 @@ module PulpMavenClient
|
|
318
327
|
# header parameters
|
319
328
|
header_params = opts[:header_params] || {}
|
320
329
|
# HTTP header 'Accept' (if needed)
|
321
|
-
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']
|
322
331
|
# HTTP header 'Content-Type'
|
323
|
-
|
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
|
324
336
|
|
325
337
|
# form parameters
|
326
338
|
form_params = opts[:form_params] || {}
|
327
339
|
|
328
340
|
# http body (model)
|
329
|
-
post_body = opts[:
|
341
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(patchedmaven_maven_distribution)
|
330
342
|
|
331
343
|
# return_type
|
332
|
-
return_type = opts[:
|
344
|
+
return_type = opts[:debug_return_type] || 'AsyncOperationResponse'
|
333
345
|
|
334
346
|
# auth_names
|
335
|
-
auth_names = opts[:
|
347
|
+
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
336
348
|
|
337
349
|
new_options = opts.merge(
|
350
|
+
:operation => :"DistributionsMavenApi.partial_update",
|
338
351
|
:header_params => header_params,
|
339
352
|
:query_params => query_params,
|
340
353
|
:form_params => form_params,
|
@@ -388,21 +401,22 @@ module PulpMavenClient
|
|
388
401
|
# header parameters
|
389
402
|
header_params = opts[:header_params] || {}
|
390
403
|
# HTTP header 'Accept' (if needed)
|
391
|
-
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']
|
392
405
|
|
393
406
|
# form parameters
|
394
407
|
form_params = opts[:form_params] || {}
|
395
408
|
|
396
409
|
# http body (model)
|
397
|
-
post_body = opts[:
|
410
|
+
post_body = opts[:debug_body]
|
398
411
|
|
399
412
|
# return_type
|
400
|
-
return_type = opts[:
|
413
|
+
return_type = opts[:debug_return_type] || 'MavenMavenDistributionResponse'
|
401
414
|
|
402
415
|
# auth_names
|
403
|
-
auth_names = opts[:
|
416
|
+
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
404
417
|
|
405
418
|
new_options = opts.merge(
|
419
|
+
:operation => :"DistributionsMavenApi.read",
|
406
420
|
:header_params => header_params,
|
407
421
|
:query_params => query_params,
|
408
422
|
:form_params => form_params,
|
@@ -456,23 +470,27 @@ module PulpMavenClient
|
|
456
470
|
# header parameters
|
457
471
|
header_params = opts[:header_params] || {}
|
458
472
|
# HTTP header 'Accept' (if needed)
|
459
|
-
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']
|
460
474
|
# HTTP header 'Content-Type'
|
461
|
-
|
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
|
462
479
|
|
463
480
|
# form parameters
|
464
481
|
form_params = opts[:form_params] || {}
|
465
482
|
|
466
483
|
# http body (model)
|
467
|
-
post_body = opts[:
|
484
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(set_label)
|
468
485
|
|
469
486
|
# return_type
|
470
|
-
return_type = opts[:
|
487
|
+
return_type = opts[:debug_return_type] || 'SetLabelResponse'
|
471
488
|
|
472
489
|
# auth_names
|
473
|
-
auth_names = opts[:
|
490
|
+
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
474
491
|
|
475
492
|
new_options = opts.merge(
|
493
|
+
:operation => :"DistributionsMavenApi.set_label",
|
476
494
|
:header_params => header_params,
|
477
495
|
:query_params => query_params,
|
478
496
|
:form_params => form_params,
|
@@ -526,23 +544,27 @@ module PulpMavenClient
|
|
526
544
|
# header parameters
|
527
545
|
header_params = opts[:header_params] || {}
|
528
546
|
# HTTP header 'Accept' (if needed)
|
529
|
-
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']
|
530
548
|
# HTTP header 'Content-Type'
|
531
|
-
|
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
|
532
553
|
|
533
554
|
# form parameters
|
534
555
|
form_params = opts[:form_params] || {}
|
535
556
|
|
536
557
|
# http body (model)
|
537
|
-
post_body = opts[:
|
558
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(unset_label)
|
538
559
|
|
539
560
|
# return_type
|
540
|
-
return_type = opts[:
|
561
|
+
return_type = opts[:debug_return_type] || 'UnsetLabelResponse'
|
541
562
|
|
542
563
|
# auth_names
|
543
|
-
auth_names = opts[:
|
564
|
+
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
544
565
|
|
545
566
|
new_options = opts.merge(
|
567
|
+
:operation => :"DistributionsMavenApi.unset_label",
|
546
568
|
:header_params => header_params,
|
547
569
|
:query_params => query_params,
|
548
570
|
:form_params => form_params,
|
@@ -596,23 +618,27 @@ module PulpMavenClient
|
|
596
618
|
# header parameters
|
597
619
|
header_params = opts[:header_params] || {}
|
598
620
|
# HTTP header 'Accept' (if needed)
|
599
|
-
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']
|
600
622
|
# HTTP header 'Content-Type'
|
601
|
-
|
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
|
602
627
|
|
603
628
|
# form parameters
|
604
629
|
form_params = opts[:form_params] || {}
|
605
630
|
|
606
631
|
# http body (model)
|
607
|
-
post_body = opts[:
|
632
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(maven_maven_distribution)
|
608
633
|
|
609
634
|
# return_type
|
610
|
-
return_type = opts[:
|
635
|
+
return_type = opts[:debug_return_type] || 'AsyncOperationResponse'
|
611
636
|
|
612
637
|
# auth_names
|
613
|
-
auth_names = opts[:
|
638
|
+
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
614
639
|
|
615
640
|
new_options = opts.merge(
|
641
|
+
:operation => :"DistributionsMavenApi.update",
|
616
642
|
:header_params => header_params,
|
617
643
|
:query_params => query_params,
|
618
644
|
:form_params => form_params,
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
Contact: pulp-list@redhat.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
|
9
|
+
Generator version: 7.10.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -75,15 +75,16 @@ module PulpMavenClient
|
|
75
75
|
form_params = opts[:form_params] || {}
|
76
76
|
|
77
77
|
# http body (model)
|
78
|
-
post_body = opts[:
|
78
|
+
post_body = opts[:debug_body]
|
79
79
|
|
80
80
|
# return_type
|
81
|
-
return_type = opts[:
|
81
|
+
return_type = opts[:debug_return_type]
|
82
82
|
|
83
83
|
# auth_names
|
84
|
-
auth_names = opts[:
|
84
|
+
auth_names = opts[:debug_auth_names] || []
|
85
85
|
|
86
86
|
new_options = opts.merge(
|
87
|
+
:operation => :"PulpMavenApi.get",
|
87
88
|
:header_params => header_params,
|
88
89
|
:query_params => query_params,
|
89
90
|
:form_params => form_params,
|
@@ -149,15 +150,16 @@ module PulpMavenClient
|
|
149
150
|
form_params = opts[:form_params] || {}
|
150
151
|
|
151
152
|
# http body (model)
|
152
|
-
post_body = opts[:
|
153
|
+
post_body = opts[:debug_body]
|
153
154
|
|
154
155
|
# return_type
|
155
|
-
return_type = opts[:
|
156
|
+
return_type = opts[:debug_return_type]
|
156
157
|
|
157
158
|
# auth_names
|
158
|
-
auth_names = opts[:
|
159
|
+
auth_names = opts[:debug_auth_names] || []
|
159
160
|
|
160
161
|
new_options = opts.merge(
|
162
|
+
:operation => :"PulpMavenApi.put",
|
161
163
|
:header_params => header_params,
|
162
164
|
:query_params => query_params,
|
163
165
|
:form_params => form_params,
|