pulp_python_client 3.12.3 → 3.12.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (43) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +4 -4
  3. data/docs/ContentPackagesApi.md +10 -8
  4. data/docs/DistributionsPypiApi.md +4 -2
  5. data/docs/PublicationsPypiApi.md +12 -10
  6. data/docs/PythonPythonDistributionResponse.md +2 -0
  7. data/docs/PythonPythonPackageContentResponse.md +2 -0
  8. data/docs/PythonPythonPublicationResponse.md +2 -0
  9. data/docs/PythonPythonRemoteResponse.md +2 -0
  10. data/docs/PythonPythonRepositoryResponse.md +2 -0
  11. data/docs/RemotesPythonApi.md +4 -2
  12. data/docs/RepositoriesPythonApi.md +8 -6
  13. data/docs/RepositoriesPythonVersionsApi.md +8 -6
  14. data/docs/RepositoryVersionResponse.md +2 -0
  15. data/lib/pulp_python_client/api/content_packages_api.rb +11 -8
  16. data/lib/pulp_python_client/api/distributions_pypi_api.rb +5 -2
  17. data/lib/pulp_python_client/api/publications_pypi_api.rb +14 -11
  18. data/lib/pulp_python_client/api/remotes_python_api.rb +5 -2
  19. data/lib/pulp_python_client/api/repositories_python_api.rb +9 -6
  20. data/lib/pulp_python_client/api/repositories_python_versions_api.rb +10 -7
  21. data/lib/pulp_python_client/models/patchedpython_python_remote.rb +20 -20
  22. data/lib/pulp_python_client/models/python_python_distribution_response.rb +11 -1
  23. data/lib/pulp_python_client/models/python_python_package_content_response.rb +11 -1
  24. data/lib/pulp_python_client/models/python_python_publication_response.rb +11 -1
  25. data/lib/pulp_python_client/models/python_python_remote.rb +20 -20
  26. data/lib/pulp_python_client/models/python_python_remote_response.rb +31 -21
  27. data/lib/pulp_python_client/models/python_python_repository_response.rb +11 -1
  28. data/lib/pulp_python_client/models/repository_add_remove_content.rb +1 -1
  29. data/lib/pulp_python_client/models/repository_version_response.rb +12 -2
  30. data/lib/pulp_python_client/version.rb +1 -1
  31. data/spec/api/content_packages_api_spec.rb +5 -4
  32. data/spec/api/distributions_pypi_api_spec.rb +2 -1
  33. data/spec/api/publications_pypi_api_spec.rb +6 -5
  34. data/spec/api/remotes_python_api_spec.rb +2 -1
  35. data/spec/api/repositories_python_api_spec.rb +4 -3
  36. data/spec/api/repositories_python_versions_api_spec.rb +4 -3
  37. data/spec/models/python_python_distribution_response_spec.rb +6 -0
  38. data/spec/models/python_python_package_content_response_spec.rb +6 -0
  39. data/spec/models/python_python_publication_response_spec.rb +6 -0
  40. data/spec/models/python_python_remote_response_spec.rb +6 -0
  41. data/spec/models/python_python_repository_response_spec.rb +6 -0
  42. data/spec/models/repository_version_response_spec.rb +6 -0
  43. metadata +42 -42
@@ -309,6 +309,7 @@ module PulpPythonClient
309
309
  # @option opts [String] :name__startswith Filter results where name starts with value
310
310
  # @option opts [Integer] :offset The initial index from which to return the results.
311
311
  # @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)
312
+ # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
312
313
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
313
314
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
314
315
  # @option opts [String] :pulp_label_select Filter labels by search string
@@ -318,7 +319,7 @@ module PulpPythonClient
318
319
  # @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
319
320
  # @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
320
321
  # @option opts [Array<DateTime>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
321
- # @option opts [String] :q
322
+ # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
322
323
  # @option opts [Array<String>] :fields A list of fields to include in the response.
323
324
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
324
325
  # @return [PaginatedpythonPythonRemoteResponseList]
@@ -342,6 +343,7 @@ module PulpPythonClient
342
343
  # @option opts [String] :name__startswith Filter results where name starts with value
343
344
  # @option opts [Integer] :offset The initial index from which to return the results.
344
345
  # @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)
346
+ # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
345
347
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
346
348
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
347
349
  # @option opts [String] :pulp_label_select Filter labels by search string
@@ -351,7 +353,7 @@ module PulpPythonClient
351
353
  # @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
352
354
  # @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
353
355
  # @option opts [Array<DateTime>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
