pulp_container_client 2.20.4 → 2.21.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (116) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +11 -10
  3. data/docs/ContainerBlobResponse.md +2 -0
  4. data/docs/ContainerContainerDistribution.md +7 -7
  5. data/docs/ContainerContainerDistributionResponse.md +16 -12
  6. data/docs/ContainerContainerNamespaceResponse.md +2 -0
  7. data/docs/ContainerContainerPullThroughDistribution.md +7 -7
  8. data/docs/ContainerContainerPullThroughDistributionResponse.md +16 -12
  9. data/docs/ContainerContainerPullThroughRemote.md +6 -2
  10. data/docs/ContainerContainerPullThroughRemoteResponse.md +8 -2
  11. data/docs/ContainerContainerPushRepository.md +7 -7
  12. data/docs/ContainerContainerPushRepositoryResponse.md +15 -13
  13. data/docs/ContainerContainerRemote.md +1 -1
  14. data/docs/ContainerContainerRemoteResponse.md +3 -1
  15. data/docs/ContainerContainerRepositoryResponse.md +2 -0
  16. data/docs/ContainerManifestResponse.md +2 -0
  17. data/docs/ContainerManifestSignatureResponse.md +2 -0
  18. data/docs/ContainerTagResponse.md +2 -0
  19. data/docs/ContentBlobsApi.md +10 -8
  20. data/docs/ContentManifestsApi.md +10 -8
  21. data/docs/ContentSignaturesApi.md +10 -8
  22. data/docs/ContentTagsApi.md +10 -8
  23. data/docs/DistributionsContainerApi.md +4 -2
  24. data/docs/DistributionsPullThroughApi.md +4 -2
  25. data/docs/OCIBuildImage.md +1 -1
  26. data/docs/PatchedcontainerContainerDistribution.md +7 -7
  27. data/docs/PatchedcontainerContainerPullThroughDistribution.md +7 -7
  28. data/docs/PatchedcontainerContainerPullThroughRemote.md +6 -2
  29. data/docs/PatchedcontainerContainerPushRepository.md +7 -7
  30. data/docs/PatchedcontainerContainerRemote.md +1 -1
  31. data/docs/{Policy762Enum.md → Policy692Enum.md} +2 -2
  32. data/docs/{Policy8e2Enum.md → Policy7e0Enum.md} +2 -2
  33. data/docs/PulpContainerNamespacesApi.md +4 -2
  34. data/docs/RemotesContainerApi.md +4 -2
  35. data/docs/RemotesPullThroughApi.md +4 -2
  36. data/docs/RepositoriesContainerApi.md +10 -8
  37. data/docs/RepositoriesContainerPushApi.md +8 -6
  38. data/docs/RepositoriesContainerPushVersionsApi.md +8 -6
  39. data/docs/RepositoriesContainerVersionsApi.md +8 -6
  40. data/docs/RepositoryVersionResponse.md +2 -0
  41. data/lib/pulp_container_client/api/content_blobs_api.rb +11 -8
  42. data/lib/pulp_container_client/api/content_manifests_api.rb +11 -8
  43. data/lib/pulp_container_client/api/content_signatures_api.rb +11 -8
  44. data/lib/pulp_container_client/api/content_tags_api.rb +11 -8
  45. data/lib/pulp_container_client/api/distributions_container_api.rb +5 -2
  46. data/lib/pulp_container_client/api/distributions_pull_through_api.rb +5 -2
  47. data/lib/pulp_container_client/api/pulp_container_namespaces_api.rb +5 -2
  48. data/lib/pulp_container_client/api/remotes_container_api.rb +5 -2
  49. data/lib/pulp_container_client/api/remotes_pull_through_api.rb +5 -2
  50. data/lib/pulp_container_client/api/repositories_container_api.rb +11 -8
  51. data/lib/pulp_container_client/api/repositories_container_push_api.rb +9 -6
  52. data/lib/pulp_container_client/api/repositories_container_push_versions_api.rb +10 -7
  53. data/lib/pulp_container_client/api/repositories_container_versions_api.rb +10 -7
  54. data/lib/pulp_container_client/models/container_blob_response.rb +11 -1
  55. data/lib/pulp_container_client/models/container_container_distribution.rb +53 -53
  56. data/lib/pulp_container_client/models/container_container_distribution_response.rb +74 -54
  57. data/lib/pulp_container_client/models/container_container_namespace_response.rb +11 -1
  58. data/lib/pulp_container_client/models/container_container_pull_through_distribution.rb +53 -53
  59. data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb +74 -54
  60. data/lib/pulp_container_client/models/container_container_pull_through_remote.rb +32 -6
  61. data/lib/pulp_container_client/models/container_container_pull_through_remote_response.rb +41 -5
  62. data/lib/pulp_container_client/models/container_container_push_repository.rb +46 -46
  63. data/lib/pulp_container_client/models/container_container_push_repository_response.rb +60 -50
  64. data/lib/pulp_container_client/models/container_container_remote.rb +1 -1
  65. data/lib/pulp_container_client/models/container_container_remote_response.rb +12 -2
  66. data/lib/pulp_container_client/models/container_container_repository_response.rb +11 -1
  67. data/lib/pulp_container_client/models/container_manifest_response.rb +11 -1
  68. data/lib/pulp_container_client/models/container_manifest_signature_response.rb +11 -1
  69. data/lib/pulp_container_client/models/container_tag_response.rb +11 -1
  70. data/lib/pulp_container_client/models/oci_build_image.rb +1 -1
  71. data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +44 -44
  72. data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb +44 -44
  73. data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_remote.rb +32 -6
  74. data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +46 -46
  75. data/lib/pulp_container_client/models/patchedcontainer_container_remote.rb +1 -1
  76. data/lib/pulp_container_client/models/{policy762_enum.rb → policy692_enum.rb} +3 -3
  77. data/lib/pulp_container_client/models/{policy8e2_enum.rb → policy7e0_enum.rb} +3 -3
  78. data/lib/pulp_container_client/models/repository_version_response.rb +12 -2
  79. data/lib/pulp_container_client/version.rb +1 -1
  80. data/lib/pulp_container_client.rb +2 -2
  81. data/spec/api/content_blobs_api_spec.rb +5 -4
  82. data/spec/api/content_manifests_api_spec.rb +5 -4
  83. data/spec/api/content_signatures_api_spec.rb +5 -4
  84. data/spec/api/content_tags_api_spec.rb +5 -4
  85. data/spec/api/distributions_container_api_spec.rb +2 -1
  86. data/spec/api/distributions_pull_through_api_spec.rb +2 -1
  87. data/spec/api/pulp_container_namespaces_api_spec.rb +2 -1
  88. data/spec/api/remotes_container_api_spec.rb +2 -1
  89. data/spec/api/remotes_pull_through_api_spec.rb +2 -1
  90. data/spec/api/repositories_container_api_spec.rb +5 -4
  91. data/spec/api/repositories_container_push_api_spec.rb +4 -3
  92. data/spec/api/repositories_container_push_versions_api_spec.rb +4 -3
  93. data/spec/api/repositories_container_versions_api_spec.rb +4 -3
  94. data/spec/models/container_blob_response_spec.rb +6 -0
  95. data/spec/models/container_container_distribution_response_spec.rb +20 -8
  96. data/spec/models/container_container_distribution_spec.rb +5 -5
  97. data/spec/models/container_container_namespace_response_spec.rb +6 -0
  98. data/spec/models/container_container_pull_through_distribution_response_spec.rb +20 -8
  99. data/spec/models/container_container_pull_through_distribution_spec.rb +5 -5
  100. data/spec/models/container_container_pull_through_remote_response_spec.rb +18 -0
  101. data/spec/models/container_container_pull_through_remote_spec.rb +12 -0
  102. data/spec/models/container_container_push_repository_response_spec.rb +14 -8
  103. data/spec/models/container_container_push_repository_spec.rb +4 -4
  104. data/spec/models/container_container_remote_response_spec.rb +6 -0
  105. data/spec/models/container_container_repository_response_spec.rb +6 -0
  106. data/spec/models/container_manifest_response_spec.rb +6 -0
  107. data/spec/models/container_manifest_signature_response_spec.rb +6 -0
  108. data/spec/models/container_tag_response_spec.rb +6 -0
  109. data/spec/models/patchedcontainer_container_distribution_spec.rb +5 -5
  110. data/spec/models/patchedcontainer_container_pull_through_distribution_spec.rb +5 -5
  111. data/spec/models/patchedcontainer_container_pull_through_remote_spec.rb +12 -0
  112. data/spec/models/patchedcontainer_container_push_repository_spec.rb +4 -4
  113. data/spec/models/{policy762_enum_spec.rb → policy692_enum_spec.rb} +6 -6
  114. data/spec/models/{policy8e2_enum_spec.rb → policy7e0_enum_spec.rb} +6 -6
  115. data/spec/models/repository_version_response_spec.rb +6 -0
  116. metadata +9 -9
