pulp_maven_client 0.8.0 → 0.8.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 +5 -5
- data/docs/ContentArtifactApi.md +13 -9
- data/docs/DistributionsMavenApi.md +5 -3
- data/docs/MavenMavenArtifactResponse.md +4 -0
- data/docs/MavenMavenDistributionResponse.md +6 -0
- data/docs/MavenMavenRemoteResponse.md +4 -2
- data/docs/MavenMavenRemoteResponseHiddenFields.md +2 -2
- data/docs/MavenMavenRepositoryResponse.md +4 -0
- data/docs/PaginatedRepositoryVersionResponseList.md +2 -2
- data/docs/PaginatedmavenMavenArtifactResponseList.md +2 -2
- data/docs/PaginatedmavenMavenDistributionResponseList.md +2 -2
- data/docs/PaginatedmavenMavenRemoteResponseList.md +2 -2
- data/docs/PaginatedmavenMavenRepositoryResponseList.md +2 -2
- data/docs/PulpMavenApi.md +1 -1
- data/docs/RemotesMavenApi.md +5 -3
- data/docs/RepositoriesMavenApi.md +9 -7
- data/docs/RepositoriesMavenVersionsApi.md +9 -7
- data/docs/RepositoryVersionResponse.md +4 -0
- data/lib/pulp_maven_client/api/content_artifact_api.rb +14 -8
- data/lib/pulp_maven_client/api/distributions_maven_api.rb +5 -2
- data/lib/pulp_maven_client/api/remotes_maven_api.rb +5 -2
- data/lib/pulp_maven_client/api/repositories_maven_api.rb +9 -6
- data/lib/pulp_maven_client/api/repositories_maven_versions_api.rb +10 -7
- data/lib/pulp_maven_client/configuration.rb +2 -2
- data/lib/pulp_maven_client/models/maven_maven_artifact_response.rb +21 -1
- data/lib/pulp_maven_client/models/maven_maven_distribution_response.rb +31 -1
- data/lib/pulp_maven_client/models/maven_maven_remote_response.rb +21 -11
- data/lib/pulp_maven_client/models/maven_maven_remote_response_hidden_fields.rb +10 -0
- data/lib/pulp_maven_client/models/maven_maven_repository_response.rb +21 -1
- data/lib/pulp_maven_client/models/paginated_repository_version_response_list.rb +10 -0
- data/lib/pulp_maven_client/models/paginatedmaven_maven_artifact_response_list.rb +10 -0
- data/lib/pulp_maven_client/models/paginatedmaven_maven_distribution_response_list.rb +10 -0
- data/lib/pulp_maven_client/models/paginatedmaven_maven_remote_response_list.rb +10 -0
- data/lib/pulp_maven_client/models/paginatedmaven_maven_repository_response_list.rb +10 -0
- data/lib/pulp_maven_client/models/repository_version_response.rb +22 -2
- data/lib/pulp_maven_client/version.rb +1 -1
- data/spec/api/content_artifact_api_spec.rb +6 -4
- data/spec/api/distributions_maven_api_spec.rb +2 -1
- data/spec/api/remotes_maven_api_spec.rb +2 -1
- data/spec/api/repositories_maven_api_spec.rb +4 -3
- data/spec/api/repositories_maven_versions_api_spec.rb +4 -3
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/maven_maven_artifact_response_spec.rb +12 -0
- data/spec/models/maven_maven_distribution_response_spec.rb +18 -0
- data/spec/models/maven_maven_remote_response_spec.rb +12 -6
- data/spec/models/maven_maven_repository_response_spec.rb +12 -0
- data/spec/models/repository_version_response_spec.rb +12 -0
- metadata +37 -37
@@ -164,10 +164,11 @@ module PulpMavenClient
|
|
164
164
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
165
165
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
166
166
|
# @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)
|
167
|
+
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
167
168
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
168
169
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
169
170
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
170
|
-
# @option opts [String] :q
|
171
|
+
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
171
172
|
# @option opts [String] :repository Filter results where repository matches value
|
172
173
|
# @option opts [Array<String>] :repository__in Filter results where repository is in a comma-separated list of values
|
173
174
|
# @option opts [String] :with_content Filter distributions based on the content served by them
|
@@ -198,10 +199,11 @@ module PulpMavenClient
|
|
198
199
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
199
200
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
200
201
|
# @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)
|
202
|
+
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
201
203
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
202
204
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
203
205
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
204
|
-
# @option opts [String] :q
|
206
|
+
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
205
207
|
# @option opts [String] :repository Filter results where repository matches value
|
206
208
|
# @option opts [Array<String>] :repository__in Filter results where repository is in a comma-separated list of values
|
207
209
|
# @option opts [String] :with_content Filter distributions based on the content served by them
|
@@ -237,6 +239,7 @@ module PulpMavenClient
|
|
237
239
|
query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
|
238
240
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
239
241
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
242
|
+
query_params[:'prn__in'] = @api_client.build_collection_param(opts[:'prn__in'], :csv) if !opts[:'prn__in'].nil?
|
240
243
|
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
241
244
|
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
242
245
|
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
@@ -160,6 +160,7 @@ module PulpMavenClient
|
|
160
160
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
161
161
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
162
162
|
# @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)
|
163
|
+
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
163
164
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
164
165
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
165
166
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
@@ -169,7 +170,7 @@ module PulpMavenClient
|
|
169
170
|
# @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
|
170
171
|
# @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
|
171
172
|
# @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
|
173
|
+
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
173
174
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
174
175
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
175
176
|
# @return [PaginatedmavenMavenRemoteResponseList]
|
@@ -193,6 +194,7 @@ module PulpMavenClient
|
|
193
194
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
194
195
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
195
196
|
# @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)
|
197
|
+
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
196
198
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
197
199
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
198
200
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
@@ -202,7 +204,7 @@ module PulpMavenClient
|
|
202
204
|
# @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
|
203
205
|
# @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
|
204
206
|
# @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 [String] :q Filter results by using NOT, AND and OR operations on other filters
|
206
208
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
207
209
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
208
210
|
# @return [Array<(PaginatedmavenMavenRemoteResponseList, Integer, Hash)>] PaginatedmavenMavenRemoteResponseList data, response status code and response headers
|
@@ -231,6 +233,7 @@ module PulpMavenClient
|
|
231
233
|
query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
|
232
234
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
233
235
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
236
|
+
query_params[:'prn__in'] = @api_client.build_collection_param(opts[:'prn__in'], :csv) if !opts[:'prn__in'].nil?
|
234
237
|
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
235
238
|
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
236
239
|
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
@@ -218,7 +218,7 @@ module PulpMavenClient
|
|
218
218
|
# List maven repositorys
|
219
219
|
# A ViewSet for MavenRemote.
|
220
220
|
# @param [Hash] opts the optional parameters
|
221
|
-
# @option opts [String] :latest_with_content Content Unit referenced by HREF
|
221
|
+
# @option opts [String] :latest_with_content Content Unit referenced by HREF/PRN
|
222
222
|
# @option opts [Integer] :limit Number of results to return per page.
|
223
223
|
# @option opts [String] :name Filter results where name matches value
|
224
224
|
# @option opts [String] :name__contains Filter results where name contains value
|
@@ -231,10 +231,11 @@ module PulpMavenClient
|
|
231
231
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
232
232
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
233
233
|
# @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) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
234
|
+
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
234
235
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
235
236
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
236
237
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
237
|
-
# @option opts [String] :q
|
238
|
+
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
238
239
|
# @option opts [String] :remote Foreign Key referenced by HREF
|
239
240
|
# @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
|
240
241
|
# @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
|
@@ -244,7 +245,7 @@ module PulpMavenClient
|
|
244
245
|
# @option opts [Integer] :retain_repo_versions__lte Filter results where retain_repo_versions is less than or equal to value
|
245
246
|
# @option opts [Integer] :retain_repo_versions__ne Filter results where retain_repo_versions not equal to value
|
246
247
|
# @option opts [Array<Integer>] :retain_repo_versions__range Filter results where retain_repo_versions is between two comma separated values
|
247
|
-
# @option opts [String] :with_content Content Unit referenced by HREF
|
248
|
+
# @option opts [String] :with_content Content Unit referenced by HREF/PRN
|
248
249
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
249
250
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
250
251
|
# @return [PaginatedmavenMavenRepositoryResponseList]
|
@@ -256,7 +257,7 @@ module PulpMavenClient
|
|
256
257
|
# List maven repositorys
|
257
258
|
# A ViewSet for MavenRemote.
|
258
259
|
# @param [Hash] opts the optional parameters
|
259
|
-
# @option opts [String] :latest_with_content Content Unit referenced by HREF
|
260
|
+
# @option opts [String] :latest_with_content Content Unit referenced by HREF/PRN
|
260
261
|
# @option opts [Integer] :limit Number of results to return per page.
|
261
262
|
# @option opts [String] :name Filter results where name matches value
|
262
263
|
# @option opts [String] :name__contains Filter results where name contains value
|
@@ -269,10 +270,11 @@ module PulpMavenClient
|
|
269
270
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
270
271
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
271
272
|
# @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) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
273
|
+
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
272
274
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
273
275
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
274
276
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
275
|
-
# @option opts [String] :q
|
277
|
+
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
276
278
|
# @option opts [String] :remote Foreign Key referenced by HREF
|
277
279
|
# @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
|
278
280
|
# @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
|
@@ -282,7 +284,7 @@ module PulpMavenClient
|
|
282
284
|
# @option opts [Integer] :retain_repo_versions__lte Filter results where retain_repo_versions is less than or equal to value
|
283
285
|
# @option opts [Integer] :retain_repo_versions__ne Filter results where retain_repo_versions not equal to value
|
284
286
|
# @option opts [Array<Integer>] :retain_repo_versions__range Filter results where retain_repo_versions is between two comma separated values
|
285
|
-
# @option opts [String] :with_content Content Unit referenced by HREF
|
287
|
+
# @option opts [String] :with_content Content Unit referenced by HREF/PRN
|
286
288
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
287
289
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
288
290
|
# @return [Array<(PaginatedmavenMavenRepositoryResponseList, Integer, Hash)>] PaginatedmavenMavenRepositoryResponseList data, response status code and response headers
|
@@ -312,6 +314,7 @@ module PulpMavenClient
|
|
312
314
|
query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
|
313
315
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
314
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?
|
315
318
|
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
316
319
|
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
317
320
|
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
@@ -85,8 +85,8 @@ module PulpMavenClient
|
|
85
85
|
# MavenRepositoryVersion represents a single Maven repository version.
|
86
86
|
# @param maven_maven_repository_href [String]
|
87
87
|
# @param [Hash] opts the optional parameters
|
88
|
-
# @option opts [String] :content Content Unit referenced by HREF
|
89
|
-
# @option opts [String] :content__in
|
88
|
+
# @option opts [String] :content Content Unit referenced by HREF/PRN
|
89
|
+
# @option opts [Array<String>] :content__in Multiple values may be separated by commas.
|
90
90
|
# @option opts [Integer] :limit Number of results to return per page.
|
91
91
|
# @option opts [Integer] :number Filter results where number matches value
|
92
92
|
# @option opts [Integer] :number__gt Filter results where number is greater than value
|
@@ -96,6 +96,7 @@ module PulpMavenClient
|
|
96
96
|
# @option opts [Array<Integer>] :number__range Filter results where number is between two comma separated values
|
97
97
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
98
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) * `number` - Number * `-number` - Number (descending) * `complete` - Complete * `-complete` - Complete (descending) * `info` - Info * `-info` - Info (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
99
|
+
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
99
100
|
# @option opts [DateTime] :pulp_created Filter results where pulp_created matches value
|
100
101
|
# @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
|
101
102
|
# @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
@@ -103,7 +104,7 @@ module PulpMavenClient
|
|
103
104
|
# @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
|
104
105
|
# @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
105
106
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
106
|
-
# @option opts [String] :q
|
107
|
+
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
107
108
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
108
109
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
109
110
|
# @return [PaginatedRepositoryVersionResponseList]
|
@@ -116,8 +117,8 @@ module PulpMavenClient
|
|
116
117
|
# MavenRepositoryVersion represents a single Maven repository version.
|
117
118
|
# @param maven_maven_repository_href [String]
|
118
119
|
# @param [Hash] opts the optional parameters
|
119
|
-
# @option opts [String] :content Content Unit referenced by HREF
|
120
|
-
# @option opts [String] :content__in
|
120
|
+
# @option opts [String] :content Content Unit referenced by HREF/PRN
|
121
|
+
# @option opts [Array<String>] :content__in Multiple values may be separated by commas.
|
121
122
|
# @option opts [Integer] :limit Number of results to return per page.
|
122
123
|
# @option opts [Integer] :number Filter results where number matches value
|
123
124
|
# @option opts [Integer] :number__gt Filter results where number is greater than value
|
@@ -127,6 +128,7 @@ module PulpMavenClient
|
|
127
128
|
# @option opts [Array<Integer>] :number__range Filter results where number is between two comma separated values
|
128
129
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
129
130
|
# @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) * `number` - Number * `-number` - Number (descending) * `complete` - Complete * `-complete` - Complete (descending) * `info` - Info * `-info` - Info (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
131
|
+
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
130
132
|
# @option opts [DateTime] :pulp_created Filter results where pulp_created matches value
|
131
133
|
# @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
|
132
134
|
# @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
@@ -134,7 +136,7 @@ module PulpMavenClient
|
|
134
136
|
# @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
|
135
137
|
# @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
136
138
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
137
|
-
# @option opts [String] :q
|
139
|
+
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
138
140
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
139
141
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
140
142
|
# @return [Array<(PaginatedRepositoryVersionResponseList, Integer, Hash)>] PaginatedRepositoryVersionResponseList data, response status code and response headers
|
@@ -156,7 +158,7 @@ module PulpMavenClient
|
|
156
158
|
# query parameters
|
157
159
|
query_params = opts[:query_params] || {}
|
158
160
|
query_params[:'content'] = opts[:'content'] if !opts[:'content'].nil?
|
159
|
-
query_params[:'content__in'] = opts[:'content__in'] if !opts[:'content__in'].nil?
|
161
|
+
query_params[:'content__in'] = @api_client.build_collection_param(opts[:'content__in'], :csv) if !opts[:'content__in'].nil?
|
160
162
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
161
163
|
query_params[:'number'] = opts[:'number'] if !opts[:'number'].nil?
|
162
164
|
query_params[:'number__gt'] = opts[:'number__gt'] if !opts[:'number__gt'].nil?
|
@@ -166,6 +168,7 @@ module PulpMavenClient
|
|
166
168
|
query_params[:'number__range'] = @api_client.build_collection_param(opts[:'number__range'], :csv) if !opts[:'number__range'].nil?
|
167
169
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
168
170
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
171
|
+
query_params[:'prn__in'] = @api_client.build_collection_param(opts[:'prn__in'], :csv) if !opts[:'prn__in'].nil?
|
169
172
|
query_params[:'pulp_created'] = opts[:'pulp_created'] if !opts[:'pulp_created'].nil?
|
170
173
|
query_params[:'pulp_created__gt'] = opts[:'pulp_created__gt'] if !opts[:'pulp_created__gt'].nil?
|
171
174
|
query_params[:'pulp_created__gte'] = opts[:'pulp_created__gte'] if !opts[:'pulp_created__gte'].nil?
|
@@ -128,7 +128,7 @@ module PulpMavenClient
|
|
128
128
|
|
129
129
|
def initialize
|
130
130
|
@scheme = 'http'
|
131
|
-
@host = '
|
131
|
+
@host = 'localhost'
|
132
132
|
@base_path = ''
|
133
133
|
@api_key = {}
|
134
134
|
@api_key_prefix = {}
|
@@ -210,7 +210,7 @@ module PulpMavenClient
|
|
210
210
|
def server_settings
|
211
211
|
[
|
212
212
|
{
|
213
|
-
url: "http://
|
213
|
+
url: "http://localhost:24817/",
|
214
214
|
description: "No description provided",
|
215
215
|
}
|
216
216
|
]
|
@@ -17,9 +17,15 @@ module PulpMavenClient
|
|
17
17
|
class MavenMavenArtifactResponse
|
18
18
|
attr_accessor :pulp_href
|
19
19
|
|
20
|
+
# The Pulp Resource Name (PRN).
|
21
|
+
attr_accessor :prn
|
22
|
+
|
20
23
|
# Timestamp of creation.
|
21
24
|
attr_accessor :pulp_created
|
22
25
|
|
26
|
+
# Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same.
|
27
|
+
attr_accessor :pulp_last_updated
|
28
|
+
|
23
29
|
# Artifact file representing the physical content
|
24
30
|
attr_accessor :artifact
|
25
31
|
|
@@ -39,7 +45,9 @@ module PulpMavenClient
|
|
39
45
|
def self.attribute_map
|
40
46
|
{
|
41
47
|
:'pulp_href' => :'pulp_href',
|
48
|
+
:'prn' => :'prn',
|
42
49
|
:'pulp_created' => :'pulp_created',
|
50
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
43
51
|
:'artifact' => :'artifact',
|
44
52
|
:'group_id' => :'group_id',
|
45
53
|
:'artifact_id' => :'artifact_id',
|
@@ -52,7 +60,9 @@ module PulpMavenClient
|
|
52
60
|
def self.openapi_types
|
53
61
|
{
|
54
62
|
:'pulp_href' => :'String',
|
63
|
+
:'prn' => :'String',
|
55
64
|
:'pulp_created' => :'DateTime',
|
65
|
+
:'pulp_last_updated' => :'DateTime',
|
56
66
|
:'artifact' => :'String',
|
57
67
|
:'group_id' => :'String',
|
58
68
|
:'artifact_id' => :'String',
|
@@ -86,10 +96,18 @@ module PulpMavenClient
|
|
86
96
|
self.pulp_href = attributes[:'pulp_href']
|
87
97
|
end
|
88
98
|
|
99
|
+
if attributes.key?(:'prn')
|
100
|
+
self.prn = attributes[:'prn']
|
101
|
+
end
|
102
|
+
|
89
103
|
if attributes.key?(:'pulp_created')
|
90
104
|
self.pulp_created = attributes[:'pulp_created']
|
91
105
|
end
|
92
106
|
|
107
|
+
if attributes.key?(:'pulp_last_updated')
|
108
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
109
|
+
end
|
110
|
+
|
93
111
|
if attributes.key?(:'artifact')
|
94
112
|
self.artifact = attributes[:'artifact']
|
95
113
|
end
|
@@ -135,7 +153,9 @@ module PulpMavenClient
|
|
135
153
|
return true if self.equal?(o)
|
136
154
|
self.class == o.class &&
|
137
155
|
pulp_href == o.pulp_href &&
|
156
|
+
prn == o.prn &&
|
138
157
|
pulp_created == o.pulp_created &&
|
158
|
+
pulp_last_updated == o.pulp_last_updated &&
|
139
159
|
artifact == o.artifact &&
|
140
160
|
group_id == o.group_id &&
|
141
161
|
artifact_id == o.artifact_id &&
|
@@ -152,7 +172,7 @@ module PulpMavenClient
|
|
152
172
|
# Calculates hash code according to all attributes.
|
153
173
|
# @return [Integer] Hash code
|
154
174
|
def hash
|
155
|
-
[pulp_href, pulp_created, artifact, group_id, artifact_id, version, filename].hash
|
175
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, artifact, group_id, artifact_id, version, filename].hash
|
156
176
|
end
|
157
177
|
|
158
178
|
# Builds the object from hash
|
@@ -17,9 +17,15 @@ module PulpMavenClient
|
|
17
17
|
class MavenMavenDistributionResponse
|
18
18
|
attr_accessor :pulp_href
|
19
19
|
|
20
|
+
# The Pulp Resource Name (PRN).
|
21
|
+
attr_accessor :prn
|
22
|
+
|
20
23
|
# Timestamp of creation.
|
21
24
|
attr_accessor :pulp_created
|
22
25
|
|
26
|
+
# Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same.
|
27
|
+
attr_accessor :pulp_last_updated
|
28
|
+
|
23
29
|
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
24
30
|
attr_accessor :base_path
|
25
31
|
|
@@ -29,6 +35,9 @@ module PulpMavenClient
|
|
29
35
|
# An optional content-guard.
|
30
36
|
attr_accessor :content_guard
|
31
37
|
|
38
|
+
# Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.
|
39
|
+
attr_accessor :no_content_change_since
|
40
|
+
|
32
41
|
# Whether this distribution should be shown in the content app.
|
33
42
|
attr_accessor :hidden
|
34
43
|
|
@@ -47,10 +56,13 @@ module PulpMavenClient
|
|
47
56
|
def self.attribute_map
|
48
57
|
{
|
49
58
|
:'pulp_href' => :'pulp_href',
|
59
|
+
:'prn' => :'prn',
|
50
60
|
:'pulp_created' => :'pulp_created',
|
61
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
51
62
|
:'base_path' => :'base_path',
|
52
63
|
:'base_url' => :'base_url',
|
53
64
|
:'content_guard' => :'content_guard',
|
65
|
+
:'no_content_change_since' => :'no_content_change_since',
|
54
66
|
:'hidden' => :'hidden',
|
55
67
|
:'pulp_labels' => :'pulp_labels',
|
56
68
|
:'name' => :'name',
|
@@ -63,10 +75,13 @@ module PulpMavenClient
|
|
63
75
|
def self.openapi_types
|
64
76
|
{
|
65
77
|
:'pulp_href' => :'String',
|
78
|
+
:'prn' => :'String',
|
66
79
|
:'pulp_created' => :'DateTime',
|
80
|
+
:'pulp_last_updated' => :'DateTime',
|
67
81
|
:'base_path' => :'String',
|
68
82
|
:'base_url' => :'String',
|
69
83
|
:'content_guard' => :'String',
|
84
|
+
:'no_content_change_since' => :'String',
|
70
85
|
:'hidden' => :'Boolean',
|
71
86
|
:'pulp_labels' => :'Hash<String, String>',
|
72
87
|
:'name' => :'String',
|
@@ -103,10 +118,18 @@ module PulpMavenClient
|
|
103
118
|
self.pulp_href = attributes[:'pulp_href']
|
104
119
|
end
|
105
120
|
|
121
|
+
if attributes.key?(:'prn')
|
122
|
+
self.prn = attributes[:'prn']
|
123
|
+
end
|
124
|
+
|
106
125
|
if attributes.key?(:'pulp_created')
|
107
126
|
self.pulp_created = attributes[:'pulp_created']
|
108
127
|
end
|
109
128
|
|
129
|
+
if attributes.key?(:'pulp_last_updated')
|
130
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
131
|
+
end
|
132
|
+
|
110
133
|
if attributes.key?(:'base_path')
|
111
134
|
self.base_path = attributes[:'base_path']
|
112
135
|
end
|
@@ -119,6 +142,10 @@ module PulpMavenClient
|
|
119
142
|
self.content_guard = attributes[:'content_guard']
|
120
143
|
end
|
121
144
|
|
145
|
+
if attributes.key?(:'no_content_change_since')
|
146
|
+
self.no_content_change_since = attributes[:'no_content_change_since']
|
147
|
+
end
|
148
|
+
|
122
149
|
if attributes.key?(:'hidden')
|
123
150
|
self.hidden = attributes[:'hidden']
|
124
151
|
else
|
@@ -173,10 +200,13 @@ module PulpMavenClient
|
|
173
200
|
return true if self.equal?(o)
|
174
201
|
self.class == o.class &&
|
175
202
|
pulp_href == o.pulp_href &&
|
203
|
+
prn == o.prn &&
|
176
204
|
pulp_created == o.pulp_created &&
|
205
|
+
pulp_last_updated == o.pulp_last_updated &&
|
177
206
|
base_path == o.base_path &&
|
178
207
|
base_url == o.base_url &&
|
179
208
|
content_guard == o.content_guard &&
|
209
|
+
no_content_change_since == o.no_content_change_since &&
|
180
210
|
hidden == o.hidden &&
|
181
211
|
pulp_labels == o.pulp_labels &&
|
182
212
|
name == o.name &&
|
@@ -193,7 +223,7 @@ module PulpMavenClient
|
|
193
223
|
# Calculates hash code according to all attributes.
|
194
224
|
# @return [Integer] Hash code
|
195
225
|
def hash
|
196
|
-
[pulp_href, pulp_created, base_path, base_url, content_guard, hidden, pulp_labels, name, repository, remote].hash
|
226
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, base_path, base_url, content_guard, no_content_change_since, hidden, pulp_labels, name, repository, remote].hash
|
197
227
|
end
|
198
228
|
|
199
229
|
# Builds the object from hash
|
@@ -17,9 +17,15 @@ module PulpMavenClient
|
|
17
17
|
class MavenMavenRemoteResponse
|
18
18
|
attr_accessor :pulp_href
|
19
19
|
|
20
|
+
# The Pulp Resource Name (PRN).
|
21
|
+
attr_accessor :prn
|
22
|
+
|
20
23
|
# Timestamp of creation.
|
21
24
|
attr_accessor :pulp_created
|
22
25
|
|
26
|
+
# Timestamp of the most recent update of the remote.
|
27
|
+
attr_accessor :pulp_last_updated
|
28
|
+
|
23
29
|
# A unique name for this remote.
|
24
30
|
attr_accessor :name
|
25
31
|
|
@@ -40,9 +46,6 @@ module PulpMavenClient
|
|
40
46
|
|
41
47
|
attr_accessor :pulp_labels
|
42
48
|
|
43
|
-
# Timestamp of the most recent update of the remote.
|
44
|
-
attr_accessor :pulp_last_updated
|
45
|
-
|
46
49
|
# Total number of simultaneous connections. If not set then the default value will be used.
|
47
50
|
attr_accessor :download_concurrency
|
48
51
|
|
@@ -77,7 +80,9 @@ module PulpMavenClient
|
|
77
80
|
def self.attribute_map
|
78
81
|
{
|
79
82
|
:'pulp_href' => :'pulp_href',
|
83
|
+
:'prn' => :'prn',
|
80
84
|
:'pulp_created' => :'pulp_created',
|
85
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
81
86
|
:'name' => :'name',
|
82
87
|
:'url' => :'url',
|
83
88
|
:'ca_cert' => :'ca_cert',
|
@@ -85,7 +90,6 @@ module PulpMavenClient
|
|
85
90
|
:'tls_validation' => :'tls_validation',
|
86
91
|
:'proxy_url' => :'proxy_url',
|
87
92
|
:'pulp_labels' => :'pulp_labels',
|
88
|
-
:'pulp_last_updated' => :'pulp_last_updated',
|
89
93
|
:'download_concurrency' => :'download_concurrency',
|
90
94
|
:'max_retries' => :'max_retries',
|
91
95
|
:'policy' => :'policy',
|
@@ -103,7 +107,9 @@ module PulpMavenClient
|
|
103
107
|
def self.openapi_types
|
104
108
|
{
|
105
109
|
:'pulp_href' => :'String',
|
110
|
+
:'prn' => :'String',
|
106
111
|
:'pulp_created' => :'DateTime',
|
112
|
+
:'pulp_last_updated' => :'DateTime',
|
107
113
|
:'name' => :'String',
|
108
114
|
:'url' => :'String',
|
109
115
|
:'ca_cert' => :'String',
|
@@ -111,7 +117,6 @@ module PulpMavenClient
|
|
111
117
|
:'tls_validation' => :'Boolean',
|
112
118
|
:'proxy_url' => :'String',
|
113
119
|
:'pulp_labels' => :'Hash<String, String>',
|
114
|
-
:'pulp_last_updated' => :'DateTime',
|
115
120
|
:'download_concurrency' => :'Integer',
|
116
121
|
:'max_retries' => :'Integer',
|
117
122
|
:'policy' => :'PolicyEnum',
|
@@ -160,10 +165,18 @@ module PulpMavenClient
|
|
160
165
|
self.pulp_href = attributes[:'pulp_href']
|
161
166
|
end
|
162
167
|
|
168
|
+
if attributes.key?(:'prn')
|
169
|
+
self.prn = attributes[:'prn']
|
170
|
+
end
|
171
|
+
|
163
172
|
if attributes.key?(:'pulp_created')
|
164
173
|
self.pulp_created = attributes[:'pulp_created']
|
165
174
|
end
|
166
175
|
|
176
|
+
if attributes.key?(:'pulp_last_updated')
|
177
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
178
|
+
end
|
179
|
+
|
167
180
|
if attributes.key?(:'name')
|
168
181
|
self.name = attributes[:'name']
|
169
182
|
end
|
@@ -194,10 +207,6 @@ module PulpMavenClient
|
|
194
207
|
end
|
195
208
|
end
|
196
209
|
|
197
|
-
if attributes.key?(:'pulp_last_updated')
|
198
|
-
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
199
|
-
end
|
200
|
-
|
201
210
|
if attributes.key?(:'download_concurrency')
|
202
211
|
self.download_concurrency = attributes[:'download_concurrency']
|
203
212
|
end
|
@@ -347,7 +356,9 @@ module PulpMavenClient
|
|
347
356
|
return true if self.equal?(o)
|
348
357
|
self.class == o.class &&
|
349
358
|
pulp_href == o.pulp_href &&
|
359
|
+
prn == o.prn &&
|
350
360
|
pulp_created == o.pulp_created &&
|
361
|
+
pulp_last_updated == o.pulp_last_updated &&
|
351
362
|
name == o.name &&
|
352
363
|
url == o.url &&
|
353
364
|
ca_cert == o.ca_cert &&
|
@@ -355,7 +366,6 @@ module PulpMavenClient
|
|
355
366
|
tls_validation == o.tls_validation &&
|
356
367
|
proxy_url == o.proxy_url &&
|
357
368
|
pulp_labels == o.pulp_labels &&
|
358
|
-
pulp_last_updated == o.pulp_last_updated &&
|
359
369
|
download_concurrency == o.download_concurrency &&
|
360
370
|
max_retries == o.max_retries &&
|
361
371
|
policy == o.policy &&
|
@@ -377,7 +387,7 @@ module PulpMavenClient
|
|
377
387
|
# Calculates hash code according to all attributes.
|
378
388
|
# @return [Integer] Hash code
|
379
389
|
def hash
|
380
|
-
[pulp_href, pulp_created, name, url, ca_cert, client_cert, tls_validation, proxy_url, pulp_labels,
|
390
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, name, url, ca_cert, client_cert, tls_validation, proxy_url, pulp_labels, download_concurrency, max_retries, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, headers, rate_limit, hidden_fields].hash
|
381
391
|
end
|
382
392
|
|
383
393
|
# Builds the object from hash
|
@@ -68,12 +68,22 @@ module PulpMavenClient
|
|
68
68
|
# @return Array for valid properties with the reasons
|
69
69
|
def list_invalid_properties
|
70
70
|
invalid_properties = Array.new
|
71
|
+
if @name.nil?
|
72
|
+
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
73
|
+
end
|
74
|
+
|
75
|
+
if @is_set.nil?
|
76
|
+
invalid_properties.push('invalid value for "is_set", is_set cannot be nil.')
|
77
|
+
end
|
78
|
+
|
71
79
|
invalid_properties
|
72
80
|
end
|
73
81
|
|
74
82
|
# Check to see if the all the properties in the model are valid
|
75
83
|
# @return true if the model is valid
|
76
84
|
def valid?
|
85
|
+
return false if @name.nil?
|
86
|
+
return false if @is_set.nil?
|
77
87
|
true
|
78
88
|
end
|
79
89
|
|
@@ -17,9 +17,15 @@ module PulpMavenClient
|
|
17
17
|
class MavenMavenRepositoryResponse
|
18
18
|
attr_accessor :pulp_href
|
19
19
|
|
20
|
+
# The Pulp Resource Name (PRN).
|
21
|
+
attr_accessor :prn
|
22
|
+
|
20
23
|
# Timestamp of creation.
|
21
24
|
attr_accessor :pulp_created
|
22
25
|
|
26
|
+
# Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same.
|
27
|
+
attr_accessor :pulp_last_updated
|
28
|
+
|
23
29
|
attr_accessor :versions_href
|
24
30
|
|
25
31
|
attr_accessor :pulp_labels
|
@@ -42,7 +48,9 @@ module PulpMavenClient
|
|
42
48
|
def self.attribute_map
|
43
49
|
{
|
44
50
|
:'pulp_href' => :'pulp_href',
|
51
|
+
:'prn' => :'prn',
|
45
52
|
:'pulp_created' => :'pulp_created',
|
53
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
46
54
|
:'versions_href' => :'versions_href',
|
47
55
|
:'pulp_labels' => :'pulp_labels',
|
48
56
|
:'latest_version_href' => :'latest_version_href',
|
@@ -57,7 +65,9 @@ module PulpMavenClient
|
|
57
65
|
def self.openapi_types
|
58
66
|
{
|
59
67
|
:'pulp_href' => :'String',
|
68
|
+
:'prn' => :'String',
|
60
69
|
:'pulp_created' => :'DateTime',
|
70
|
+
:'pulp_last_updated' => :'DateTime',
|
61
71
|
:'versions_href' => :'String',
|
62
72
|
:'pulp_labels' => :'Hash<String, String>',
|
63
73
|
:'latest_version_href' => :'String',
|
@@ -96,10 +106,18 @@ module PulpMavenClient
|
|
96
106
|
self.pulp_href = attributes[:'pulp_href']
|
97
107
|
end
|
98
108
|
|
109
|
+
if attributes.key?(:'prn')
|
110
|
+
self.prn = attributes[:'prn']
|
111
|
+
end
|
112
|
+
|
99
113
|
if attributes.key?(:'pulp_created')
|
100
114
|
self.pulp_created = attributes[:'pulp_created']
|
101
115
|
end
|
102
116
|
|
117
|
+
if attributes.key?(:'pulp_last_updated')
|
118
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
119
|
+
end
|
120
|
+
|
103
121
|
if attributes.key?(:'versions_href')
|
104
122
|
self.versions_href = attributes[:'versions_href']
|
105
123
|
end
|
@@ -170,7 +188,9 @@ module PulpMavenClient
|
|
170
188
|
return true if self.equal?(o)
|
171
189
|
self.class == o.class &&
|
172
190
|
pulp_href == o.pulp_href &&
|
191
|
+
prn == o.prn &&
|
173
192
|
pulp_created == o.pulp_created &&
|
193
|
+
pulp_last_updated == o.pulp_last_updated &&
|
174
194
|
versions_href == o.versions_href &&
|
175
195
|
pulp_labels == o.pulp_labels &&
|
176
196
|
latest_version_href == o.latest_version_href &&
|
@@ -189,7 +209,7 @@ module PulpMavenClient
|
|
189
209
|
# Calculates hash code according to all attributes.
|
190
210
|
# @return [Integer] Hash code
|
191
211
|
def hash
|
192
|
-
[pulp_href, pulp_created, versions_href, pulp_labels, latest_version_href, name, description, retain_repo_versions, remote].hash
|
212
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, versions_href, pulp_labels, latest_version_href, name, description, retain_repo_versions, remote].hash
|
193
213
|
end
|
194
214
|
|
195
215
|
# Builds the object from hash
|