354
- # @option opts [String] :q
356
+ # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
355
357
  # @option opts [Array<String>] :fields A list of fields to include in the response.
356
358
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
357
359
  # @return [Array<(PaginatedpythonPythonRemoteResponseList, Integer, Hash)>] PaginatedpythonPythonRemoteResponseList data, response status code and response headers
@@ -380,6 +382,7 @@ module PulpPythonClient
380
382
  query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
381
383
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
382
384
  query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
385
+ query_params[:'prn__in'] = @api_client.build_collection_param(opts[:'prn__in'], :csv) if !opts[:'prn__in'].nil?
383
386
  query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
384
387
  query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
385
388
  query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
@@ -218,7 +218,7 @@ module PulpPythonClient
218
218
  # List python repositorys
219
219
  # PythonRepository represents a single Python repository, to which content can be synced, added, or removed.
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 PulpPythonClient
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 * &#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;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;next_version&#x60; - Next version * &#x60;-next_version&#x60; - Next version (descending) * &#x60;retain_repo_versions&#x60; - Retain repo versions * &#x60;-retain_repo_versions&#x60; - Retain repo versions (descending) * &#x60;user_hidden&#x60; - User hidden * &#x60;-user_hidden&#x60; - User hidden (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - 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 PulpPythonClient
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 [PaginatedpythonPythonRepositoryResponseList]
@@ -256,7 +257,7 @@ module PulpPythonClient
256
257
  # List python repositorys
257
258
  # PythonRepository represents a single Python repository, to which content can be synced, added, or removed.
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 PulpPythonClient
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 * &#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;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;next_version&#x60; - Next version * &#x60;-next_version&#x60; - Next version (descending) * &#x60;retain_repo_versions&#x60; - Retain repo versions * &#x60;-retain_repo_versions&#x60; - Retain repo versions (descending) * &#x60;user_hidden&#x60; - User hidden * &#x60;-user_hidden&#x60; - User hidden (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - 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 PulpPythonClient
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<(PaginatedpythonPythonRepositoryResponseList, Integer, Hash)>] PaginatedpythonPythonRepositoryResponseList data, response status code and response headers
@@ -312,6 +314,7 @@ module PulpPythonClient
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 PulpPythonClient
85
85
  # PythonRepositoryVersion represents a single Python repository version.
86
86
  # @param python_python_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 Content Unit referenced by HREF
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 PulpPythonClient
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 * &#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;number&#x60; - Number * &#x60;-number&#x60; - Number (descending) * &#x60;complete&#x60; - Complete * &#x60;-complete&#x60; - Complete (descending) * &#x60;info&#x60; - Info * &#x60;-info&#x60; - Info (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - 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 PulpPythonClient
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 PulpPythonClient
116
117
  # PythonRepositoryVersion represents a single Python repository version.
117
118
  # @param python_python_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 Content Unit referenced by HREF
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 PulpPythonClient
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 * &#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;number&#x60; - Number * &#x60;-number&#x60; - Number (descending) * &#x60;complete&#x60; - Complete * &#x60;-complete&#x60; - Complete (descending) * &#x60;info&#x60; - Info * &#x60;-info&#x60; - Info (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - 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 PulpPythonClient
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 PulpPythonClient
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 PulpPythonClient
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?
@@ -368,20 +368,20 @@ module PulpPythonClient
368
368
  invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
369
369
  end
370
370
 
371
- if !@total_timeout.nil? && @total_timeout < 0
372
- invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.')
371
+ if !@total_timeout.nil? && @total_timeout < 0.0
372
+ invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
373
373
  end
374
374
 
375
- if !@connect_timeout.nil? && @connect_timeout < 0
376
- invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.')
375
+ if !@connect_timeout.nil? && @connect_timeout < 0.0
376
+ invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.0.')
377
377
  end
378
378
 
379
- if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
380
- invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.')
379
+ if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
380
+ invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.')
381
381
  end
382
382
 
383
- if !@sock_read_timeout.nil? && @sock_read_timeout < 0
384
- invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.')
383
+ if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
384
+ invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.0.')
385
385
  end
386
386
 
387
387
  invalid_properties
@@ -401,10 +401,10 @@ module PulpPythonClient
401
401
  return false if !@username.nil? && @username.to_s.length < 1
402
402
  return false if !@password.nil? && @password.to_s.length < 1
403
403
  return false if !@download_concurrency.nil? && @download_concurrency < 1