@@ -230,6 +230,7 @@ module PulpContainerClient
230
230
  # @option opts [String] :name__startswith Filter results where name starts with value
231
231
  # @option opts [Integer] :offset The initial index from which to return the results.
232
232
  # @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)
233
+ # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
233
234
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
234
235
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
235
236
  # @option opts [String] :pulp_label_select Filter labels by search string
@@ -239,7 +240,7 @@ module PulpContainerClient
239
240
  # @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
240
241
  # @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
241
242
  # @option opts [Array<DateTime>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
242
- # @option opts [String] :q
243
+ # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
243
244
  # @option opts [Array<String>] :fields A list of fields to include in the response.
244
245
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
245
246
  # @return [PaginatedcontainerContainerPullThroughRemoteResponseList]
@@ -263,6 +264,7 @@ module PulpContainerClient
263
264
  # @option opts [String] :name__startswith Filter results where name starts with value
264
265
  # @option opts [Integer] :offset The initial index from which to return the results.
265
266
  # @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)
267
+ # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
266
268
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
267
269
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
268
270
  # @option opts [String] :pulp_label_select Filter labels by search string
@@ -272,7 +274,7 @@ module PulpContainerClient
272
274
  # @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
273
275
  # @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
274
276
  # @option opts [Array<DateTime>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
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 [Array<String>] :fields A list of fields to include in the response.
277
279
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
278
280
  # @return [Array<(PaginatedcontainerContainerPullThroughRemoteResponseList, Integer, Hash)>] PaginatedcontainerContainerPullThroughRemoteResponseList data, response status code and response headers