404
- return false if !@total_timeout.nil? && @total_timeout < 0
405
- return false if !@connect_timeout.nil? && @connect_timeout < 0
406
- return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
407
- return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0
404
+ return false if !@total_timeout.nil? && @total_timeout < 0.0
405
+ return false if !@connect_timeout.nil? && @connect_timeout < 0.0
406
+ return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
407
+ return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
408
408
  true
409
409
  end
410
410
 
@@ -521,8 +521,8 @@ module PulpPythonClient
521
521
  # Custom attribute writer method with validation
522
522
  # @param [Object] total_timeout Value to be assigned
523
523
  def total_timeout=(total_timeout)
524
- if !total_timeout.nil? && total_timeout < 0
525
- fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.'
524
+ if !total_timeout.nil? && total_timeout < 0.0
525
+ fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.0.'
526
526
  end
527
527
 
528
528
  @total_timeout = total_timeout
@@ -531,8 +531,8 @@ module PulpPythonClient
531
531
  # Custom attribute writer method with validation
532
532
  # @param [Object] connect_timeout Value to be assigned
533
533
  def connect_timeout=(connect_timeout)
534
- if !connect_timeout.nil? && connect_timeout < 0
535
- fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.'
534
+ if !connect_timeout.nil? && connect_timeout < 0.0
535
+ fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.0.'
536
536
  end
537
537
 
538
538
  @connect_timeout = connect_timeout
@@ -541,8 +541,8 @@ module PulpPythonClient
541
541
  # Custom attribute writer method with validation
542
542
  # @param [Object] sock_connect_timeout Value to be assigned
543
543
  def sock_connect_timeout=(sock_connect_timeout)
544
- if !sock_connect_timeout.nil? && sock_connect_timeout < 0
545
- fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.'
544
+ if !sock_connect_timeout.nil? && sock_connect_timeout < 0.0
545
+ fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.'
546
546
  end
547
547
 
548
548
  @sock_connect_timeout = sock_connect_timeout
@@ -551,8 +551,8 @@ module PulpPythonClient
551
551
  # Custom attribute writer method with validation
552
552
  # @param [Object] sock_read_timeout Value to be assigned
553
553
  def sock_read_timeout=(sock_read_timeout)
554
- if !sock_read_timeout.nil? && sock_read_timeout < 0
555
- fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.'
554
+ if !sock_read_timeout.nil? && sock_read_timeout < 0.0
555
+ fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.0.'
556
556
  end
557
557
 
558
558
  @sock_read_timeout = sock_read_timeout
@@ -17,6 +17,9 @@ module PulpPythonClient
17
17
  class PythonPythonDistributionResponse
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
 
@@ -58,6 +61,7 @@ module PulpPythonClient
58
61
  def self.attribute_map