@@ -301,6 +303,7 @@ module PulpContainerClient
301
303
  query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
302
304
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
303
305
  query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
306
+ query_params[:'prn__in'] = @api_client.build_collection_param(opts[:'prn__in'], :csv) if !opts[:'prn__in'].nil?
304
307
  query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
305
308
  query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
306
309
  query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
@@ -166,7 +166,7 @@ module PulpContainerClient
166
166
  # @option opts [String] :containerfile_artifact Artifact representing the Containerfile that should be used to run podman-build.
167
167
  # @option opts [File] :containerfile An uploaded Containerfile that should be used to run podman-build.
168
168
  # @option opts [String] :tag A tag name for the new image being built. (default to 'latest')
169
- # @option opts [Object] :artifacts A JSON string where each key is an artifact href and the value is it&#39;s relative path (name) inside the /pulp_working_directory of the build container executing the Containerfile.
169
+ # @option opts [AnyType] :artifacts A JSON string where each key is an artifact href and the value is it&#39;s relative path (name) inside the /pulp_working_directory of the build container executing the Containerfile.
170
170
  # @return [AsyncOperationResponse]
171
171
  def build_image(container_container_repository_href, opts = {})
172
172
  data, _status_code, _headers = build_image_with_http_info(container_container_repository_href, opts)
@@ -180,7 +180,7 @@ module PulpContainerClient
180
180
  # @option opts [String] :containerfile_artifact Artifact representing the Containerfile that should be used to run podman-build.
181
181
  # @option opts [File] :containerfile An uploaded Containerfile that should be used to run podman-build.
182
182
  # @option opts [String] :tag A tag name for the new image being built.
183
- # @option opts [Object] :artifacts A JSON string where each key is an artifact href and the value is it&#39;s relative path (name) inside the /pulp_working_directory of the build container executing the Containerfile.
183
+ # @option opts [AnyType] :artifacts A JSON string where each key is an artifact href and the value is it&#39;s relative path (name) inside the /pulp_working_directory of the build container executing the Containerfile.
184
184
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
185
185
  def build_image_with_http_info(container_container_repository_href, opts = {})
186
186
  if @api_client.config.debugging
@@ -508,7 +508,7 @@ module PulpContainerClient
508
508
  # List container repositorys
509
509
  # ViewSet for container repo.
510
510
  # @param [Hash] opts the optional parameters
511
- # @option opts [String] :latest_with_content Content Unit referenced by HREF
511
+ # @option opts [String] :latest_with_content Content Unit referenced by HREF/PRN
512
512
  # @option opts [Integer] :limit Number of results to return per page.
513
513
  # @option opts [String] :name Filter results where name matches value
514
514
  # @option opts [String] :name__contains Filter results where name contains value
@@ -521,10 +521,11 @@ module PulpContainerClient
521
521
  # @option opts [String] :name__startswith Filter results where name starts with value
522
522
  # @option opts [Integer] :offset The initial index from which to return the results.
523
523
  # @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)
524
+ # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
524
525
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
525
526
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
526
527
  # @option opts [String] :pulp_label_select Filter labels by search string
527
- # @option opts [String] :q
528
+ # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
528
529
  # @option opts [String] :remote Foreign Key referenced by HREF
529
530
  # @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
530
531
  # @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
@@ -534,7 +535,7 @@ module PulpContainerClient
534
535
  # @option opts [Integer] :retain_repo_versions__lte Filter results where retain_repo_versions is less than or equal to value
535
536
  # @option opts [Integer] :retain_repo_versions__ne Filter results where retain_repo_versions not equal to value
536
537
  # @option opts [Array<Integer>] :retain_repo_versions__range Filter results where retain_repo_versions is between two comma separated values
537
- # @option opts [String] :with_content Content Unit referenced by HREF
538
+ # @option opts [String] :with_content Content Unit referenced by HREF/PRN
538
539
  # @option opts [Array<String>] :fields A list of fields to include in the response.
539
540
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
540
541
  # @return [PaginatedcontainerContainerRepositoryResponseList]
@@ -546,7 +547,7 @@ module PulpContainerClient
546
547
  # List container repositorys
547
548
  # ViewSet for container repo.
548
549
  # @param [Hash] opts the optional parameters
549
- # @option opts [String] :latest_with_content Content Unit referenced by HREF
550
+ # @option opts [String] :latest_with_content Content Unit referenced by HREF/PRN
550
551
  # @option opts [Integer] :limit Number of results to return per page.
551
552
  # @option opts [String] :name Filter results where name matches value
552
553
  # @option opts [String] :name__contains Filter results where name contains value
@@ -559,10 +560,11 @@ module PulpContainerClient
559
560
  # @option opts [String] :name__startswith Filter results where name starts with value
560
561
  # @option opts [Integer] :offset The initial index from which to return the results.
561
562
  # @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)
563
+ # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
562
564
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
563
565
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
564
566
  # @option opts [String] :pulp_label_select Filter labels by search string
565
- # @option opts [String] :q
567
+ # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
566
568
  # @option opts [String] :remote Foreign Key referenced by HREF
567
569
  # @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
568
570
  # @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
@@ -572,7 +574,7 @@ module PulpContainerClient
572
574
  # @option opts [Integer] :retain_repo_versions__lte Filter results where retain_repo_versions is less than or equal to value
573
575
  # @option opts [Integer] :retain_repo_versions__ne Filter results where retain_repo_versions not equal to value
574
576
  # @option opts [Array<Integer>] :retain_repo_versions__range Filter results where retain_repo_versions is between two comma separated values
575
- # @option opts [String] :with_content Content Unit referenced by HREF
577
+ # @option opts [String] :with_content Content Unit referenced by HREF/PRN
576
578
  # @option opts [Array<String>] :fields A list of fields to include in the response.