59
62
  {
60
63
  :'pulp_href' => :'pulp_href',
64
+ :'prn' => :'prn',
61
65
  :'pulp_created' => :'pulp_created',
62
66
  :'pulp_last_updated' => :'pulp_last_updated',
63
67
  :'base_path' => :'base_path',
@@ -78,6 +82,7 @@ module PulpPythonClient
78
82
  def self.openapi_types
79
83
  {
80
84
  :'pulp_href' => :'String',
85
+ :'prn' => :'String',
81
86
  :'pulp_created' => :'DateTime',
82
87
  :'pulp_last_updated' => :'DateTime',
83
88
  :'base_path' => :'String',
@@ -123,6 +128,10 @@ module PulpPythonClient
123
128
  self.pulp_href = attributes[:'pulp_href']
124
129
  end
125
130
 
131
+ if attributes.key?(:'prn')
132
+ self.prn = attributes[:'prn']
133
+ end
134
+
126
135
  if attributes.key?(:'pulp_created')
127
136
  self.pulp_created = attributes[:'pulp_created']
128
137
  end
@@ -211,6 +220,7 @@ module PulpPythonClient
211
220
  return true if self.equal?(o)
212
221
  self.class == o.class &&
213
222
  pulp_href == o.pulp_href &&
223
+ prn == o.prn &&
214
224
  pulp_created == o.pulp_created &&
215
225
  pulp_last_updated == o.pulp_last_updated &&
216
226
  base_path == o.base_path &&
@@ -235,7 +245,7 @@ module PulpPythonClient
235
245
  # Calculates hash code according to all attributes.
236
246
  # @return [Integer] Hash code
237
247
  def hash
238
- [pulp_href, pulp_created, pulp_last_updated, base_path, base_url, content_guard, no_content_change_since, hidden, pulp_labels, name, repository, publication, allow_uploads, remote].hash
248
+ [pulp_href, prn, pulp_created, pulp_last_updated, base_path, base_url, content_guard, no_content_change_since, hidden, pulp_labels, name, repository, publication, allow_uploads, remote].hash
239
249
  end
240
250
 
241
251
  # Builds the object from hash
@@ -17,6 +17,9 @@ module PulpPythonClient
17
17
  class PythonPythonPackageContentResponse
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
 
@@ -111,6 +114,7 @@ module PulpPythonClient
111
114
  def self.attribute_map
112
115
  {
113
116
  :'pulp_href' => :'pulp_href',
117
+ :'prn' => :'prn',
114
118
  :'pulp_created' => :'pulp_created',
115
119
  :'pulp_last_updated' => :'pulp_last_updated',
116
120
  :'artifact' => :'artifact',
@@ -148,6 +152,7 @@ module PulpPythonClient
148
152
  def self.openapi_types
149
153
  {
150
154
  :'pulp_href' => :'String',
155
+ :'prn' => :'String',
151
156
  :'pulp_created' => :'DateTime',
152
157
  :'pulp_last_updated' => :'DateTime',
153
158
  :'artifact' => :'String',
@@ -206,6 +211,10 @@ module PulpPythonClient
206
211
  self.pulp_href = attributes[:'pulp_href']
207
212
  end
208
213
 
214
+ if attributes.key?(:'prn')
215
+ self.prn = attributes[:'prn']
216
+ end
217
+
209
218
  if attributes.key?(:'pulp_created')
210
219
  self.pulp_created = attributes[:'pulp_created']
211
220
  end
@@ -348,6 +357,7 @@ module PulpPythonClient
348
357
  return true if self.equal?(o)
349
358
  self.class == o.class &&
350
359
  pulp_href == o.pulp_href &&
360
+ prn == o.prn &&
351
361
  pulp_created == o.pulp_created &&
352
362
  pulp_last_updated == o.pulp_last_updated &&
353
363
  artifact == o.artifact &&
@@ -389,7 +399,7 @@ module PulpPythonClient
389
399
  # Calculates hash code according to all attributes.
390
400
  # @return [Integer] Hash code
391
401
  def hash
392
- [pulp_href, pulp_created, pulp_last_updated, artifact, filename, packagetype, name, version, sha256, metadata_version, summary, description, description_content_type, keywords, home_page, download_url, author, author_email, maintainer, maintainer_email, license, requires_python, project_url, project_urls, platform, supported_platform, requires_dist, provides_dist, obsoletes_dist, requires_external, classifiers].hash
402
+ [pulp_href, prn, pulp_created, pulp_last_updated, artifact, filename, packagetype, name, version, sha256, metadata_version, summary, description, description_content_type, keywords, home_page, download_url, author, author_email, maintainer, maintainer_email, license, requires_python, project_url, project_urls, platform, supported_platform, requires_dist, provides_dist, obsoletes_dist, requires_external, classifiers].hash
393
403
  end
394
404
 
395
405
  # Builds the object from hash
@@ -17,6 +17,9 @@ module PulpPythonClient
17
17
  class PythonPythonPublicationResponse
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
 
@@ -35,6 +38,7 @@ module PulpPythonClient
35
38
  def self.attribute_map
36
39
  {
37
40
  :'pulp_href' => :'pulp_href',
41
+ :'prn' => :'prn',
38
42
  :'pulp_created' => :'pulp_created',
39
43
  :'pulp_last_updated' => :'pulp_last_updated',
40
44
  :'repository_version' => :'repository_version',
@@ -47,6 +51,7 @@ module PulpPythonClient
47
51
  def self.openapi_types
48
52
  {
49
53
  :'pulp_href' => :'String',
54
+ :'prn' => :'String',
50
55
  :'pulp_created' => :'DateTime',
51
56
  :'pulp_last_updated' => :'DateTime',
52
57
  :'repository_version' => :'String',
@@ -80,6 +85,10 @@ module PulpPythonClient
80
85
  self.pulp_href = attributes[:'pulp_href']
81
86
  end
82
87
 
88
+ if attributes.key?(:'prn')
89
+ self.prn = attributes[:'prn']
90
+ end
91
+
83
92
  if attributes.key?(:'pulp_created')
84
93
  self.pulp_created = attributes[:'pulp_created']
85
94
  end
@@ -122,6 +131,7 @@ module PulpPythonClient
122
131
  return true if self.equal?(o)
123
132
  self.class == o.class &&
124
133
  pulp_href == o.pulp_href &&
134
+ prn == o.prn &&
125
135
  pulp_created == o.pulp_created &&
126
136
  pulp_last_updated == o.pulp_last_updated &&
127
137
  repository_version == o.repository_version &&
@@ -138,7 +148,7 @@ module PulpPythonClient
138
148
  # Calculates hash code according to all attributes.
139
149
  # @return [Integer] Hash code
140
150
  def hash
141
- [pulp_href, pulp_created, pulp_last_updated, repository_version, repository, distributions].hash
151
+ [pulp_href, prn, pulp_created, pulp_last_updated, repository_version, repository, distributions].hash
142
152
  end
143
153
 
144
154
  # Builds the object from hash
@@ -376,20 +376,20 @@ module PulpPythonClient
376
376
  invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
377
377
  end
378
378
 
379
- if !@total_timeout.nil? && @total_timeout < 0
380
- invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.')
379
+ if !@total_timeout.nil? && @total_timeout < 0.0
380
+ invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
381
381
  end
382
382
 
383
- if !@connect_timeout.nil? && @connect_timeout < 0
384
- invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.')
383
+ if !@connect_timeout.nil? && @connect_timeout < 0.0
384
+ invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.0.')
385
385
  end
386
386
 
387
- if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
388
- invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.')
387
+ if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
388
+ invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.')
389
389
  end
390
390
 
391
- if !@sock_read_timeout.nil? && @sock_read_timeout < 0
392
- invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.')
391
+ if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
392
+ invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.0.')
393
393
  end
394
394
 
395
395
  invalid_properties
@@ -411,10 +411,10 @@ module PulpPythonClient
411
411
  return false if !@username.nil? && @username.to_s.length < 1
412
412
  return false if !@password.nil? && @password.to_s.length < 1
413
413
  return false if !@download_concurrency.nil? && @download_concurrency < 1
414
- return false if !@total_timeout.nil? && @total_timeout < 0
415
- return false if !@connect_timeout.nil? && @connect_timeout < 0
416
- return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
417
- return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0
414
+ return false if !@total_timeout.nil? && @total_timeout < 0.0
415
+ return false if !@connect_timeout.nil? && @connect_timeout < 0.0
416
+ return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
417
+ return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
418
418
  true
419
419
  end
420
420
 
@@ -539,8 +539,8 @@ module PulpPythonClient
539
539
  # Custom attribute writer method with validation
540
540
  # @param [Object] total_timeout Value to be assigned
541
541
  def total_timeout=(total_timeout)
542
- if !total_timeout.nil? && total_timeout < 0
543
- fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.'
542
+ if !total_timeout.nil? && total_timeout < 0.0
543
+ fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.0.'
544
544
  end
545
545
 
546
546
  @total_timeout = total_timeout
@@ -549,8 +549,8 @@ module PulpPythonClient
549
549
  # Custom attribute writer method with validation
550
550
  # @param [Object] connect_timeout Value to be assigned
551
551
  def connect_timeout=(connect_timeout)
552
- if !connect_timeout.nil? && connect_timeout < 0
553
- fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.'
552
+ if !connect_timeout.nil? && connect_timeout < 0.0
553
+ fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.0.'
554
554
  end
555
555
 
556
556
  @connect_timeout = connect_timeout
@@ -559,8 +559,8 @@ module PulpPythonClient
559
559
  # Custom attribute writer method with validation
560
560
  # @param [Object] sock_connect_timeout Value to be assigned
561
561
  def sock_connect_timeout=(sock_connect_timeout)
562
- if !sock_connect_timeout.nil? && sock_connect_timeout < 0
563
- fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.'
562
+ if !sock_connect_timeout.nil? && sock_connect_timeout < 0.0
563
+ fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.'
564
564
  end
565
565
 
566
566
  @sock_connect_timeout = sock_connect_timeout
@@ -569,8 +569,8 @@ module PulpPythonClient
569
569
  # Custom attribute writer method with validation
570
570
  # @param [Object] sock_read_timeout Value to be assigned
571
571
  def sock_read_timeout=(sock_read_timeout)
572
- if !sock_read_timeout.nil? && sock_read_timeout < 0
573
- fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.'
572
+ if !sock_read_timeout.nil? && sock_read_timeout < 0.0
573
+ fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.0.'
574
574
  end
575
575
 
576
576
  @sock_read_timeout = sock_read_timeout