577
579
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
578
580
  # @return [Array<(PaginatedcontainerContainerRepositoryResponseList, Integer, Hash)>] PaginatedcontainerContainerRepositoryResponseList data, response status code and response headers
@@ -602,6 +604,7 @@ module PulpContainerClient
602
604
  query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
603
605
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
604
606
  query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
607
+ query_params[:'prn__in'] = @api_client.build_collection_param(opts[:'prn__in'], :csv) if !opts[:'prn__in'].nil?
605
608
  query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
606
609
  query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
607
610
  query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
@@ -92,7 +92,7 @@ module PulpContainerClient
92
92
  # List container push repositorys
93
93
  # ViewSet for a container push repository. POST and DELETE are disallowed because a push repository is tightly coupled with a ContainerDistribution which handles it automatically. Created - during push operation, removed - with ContainerDistribution removal.
94
94
  # @param [Hash] opts the optional parameters
95
- # @option opts [String] :latest_with_content Content Unit referenced by HREF
95
+ # @option opts [String] :latest_with_content Content Unit referenced by HREF/PRN
96
96
  # @option opts [Integer] :limit Number of results to return per page.
97
97
  # @option opts [String] :name Filter results where name matches value
98
98
  # @option opts [String] :name__contains Filter results where name contains value
@@ -105,10 +105,11 @@ module PulpContainerClient
105
105
  # @option opts [String] :name__startswith Filter results where name starts with value
106
106
  # @option opts [Integer] :offset The initial index from which to return the results.
107
107
  # @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)
108
+ # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
108
109
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
109
110
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
110
111
  # @option opts [String] :pulp_label_select Filter labels by search string
111
- # @option opts [String] :q
112
+ # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
112
113
  # @option opts [String] :remote Foreign Key referenced by HREF
113
114
  # @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
114
115
  # @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
@@ -118,7 +119,7 @@ module PulpContainerClient
118
119
  # @option opts [Integer] :retain_repo_versions__lte Filter results where retain_repo_versions is less than or equal to value
119
120
  # @option opts [Integer] :retain_repo_versions__ne Filter results where retain_repo_versions not equal to value
120
121
  # @option opts [Array<Integer>] :retain_repo_versions__range Filter results where retain_repo_versions is between two comma separated values
121
- # @option opts [String] :with_content Content Unit referenced by HREF
122
+ # @option opts [String] :with_content Content Unit referenced by HREF/PRN
122
123
  # @option opts [Array<String>] :fields A list of fields to include in the response.
123
124
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
124
125
  # @return [PaginatedcontainerContainerPushRepositoryResponseList]
@@ -130,7 +131,7 @@ module PulpContainerClient
130
131
  # List container push repositorys
131
132
  # ViewSet for a container push repository. POST and DELETE are disallowed because a push repository is tightly coupled with a ContainerDistribution which handles it automatically. Created - during push operation, removed - with ContainerDistribution removal.
132
133
  # @param [Hash] opts the optional parameters
133
- # @option opts [String] :latest_with_content Content Unit referenced by HREF
134
+ # @option opts [String] :latest_with_content Content Unit referenced by HREF/PRN
134
135
  # @option opts [Integer] :limit Number of results to return per page.
135
136
  # @option opts [String] :name Filter results where name matches value
136
137
  # @option opts [String] :name__contains Filter results where name contains value
@@ -143,10 +144,11 @@ module PulpContainerClient
143
144
  # @option opts [String] :name__startswith Filter results where name starts with value
144
145
  # @option opts [Integer] :offset The initial index from which to return the results.
145
146
  # @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)
147
+ # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
146
148
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
147
149
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
148
150
  # @option opts [String] :pulp_label_select Filter labels by search string
149
- # @option opts [String] :q
151
+ # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
150
152
  # @option opts [String] :remote Foreign Key referenced by HREF
151
153
  # @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
152
154
  # @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
@@ -156,7 +158,7 @@ module PulpContainerClient
156
158
  # @option opts [Integer] :retain_repo_versions__lte Filter results where retain_repo_versions is less than or equal to value
157
159
  # @option opts [Integer] :retain_repo_versions__ne Filter results where retain_repo_versions not equal to value
158
160
  # @option opts [Array<Integer>] :retain_repo_versions__range Filter results where retain_repo_versions is between two comma separated values
159
- # @option opts [String] :with_content Content Unit referenced by HREF
161
+ # @option opts [String] :with_content Content Unit referenced by HREF/PRN
160
162
  # @option opts [Array<String>] :fields A list of fields to include in the response.
161
163
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
162
164
  # @return [Array<(PaginatedcontainerContainerPushRepositoryResponseList, Integer, Hash)>] PaginatedcontainerContainerPushRepositoryResponseList data, response status code and response headers
@@ -186,6 +188,7 @@ module PulpContainerClient
186
188
  query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
187
189
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
188
190
  query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
191
+ query_params[:'prn__in'] = @api_client.build_collection_param(opts[:'prn__in'], :csv) if !opts[:'prn__in'].nil?
189
192
  query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
190
193
  query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
191
194
  query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
@@ -85,8 +85,8 @@ module PulpContainerClient
85
85
  # ContainerPushRepositoryVersion represents a single container push repository version. Repository versions of a push repository are not allowed to be deleted. Versioning of such repositories, as well as creation/removal, happens automatically without explicit user actions. Users could make a repository not functional by accident if allowed to delete repository versions.
86
86
  # @param container_container_push_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 PulpContainerClient
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 PulpContainerClient
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 PulpContainerClient
116
117
  # ContainerPushRepositoryVersion represents a single container push repository version. Repository versions of a push repository are not allowed to be deleted. Versioning of such repositories, as well as creation/removal, happens automatically without explicit user actions. Users could make a repository not functional by accident if allowed to delete repository versions.
117
118
  # @param container_container_push_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 PulpContainerClient
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 PulpContainerClient
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 PulpContainerClient
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 PulpContainerClient
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?
@@ -85,8 +85,8 @@ module PulpContainerClient
85
85
  # ContainerRepositoryVersion represents a single container repository version.
86
86
  # @param container_container_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 PulpContainerClient
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 PulpContainerClient
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 PulpContainerClient
116
117
  # ContainerRepositoryVersion represents a single container repository version.
117
118
  # @param container_container_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 PulpContainerClient
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 PulpContainerClient
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 PulpContainerClient
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 PulpContainerClient
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?
@@ -17,6 +17,9 @@ module PulpContainerClient
17
17
  class ContainerBlobResponse
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
 
@@ -33,6 +36,7 @@ module PulpContainerClient
33
36
  def self.attribute_map
34
37
  {
35
38
  :'pulp_href' => :'pulp_href',
39
+ :'prn' => :'prn',
36
40
  :'pulp_created' => :'pulp_created',
37
41
  :'pulp_last_updated' => :'pulp_last_updated',
38
42
  :'artifact' => :'artifact',
@@ -44,6 +48,7 @@ module PulpContainerClient
44
48
  def self.openapi_types
45
49
  {
46
50
  :'pulp_href' => :'String',
51
+ :'prn' => :'String',
47
52
  :'pulp_created' => :'DateTime',
48
53
  :'pulp_last_updated' => :'DateTime',
49
54
  :'artifact' => :'String',
@@ -76,6 +81,10 @@ module PulpContainerClient
76
81
  self.pulp_href = attributes[:'pulp_href']
77
82
  end
78
83
 
84
+ if attributes.key?(:'prn')
85
+ self.prn = attributes[:'prn']
86
+ end
87
+
79
88
  if attributes.key?(:'pulp_created')
80
89
  self.pulp_created = attributes[:'pulp_created']
81
90
  end
@@ -122,6 +131,7 @@ module PulpContainerClient
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
  artifact == o.artifact &&
@@ -137,7 +147,7 @@ module PulpContainerClient
137
147
  # Calculates hash code according to all attributes.
138
148
  # @return [Integer] Hash code
139
149
  def hash
140
- [pulp_href, pulp_created, pulp_last_updated, artifact, digest].hash
150
+ [pulp_href, prn, pulp_created, pulp_last_updated, artifact, digest].hash
141
151
  end
142
152
 
143
153
  # Builds the object from hash
@@ -15,22 +15,22 @@ require 'date'
15
15
  module PulpContainerClient
16
16
  # A serializer for ContainerDistribution.
17
17
  class ContainerContainerDistribution
18
+ attr_accessor :pulp_labels
19
+
20
+ # An optional content-guard. If none is specified, a default one will be used.
21
+ attr_accessor :content_guard
22
+
18
23
  # Whether this distribution should be shown in the content app.
19
24
  attr_accessor :hidden
20
25
 
21
26
  # The latest RepositoryVersion for this Repository will be served.
22
27
  attr_accessor :repository
23
28
 
24
- # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
25
- attr_accessor :base_path
26
-
27
- attr_accessor :pulp_labels
28
-
29
29
  # A unique name. Ex, `rawhide` and `stable`.
30
30
  attr_accessor :name
31
31
 
32
- # An optional content-guard. If none is specified, a default one will be used.
33
- attr_accessor :content_guard
32
+ # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
33
+ attr_accessor :base_path
34
34
 
35
35
  # RepositoryVersion to be served
36
36
  attr_accessor :repository_version
@@ -44,12 +44,12 @@ module PulpContainerClient
44
44
  # Attribute mapping from ruby-style variable name to JSON key.
45
45
  def self.attribute_map
46
46
  {
47
+ :'pulp_labels' => :'pulp_labels',
48
+ :'content_guard' => :'content_guard',
47
49
  :'hidden' => :'hidden',
48
50
  :'repository' => :'repository',
49
- :'base_path' => :'base_path',
50
- :'pulp_labels' => :'pulp_labels',
51
51
  :'name' => :'name',
52
- :'content_guard' => :'content_guard',
52
+ :'base_path' => :'base_path',
53
53
  :'repository_version' => :'repository_version',
54
54
  :'private' => :'private',
55
55
  :'description' => :'description'
@@ -59,12 +59,12 @@ module PulpContainerClient
59
59
  # Attribute type mapping.
60
60
  def self.openapi_types
61
61
  {
62
+ :'pulp_labels' => :'Hash<String, String>',
63
+ :'content_guard' => :'String',
62
64
  :'hidden' => :'Boolean',
63
65
  :'repository' => :'String',
64
- :'base_path' => :'String',
65
- :'pulp_labels' => :'Hash<String, String>',
66
66
  :'name' => :'String',
67
- :'content_guard' => :'String',
67
+ :'base_path' => :'String',
68
68
  :'repository_version' => :'String',
69
69
  :'private' => :'Boolean',
70
70
  :'description' => :'String'
@@ -95,6 +95,16 @@ module PulpContainerClient
95
95
  h[k.to_sym] = v
96
96
  }
97
97
 
98
+ if attributes.key?(:'pulp_labels')
99
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
100
+ self.pulp_labels = value
101
+ end
102
+ end
103
+
104
+ if attributes.key?(:'content_guard')
105
+ self.content_guard = attributes[:'content_guard']
106
+ end
107
+
98
108
  if attributes.key?(:'hidden')
99
109
  self.hidden = attributes[:'hidden']
100
110
  else
@@ -105,22 +115,12 @@ module PulpContainerClient
105
115
  self.repository = attributes[:'repository']
106
116
  end
107
117
 
108
- if attributes.key?(:'base_path')
109
- self.base_path = attributes[:'base_path']
110
- end
111
-
112
- if attributes.key?(:'pulp_labels')
113
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
114
- self.pulp_labels = value
115
- end
116
- end
117
-
118
118
  if attributes.key?(:'name')
119
119
  self.name = attributes[:'name']
120
120
  end
121
121
 
122
- if attributes.key?(:'content_guard')
123
- self.content_guard = attributes[:'content_guard']
122
+ if attributes.key?(:'base_path')
123
+ self.base_path = attributes[:'base_path']
124
124
  end
125
125
 
126
126
  if attributes.key?(:'repository_version')
@@ -140,14 +140,6 @@ module PulpContainerClient
140
140
  # @return Array for valid properties with the reasons
141
141
  def list_invalid_properties
142
142
  invalid_properties = Array.new
143
- if @base_path.nil?
144
- invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
145
- end
146
-
147
- if @base_path.to_s.length < 1
148
- invalid_properties.push('invalid value for "base_path", the character length must be great than or equal to 1.')
149
- end
150
-
151
143
  if @name.nil?
152
144
  invalid_properties.push('invalid value for "name", name cannot be nil.')
153
145
  end
@@ -156,6 +148,14 @@ module PulpContainerClient
156
148
  invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
157
149
  end
158
150
 
151
+ if @base_path.nil?
152
+ invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
153
+ end
154
+
155
+ if @base_path.to_s.length < 1
156
+ invalid_properties.push('invalid value for "base_path", the character length must be great than or equal to 1.')
157
+ end
158
+
159
159
  if !@description.nil? && @description.to_s.length < 1
160
160
  invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
161
161
  end
@@ -166,28 +166,14 @@ module PulpContainerClient
166
166
  # Check to see if the all the properties in the model are valid
167
167
  # @return true if the model is valid
168
168
  def valid?
169
- return false if @base_path.nil?
170
- return false if @base_path.to_s.length < 1
171
169
  return false if @name.nil?
172
170
  return false if @name.to_s.length < 1
171
+ return false if @base_path.nil?
172
+ return false if @base_path.to_s.length < 1
173
173
  return false if !@description.nil? && @description.to_s.length < 1
174
174
  true
175
175
  end
176
176
 
177
- # Custom attribute writer method with validation
178
- # @param [Object] base_path Value to be assigned
179
- def base_path=(base_path)
180
- if base_path.nil?
181
- fail ArgumentError, 'base_path cannot be nil'
182
- end
183
-
184
- if base_path.to_s.length < 1
185
- fail ArgumentError, 'invalid value for "base_path", the character length must be great than or equal to 1.'
186
- end
187
-
188
- @base_path = base_path
189
- end
190
-
191
177
  # Custom attribute writer method with validation
192
178
  # @param [Object] name Value to be assigned
193
179
  def name=(name)
@@ -202,6 +188,20 @@ module PulpContainerClient
202
188
  @name = name
203
189
  end
204
190
 
191
+ # Custom attribute writer method with validation
192
+ # @param [Object] base_path Value to be assigned
193
+ def base_path=(base_path)
194
+ if base_path.nil?
195
+ fail ArgumentError, 'base_path cannot be nil'
196
+ end
197
+
198
+ if base_path.to_s.length < 1
199
+ fail ArgumentError, 'invalid value for "base_path", the character length must be great than or equal to 1.'
200
+ end
201
+
202
+ @base_path = base_path
203
+ end
204
+
205
205
  # Custom attribute writer method with validation
206
206
  # @param [Object] description Value to be assigned
207
207
  def description=(description)
@@ -217,12 +217,12 @@ module PulpContainerClient
217
217
  def ==(o)
218
218
  return true if self.equal?(o)
219
219
  self.class == o.class &&
220
+ pulp_labels == o.pulp_labels &&
221
+ content_guard == o.content_guard &&
220
222
  hidden == o.hidden &&
221
223
  repository == o.repository &&
222
- base_path == o.base_path &&
223
- pulp_labels == o.pulp_labels &&
224
224
  name == o.name &&
225
- content_guard == o.content_guard &&
225
+ base_path == o.base_path &&
226
226
  repository_version == o.repository_version &&
227
227
  private == o.private &&
228
228
  description == o.description
@@ -237,7 +237,7 @@ module PulpContainerClient
237
237
  # Calculates hash code according to all attributes.
238
238
  # @return [Integer] Hash code
239
239
  def hash
240
- [hidden, repository, base_path, pulp_labels, name, content_guard, repository_version, private, description].hash
240
+ [pulp_labels, content_guard, hidden, repository, name, base_path, repository_version, private, description].hash
241
241
  end
242
242
 
243
243
  # Builds the object from hash