pulp_container_client 2.24.0 → 2.24.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (57) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +6 -5
  3. data/docs/ContainerBlobResponse.md +2 -0
  4. data/docs/ContainerContainerDistribution.md +8 -8
  5. data/docs/ContainerContainerDistributionResponse.md +14 -14
  6. data/docs/ContainerContainerPullThroughDistribution.md +8 -8
  7. data/docs/ContainerContainerPullThroughDistributionResponse.md +14 -14
  8. data/docs/ContainerContainerPushRepository.md +8 -8
  9. data/docs/ContainerContainerPushRepositoryResponse.md +14 -14
  10. data/docs/ContainerManifestResponse.md +2 -0
  11. data/docs/ContainerManifestSignatureResponse.md +2 -0
  12. data/docs/ContainerTagResponse.md +2 -0
  13. data/docs/ContentBlobsApi.md +4 -2
  14. data/docs/ContentManifestsApi.md +4 -2
  15. data/docs/ContentSignaturesApi.md +4 -2
  16. data/docs/ContentTagsApi.md +4 -2
  17. data/docs/DistributionsContainerApi.md +2 -2
  18. data/docs/DistributionsPullThroughApi.md +2 -2
  19. data/docs/PatchedcontainerContainerDistribution.md +8 -8
  20. data/docs/PatchedcontainerContainerPullThroughDistribution.md +8 -8
  21. data/docs/PatchedcontainerContainerPushRepository.md +8 -8
  22. data/lib/pulp_container_client/api/content_blobs_api.rb +6 -3
  23. data/lib/pulp_container_client/api/content_manifests_api.rb +6 -3
  24. data/lib/pulp_container_client/api/content_signatures_api.rb +6 -3
  25. data/lib/pulp_container_client/api/content_tags_api.rb +6 -3
  26. data/lib/pulp_container_client/models/container_blob_response.rb +13 -1
  27. data/lib/pulp_container_client/models/container_container_distribution.rb +65 -65
  28. data/lib/pulp_container_client/models/container_container_distribution_response.rb +73 -73
  29. data/lib/pulp_container_client/models/container_container_pull_through_distribution.rb +65 -65
  30. data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb +73 -73
  31. data/lib/pulp_container_client/models/container_container_push_repository.rb +48 -48
  32. data/lib/pulp_container_client/models/container_container_push_repository_response.rb +69 -69
  33. data/lib/pulp_container_client/models/container_manifest_response.rb +13 -1
  34. data/lib/pulp_container_client/models/container_manifest_signature_response.rb +13 -1
  35. data/lib/pulp_container_client/models/container_tag_response.rb +13 -1
  36. data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +58 -58
  37. data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb +58 -58
  38. data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +48 -48
  39. data/lib/pulp_container_client/version.rb +1 -1
  40. data/spec/api/content_blobs_api_spec.rb +2 -1
  41. data/spec/api/content_manifests_api_spec.rb +2 -1
  42. data/spec/api/content_signatures_api_spec.rb +2 -1
  43. data/spec/api/content_tags_api_spec.rb +2 -1
  44. data/spec/models/container_blob_response_spec.rb +6 -0
  45. data/spec/models/container_container_distribution_response_spec.rb +11 -11
  46. data/spec/models/container_container_distribution_spec.rb +6 -6
  47. data/spec/models/container_container_pull_through_distribution_response_spec.rb +11 -11
  48. data/spec/models/container_container_pull_through_distribution_spec.rb +6 -6
  49. data/spec/models/container_container_push_repository_response_spec.rb +11 -11
  50. data/spec/models/container_container_push_repository_spec.rb +4 -4
  51. data/spec/models/container_manifest_response_spec.rb +6 -0
  52. data/spec/models/container_manifest_signature_response_spec.rb +6 -0
  53. data/spec/models/container_tag_response_spec.rb +6 -0
  54. data/spec/models/patchedcontainer_container_distribution_spec.rb +6 -6
  55. data/spec/models/patchedcontainer_container_pull_through_distribution_spec.rb +6 -6
  56. data/spec/models/patchedcontainer_container_push_repository_spec.rb +4 -4
  57. metadata +63 -63
@@ -4,12 +4,12 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **pulp_labels** | **Hash<String, String>** | | [optional] |
8
- | **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional] |
9
- | **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional] |
10
7
  | **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional][default to false] |
11
- | **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional] |
12
8
  | **base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") | [optional] |
9
+ | **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional] |
10
+ | **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional] |
11
+ | **pulp_labels** | **Hash<String, String>** | | [optional] |
12
+ | **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional] |
13
13
  | **remote** | **String** | Remote that can be used to fetch content when using pull-through caching. | [optional] |
14
14
  | **distributions** | **Array<String>** | Distributions created after pulling content through cache | [optional] |
15
15
  | **private** | **Boolean** | Restrict pull access to explicitly authorized users. Related distributions inherit this value. Defaults to unrestricted pull access. | [optional] |
@@ -21,12 +21,12 @@
21
21
  require 'pulp_container_client'
22
22
 
23
23
  instance = PulpContainerClient::PatchedcontainerContainerPullThroughDistribution.new(
24
- pulp_labels: null,
25
- repository: null,
26
- content_guard: null,
27
24
  hidden: null,
28
- name: null,
29
25
  base_path: null,
26
+ name: null,
27
+ content_guard: null,
28
+ pulp_labels: null,
29
+ repository: null,
30
30
  remote: null,
31
31
  distributions: null,
32
32
  private: null,
@@ -4,11 +4,11 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **pulp_labels** | **Hash<String, String>** | | [optional] |
8
- | **description** | **String** | An optional description. | [optional] |
9
- | **name** | **String** | A unique name for this repository. | [optional] |
10
- | **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional] |
11
7
  | **manifest_signing_service** | **String** | A reference to an associated signing service. | [optional] |
8
+ | **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional] |
9
+ | **name** | **String** | A unique name for this repository. | [optional] |
10
+ | **description** | **String** | An optional description. | [optional] |
11
+ | **pulp_labels** | **Hash<String, String>** | | [optional] |
12
12
 
13
13
  ## Example
14
14
 
@@ -16,11 +16,11 @@
16
16
  require 'pulp_container_client'
17
17
 
18
18
  instance = PulpContainerClient::PatchedcontainerContainerPushRepository.new(
19
- pulp_labels: null,
20
- description: null,
21
- name: null,
19
+ manifest_signing_service: null,
22
20
  retain_repo_versions: null,
23
- manifest_signing_service: null
21
+ name: null,
22
+ description: null,
23
+ pulp_labels: null
24
24
  )
25
25
  ```
26
26
 
@@ -26,11 +26,12 @@ module PulpContainerClient
26
26
  # @option opts [Array<String>] :digest__in Filter results where digest is in a comma-separated list of values
27
27
  # @option opts [Integer] :limit Number of results to return per page.
28
28
  # @option opts [Integer] :offset The initial index from which to return the results.
29
- # @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;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;digest&#x60; - Digest * &#x60;-digest&#x60; - Digest (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
29
+ # @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;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;digest&#x60; - Digest * &#x60;-digest&#x60; - Digest (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
30
30
  # @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
31
31
  # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
32
32
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
33
33
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
34
+ # @option opts [String] :pulp_label_select Filter labels by search string
34
35
  # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
35
36
  # @option opts [String] :repository_version Repository Version referenced by HREF/PRN
36
37
  # @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
@@ -50,11 +51,12 @@ module PulpContainerClient
50
51
  # @option opts [Array<String>] :digest__in Filter results where digest is in a comma-separated list of values
51
52
  # @option opts [Integer] :limit Number of results to return per page.
52
53
  # @option opts [Integer] :offset The initial index from which to return the results.
53
- # @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;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;digest&#x60; - Digest * &#x60;-digest&#x60; - Digest (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
54
+ # @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;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;digest&#x60; - Digest * &#x60;-digest&#x60; - Digest (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
54
55
  # @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
55
56
  # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
56
57
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
57
58
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
59
+ # @option opts [String] :pulp_label_select Filter labels by search string
58
60
  # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
59
61
  # @option opts [String] :repository_version Repository Version referenced by HREF/PRN
60
62
  # @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
@@ -66,7 +68,7 @@ module PulpContainerClient
66
68
  if @api_client.config.debugging
67
69
  @api_client.config.logger.debug 'Calling API: ContentBlobsApi.list ...'
68
70
  end
69
- allowable_values = ["-digest", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "-timestamp_of_interest", "-upstream_id", "digest", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type", "timestamp_of_interest", "upstream_id"]
71
+ allowable_values = ["-digest", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-timestamp_of_interest", "-upstream_id", "digest", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "timestamp_of_interest", "upstream_id"]
70
72
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
71
73
  fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
72
74
  end
@@ -84,6 +86,7 @@ module PulpContainerClient
84
86
  query_params[:'prn__in'] = @api_client.build_collection_param(opts[:'prn__in'], :csv) if !opts[:'prn__in'].nil?
85
87
  query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
86
88
  query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
89
+ query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
87
90
  query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
88
91
  query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
89
92
  query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
@@ -29,11 +29,12 @@ module PulpContainerClient
29
29
  # @option opts [Integer] :limit Number of results to return per page.
30
30
  # @option opts [Array<String>] :media_type * &#x60;application/vnd.docker.distribution.manifest.v1+json&#x60; - application/vnd.docker.distribution.manifest.v1+json * &#x60;application/vnd.docker.distribution.manifest.v2+json&#x60; - application/vnd.docker.distribution.manifest.v2+json * &#x60;application/vnd.docker.distribution.manifest.list.v2+json&#x60; - application/vnd.docker.distribution.manifest.list.v2+json * &#x60;application/vnd.oci.image.manifest.v1+json&#x60; - application/vnd.oci.image.manifest.v1+json * &#x60;application/vnd.oci.image.index.v1+json&#x60; - application/vnd.oci.image.index.v1+json
31
31
  # @option opts [Integer] :offset The initial index from which to return the results.
32
- # @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;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;digest&#x60; - Digest * &#x60;-digest&#x60; - Digest (descending) * &#x60;schema_version&#x60; - Schema version * &#x60;-schema_version&#x60; - Schema version (descending) * &#x60;media_type&#x60; - Media type * &#x60;-media_type&#x60; - Media type (descending) * &#x60;type&#x60; - Type * &#x60;-type&#x60; - Type (descending) * &#x60;data&#x60; - Data * &#x60;-data&#x60; - Data (descending) * &#x60;annotations&#x60; - Annotations * &#x60;-annotations&#x60; - Annotations (descending) * &#x60;labels&#x60; - Labels * &#x60;-labels&#x60; - Labels (descending) * &#x60;architecture&#x60; - Architecture * &#x60;-architecture&#x60; - Architecture (descending) * &#x60;os&#x60; - Os * &#x60;-os&#x60; - Os (descending) * &#x60;compressed_image_size&#x60; - Compressed image size * &#x60;-compressed_image_size&#x60; - Compressed image size (descending) * &#x60;is_bootable&#x60; - Is bootable * &#x60;-is_bootable&#x60; - Is bootable (descending) * &#x60;is_flatpak&#x60; - Is flatpak * &#x60;-is_flatpak&#x60; - Is flatpak (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
32
+ # @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;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;digest&#x60; - Digest * &#x60;-digest&#x60; - Digest (descending) * &#x60;schema_version&#x60; - Schema version * &#x60;-schema_version&#x60; - Schema version (descending) * &#x60;media_type&#x60; - Media type * &#x60;-media_type&#x60; - Media type (descending) * &#x60;type&#x60; - Type * &#x60;-type&#x60; - Type (descending) * &#x60;data&#x60; - Data * &#x60;-data&#x60; - Data (descending) * &#x60;annotations&#x60; - Annotations * &#x60;-annotations&#x60; - Annotations (descending) * &#x60;labels&#x60; - Labels * &#x60;-labels&#x60; - Labels (descending) * &#x60;architecture&#x60; - Architecture * &#x60;-architecture&#x60; - Architecture (descending) * &#x60;os&#x60; - Os * &#x60;-os&#x60; - Os (descending) * &#x60;compressed_image_size&#x60; - Compressed image size * &#x60;-compressed_image_size&#x60; - Compressed image size (descending) * &#x60;is_bootable&#x60; - Is bootable * &#x60;-is_bootable&#x60; - Is bootable (descending) * &#x60;is_flatpak&#x60; - Is flatpak * &#x60;-is_flatpak&#x60; - Is flatpak (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
33
33
  # @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
34
34
  # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
35
35
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
36
36
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
37
+ # @option opts [String] :pulp_label_select Filter labels by search string
37
38
  # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
38
39
  # @option opts [String] :repository_version Repository Version referenced by HREF/PRN
39
40
  # @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
@@ -56,11 +57,12 @@ module PulpContainerClient
56
57
  # @option opts [Integer] :limit Number of results to return per page.
57
58
  # @option opts [Array<String>] :media_type * &#x60;application/vnd.docker.distribution.manifest.v1+json&#x60; - application/vnd.docker.distribution.manifest.v1+json * &#x60;application/vnd.docker.distribution.manifest.v2+json&#x60; - application/vnd.docker.distribution.manifest.v2+json * &#x60;application/vnd.docker.distribution.manifest.list.v2+json&#x60; - application/vnd.docker.distribution.manifest.list.v2+json * &#x60;application/vnd.oci.image.manifest.v1+json&#x60; - application/vnd.oci.image.manifest.v1+json * &#x60;application/vnd.oci.image.index.v1+json&#x60; - application/vnd.oci.image.index.v1+json
58
59
  # @option opts [Integer] :offset The initial index from which to return the results.
59
- # @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;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;digest&#x60; - Digest * &#x60;-digest&#x60; - Digest (descending) * &#x60;schema_version&#x60; - Schema version * &#x60;-schema_version&#x60; - Schema version (descending) * &#x60;media_type&#x60; - Media type * &#x60;-media_type&#x60; - Media type (descending) * &#x60;type&#x60; - Type * &#x60;-type&#x60; - Type (descending) * &#x60;data&#x60; - Data * &#x60;-data&#x60; - Data (descending) * &#x60;annotations&#x60; - Annotations * &#x60;-annotations&#x60; - Annotations (descending) * &#x60;labels&#x60; - Labels * &#x60;-labels&#x60; - Labels (descending) * &#x60;architecture&#x60; - Architecture * &#x60;-architecture&#x60; - Architecture (descending) * &#x60;os&#x60; - Os * &#x60;-os&#x60; - Os (descending) * &#x60;compressed_image_size&#x60; - Compressed image size * &#x60;-compressed_image_size&#x60; - Compressed image size (descending) * &#x60;is_bootable&#x60; - Is bootable * &#x60;-is_bootable&#x60; - Is bootable (descending) * &#x60;is_flatpak&#x60; - Is flatpak * &#x60;-is_flatpak&#x60; - Is flatpak (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
60
+ # @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;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;digest&#x60; - Digest * &#x60;-digest&#x60; - Digest (descending) * &#x60;schema_version&#x60; - Schema version * &#x60;-schema_version&#x60; - Schema version (descending) * &#x60;media_type&#x60; - Media type * &#x60;-media_type&#x60; - Media type (descending) * &#x60;type&#x60; - Type * &#x60;-type&#x60; - Type (descending) * &#x60;data&#x60; - Data * &#x60;-data&#x60; - Data (descending) * &#x60;annotations&#x60; - Annotations * &#x60;-annotations&#x60; - Annotations (descending) * &#x60;labels&#x60; - Labels * &#x60;-labels&#x60; - Labels (descending) * &#x60;architecture&#x60; - Architecture * &#x60;-architecture&#x60; - Architecture (descending) * &#x60;os&#x60; - Os * &#x60;-os&#x60; - Os (descending) * &#x60;compressed_image_size&#x60; - Compressed image size * &#x60;-compressed_image_size&#x60; - Compressed image size (descending) * &#x60;is_bootable&#x60; - Is bootable * &#x60;-is_bootable&#x60; - Is bootable (descending) * &#x60;is_flatpak&#x60; - Is flatpak * &#x60;-is_flatpak&#x60; - Is flatpak (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
60
61
  # @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
61
62
  # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
62
63
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
63
64
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
65
+ # @option opts [String] :pulp_label_select Filter labels by search string
64
66
  # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
65
67
  # @option opts [String] :repository_version Repository Version referenced by HREF/PRN
66
68
  # @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
@@ -76,7 +78,7 @@ module PulpContainerClient
76
78
  if @api_client.config.client_side_validation && opts[:'media_type'] && !opts[:'media_type'].all? { |item| allowable_values.include?(item) }
77
79
  fail ArgumentError, "invalid value for \"media_type\", must include one of #{allowable_values}"
78
80
  end
79
- allowable_values = ["-annotations", "-architecture", "-compressed_image_size", "-data", "-digest", "-is_bootable", "-is_flatpak", "-labels", "-media_type", "-os", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "-schema_version", "-timestamp_of_interest", "-type", "-upstream_id", "annotations", "architecture", "compressed_image_size", "data", "digest", "is_bootable", "is_flatpak", "labels", "media_type", "os", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type", "schema_version", "timestamp_of_interest", "type", "upstream_id"]
81
+ allowable_values = ["-annotations", "-architecture", "-compressed_image_size", "-data", "-digest", "-is_bootable", "-is_flatpak", "-labels", "-media_type", "-os", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-schema_version", "-timestamp_of_interest", "-type", "-upstream_id", "annotations", "architecture", "compressed_image_size", "data", "digest", "is_bootable", "is_flatpak", "labels", "media_type", "os", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "schema_version", "timestamp_of_interest", "type", "upstream_id"]
80
82
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
81
83
  fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
82
84
  end
@@ -97,6 +99,7 @@ module PulpContainerClient
97
99
  query_params[:'prn__in'] = @api_client.build_collection_param(opts[:'prn__in'], :csv) if !opts[:'prn__in'].nil?
98
100
  query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
99
101
  query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
102
+ query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
100
103
  query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
101
104
  query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
102
105
  query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
@@ -38,11 +38,12 @@ module PulpContainerClient
38
38
  # @option opts [String] :name__regex Filter results where name matches regex value
39
39
  # @option opts [String] :name__startswith Filter results where name starts with value
40
40
  # @option opts [Integer] :offset The initial index from which to return the results.
41
- # @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;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;digest&#x60; - Digest * &#x60;-digest&#x60; - Digest (descending) * &#x60;type&#x60; - Type * &#x60;-type&#x60; - Type (descending) * &#x60;key_id&#x60; - Key id * &#x60;-key_id&#x60; - Key id (descending) * &#x60;timestamp&#x60; - Timestamp * &#x60;-timestamp&#x60; - Timestamp (descending) * &#x60;creator&#x60; - Creator * &#x60;-creator&#x60; - Creator (descending) * &#x60;data&#x60; - Data * &#x60;-data&#x60; - Data (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
41
+ # @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;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;digest&#x60; - Digest * &#x60;-digest&#x60; - Digest (descending) * &#x60;type&#x60; - Type * &#x60;-type&#x60; - Type (descending) * &#x60;key_id&#x60; - Key id * &#x60;-key_id&#x60; - Key id (descending) * &#x60;timestamp&#x60; - Timestamp * &#x60;-timestamp&#x60; - Timestamp (descending) * &#x60;creator&#x60; - Creator * &#x60;-creator&#x60; - Creator (descending) * &#x60;data&#x60; - Data * &#x60;-data&#x60; - Data (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
42
42
  # @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
43
43
  # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
44
44
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
45
45
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
46
+ # @option opts [String] :pulp_label_select Filter labels by search string
46
47
  # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
47
48
  # @option opts [String] :repository_version Repository Version referenced by HREF/PRN
48
49
  # @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
@@ -74,11 +75,12 @@ module PulpContainerClient
74
75
  # @option opts [String] :name__regex Filter results where name matches regex value
75
76
  # @option opts [String] :name__startswith Filter results where name starts with value
76
77
  # @option opts [Integer] :offset The initial index from which to return the results.
77
- # @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;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;digest&#x60; - Digest * &#x60;-digest&#x60; - Digest (descending) * &#x60;type&#x60; - Type * &#x60;-type&#x60; - Type (descending) * &#x60;key_id&#x60; - Key id * &#x60;-key_id&#x60; - Key id (descending) * &#x60;timestamp&#x60; - Timestamp * &#x60;-timestamp&#x60; - Timestamp (descending) * &#x60;creator&#x60; - Creator * &#x60;-creator&#x60; - Creator (descending) * &#x60;data&#x60; - Data * &#x60;-data&#x60; - Data (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
78
+ # @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;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;digest&#x60; - Digest * &#x60;-digest&#x60; - Digest (descending) * &#x60;type&#x60; - Type * &#x60;-type&#x60; - Type (descending) * &#x60;key_id&#x60; - Key id * &#x60;-key_id&#x60; - Key id (descending) * &#x60;timestamp&#x60; - Timestamp * &#x60;-timestamp&#x60; - Timestamp (descending) * &#x60;creator&#x60; - Creator * &#x60;-creator&#x60; - Creator (descending) * &#x60;data&#x60; - Data * &#x60;-data&#x60; - Data (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
78
79
  # @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
79
80
  # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
80
81
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
81
82
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
83
+ # @option opts [String] :pulp_label_select Filter labels by search string
82
84
  # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
83
85
  # @option opts [String] :repository_version Repository Version referenced by HREF/PRN
84
86
  # @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
@@ -90,7 +92,7 @@ module PulpContainerClient
90
92
  if @api_client.config.debugging
91
93
  @api_client.config.logger.debug 'Calling API: ContentSignaturesApi.list ...'
92
94
  end
93
- allowable_values = ["-creator", "-data", "-digest", "-key_id", "-name", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "-timestamp", "-timestamp_of_interest", "-type", "-upstream_id", "creator", "data", "digest", "key_id", "name", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type", "timestamp", "timestamp_of_interest", "type", "upstream_id"]
95
+ allowable_values = ["-creator", "-data", "-digest", "-key_id", "-name", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-timestamp", "-timestamp_of_interest", "-type", "-upstream_id", "creator", "data", "digest", "key_id", "name", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "timestamp", "timestamp_of_interest", "type", "upstream_id"]
94
96
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
95
97
  fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
96
98
  end
@@ -120,6 +122,7 @@ module PulpContainerClient
120
122
  query_params[:'prn__in'] = @api_client.build_collection_param(opts[:'prn__in'], :csv) if !opts[:'prn__in'].nil?
121
123
  query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
122
124
  query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
125
+ query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
123
126
  query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
124
127
  query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
125
128
  query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
@@ -28,11 +28,12 @@ module PulpContainerClient
28
28
  # @option opts [String] :name Filter results where name matches value
29
29
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
30
30
  # @option opts [Integer] :offset The initial index from which to return the results.
31
- # @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;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
31
+ # @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;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
32
32
  # @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
33
33
  # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
34
34
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
35
35
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
36
+ # @option opts [String] :pulp_label_select Filter labels by search string
36
37
  # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
37
38
  # @option opts [String] :repository_version Repository Version referenced by HREF/PRN
38
39
  # @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
@@ -54,11 +55,12 @@ module PulpContainerClient
54
55
  # @option opts [String] :name Filter results where name matches value
55
56
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
56
57
  # @option opts [Integer] :offset The initial index from which to return the results.
57
- # @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;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
58
+ # @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;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
58
59
  # @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
59
60
  # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
60
61
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
61
62
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
63
+ # @option opts [String] :pulp_label_select Filter labels by search string
62
64
  # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
63
65
  # @option opts [String] :repository_version Repository Version referenced by HREF/PRN
64
66
  # @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
@@ -74,7 +76,7 @@ module PulpContainerClient
74
76
  if @api_client.config.client_side_validation && opts[:'media_type'] && !opts[:'media_type'].all? { |item| allowable_values.include?(item) }
75
77
  fail ArgumentError, "invalid value for \"media_type\", must include one of #{allowable_values}"
76
78
  end
77
- allowable_values = ["-name", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "-timestamp_of_interest", "-upstream_id", "name", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type", "timestamp_of_interest", "upstream_id"]
79
+ allowable_values = ["-name", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-timestamp_of_interest", "-upstream_id", "name", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "timestamp_of_interest", "upstream_id"]
78
80
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
79
81
  fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
80
82
  end
@@ -94,6 +96,7 @@ module PulpContainerClient
94
96
  query_params[:'prn__in'] = @api_client.build_collection_param(opts[:'prn__in'], :csv) if !opts[:'prn__in'].nil?
95
97
  query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
96
98
  query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
99
+ query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
97
100
  query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
98
101
  query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
99
102
  query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
@@ -27,6 +27,9 @@ module PulpContainerClient
27
27
  # Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same.
28
28
  attr_accessor :pulp_last_updated
29
29
 
30
+ # A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
31
+ attr_accessor :pulp_labels
32
+
30
33
  # Artifact file representing the physical content
31
34
  attr_accessor :artifact
32
35
 
@@ -40,6 +43,7 @@ module PulpContainerClient
40
43
  :'prn' => :'prn',
41
44
  :'pulp_created' => :'pulp_created',
42
45
  :'pulp_last_updated' => :'pulp_last_updated',
46
+ :'pulp_labels' => :'pulp_labels',
43
47
  :'artifact' => :'artifact',
44
48
  :'digest' => :'digest'
45
49
  }
@@ -57,6 +61,7 @@ module PulpContainerClient
57
61
  :'prn' => :'String',
58
62
  :'pulp_created' => :'Time',
59
63
  :'pulp_last_updated' => :'Time',
64
+ :'pulp_labels' => :'Hash<String, String>',
60
65
  :'artifact' => :'String',
61
66
  :'digest' => :'String'
62
67
  }
@@ -100,6 +105,12 @@ module PulpContainerClient
100
105
  self.pulp_last_updated = attributes[:'pulp_last_updated']
101
106
  end
102
107
 
108
+ if attributes.key?(:'pulp_labels')
109
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
110
+ self.pulp_labels = value
111
+ end
112
+ end
113
+
103
114
  if attributes.key?(:'artifact')
104
115
  self.artifact = attributes[:'artifact']
105
116
  else
@@ -142,6 +153,7 @@ module PulpContainerClient
142
153
  prn == o.prn &&
143
154
  pulp_created == o.pulp_created &&
144
155
  pulp_last_updated == o.pulp_last_updated &&
156
+ pulp_labels == o.pulp_labels &&
145
157
  artifact == o.artifact &&
146
158
  digest == o.digest
147
159
  end
@@ -155,7 +167,7 @@ module PulpContainerClient
155
167
  # Calculates hash code according to all attributes.
156
168
  # @return [Integer] Hash code
157
169
  def hash
158
- [pulp_href, prn, pulp_created, pulp_last_updated, artifact, digest].hash
170
+ [pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, artifact, digest].hash
159
171
  end
160
172
 
161
173
  # Builds the object from hash
@@ -16,22 +16,22 @@ require 'time'
16
16
  module PulpContainerClient
17
17
  # A serializer for ContainerDistribution.
18
18
  class ContainerContainerDistribution
19
- attr_accessor :pulp_labels
20
-
21
- # The latest RepositoryVersion for this Repository will be served.
22
- attr_accessor :repository
23
-
24
- # An optional content-guard. If none is specified, a default one will be used.
25
- attr_accessor :content_guard
26
-
27
19
  # Whether this distribution should be shown in the content app.
28
20
  attr_accessor :hidden
29
21
 
22
+ # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
23
+ attr_accessor :base_path
24
+
30
25
  # A unique name. Ex, `rawhide` and `stable`.
31
26
  attr_accessor :name
32
27
 
33
- # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
34
- attr_accessor :base_path
28
+ # An optional content-guard. If none is specified, a default one will be used.
29
+ attr_accessor :content_guard
30
+
31
+ attr_accessor :pulp_labels
32
+
33
+ # The latest RepositoryVersion for this Repository will be served.
34
+ attr_accessor :repository
35
35
 
36
36
  # RepositoryVersion to be served
37
37
  attr_accessor :repository_version
@@ -45,12 +45,12 @@ module PulpContainerClient
45
45
  # Attribute mapping from ruby-style variable name to JSON key.
46
46
  def self.attribute_map
47
47
  {
48
- :'pulp_labels' => :'pulp_labels',
49
- :'repository' => :'repository',
50
- :'content_guard' => :'content_guard',
51
48
  :'hidden' => :'hidden',
52
- :'name' => :'name',
53
49
  :'base_path' => :'base_path',
50
+ :'name' => :'name',
51
+ :'content_guard' => :'content_guard',
52
+ :'pulp_labels' => :'pulp_labels',
53
+ :'repository' => :'repository',
54
54
  :'repository_version' => :'repository_version',
55
55
  :'private' => :'private',
56
56
  :'description' => :'description'
@@ -65,12 +65,12 @@ module PulpContainerClient
65
65
  # Attribute type mapping.
66
66
  def self.openapi_types
67
67
  {
68
- :'pulp_labels' => :'Hash<String, String>',
69
- :'repository' => :'String',
70
- :'content_guard' => :'String',
71
68
  :'hidden' => :'Boolean',
72
- :'name' => :'String',
73
69
  :'base_path' => :'String',
70
+ :'name' => :'String',
71
+ :'content_guard' => :'String',
72
+ :'pulp_labels' => :'Hash<String, String>',
73
+ :'repository' => :'String',
74
74
  :'repository_version' => :'String',
75
75
  :'private' => :'Boolean',
76
76
  :'description' => :'String'
@@ -101,36 +101,36 @@ module PulpContainerClient
101
101
  h[k.to_sym] = v
102
102
  }
103
103
 
104
- if attributes.key?(:'pulp_labels')
105
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
106
- self.pulp_labels = value
107
- end
108
- end
109
-
110
- if attributes.key?(:'repository')
111
- self.repository = attributes[:'repository']
112
- end
113
-
114
- if attributes.key?(:'content_guard')
115
- self.content_guard = attributes[:'content_guard']
116
- end
117
-
118
104
  if attributes.key?(:'hidden')
119
105
  self.hidden = attributes[:'hidden']
120
106
  else
121
107
  self.hidden = false
122
108
  end
123
109
 
110
+ if attributes.key?(:'base_path')
111
+ self.base_path = attributes[:'base_path']
112
+ else
113
+ self.base_path = nil
114
+ end
115
+
124
116
  if attributes.key?(:'name')
125
117
  self.name = attributes[:'name']
126
118
  else
127
119
  self.name = nil
128
120
  end
129
121
 
130
- if attributes.key?(:'base_path')
131
- self.base_path = attributes[:'base_path']
132
- else
133
- self.base_path = nil
122
+ if attributes.key?(:'content_guard')
123
+ self.content_guard = attributes[:'content_guard']
124
+ end
125
+
126
+ if attributes.key?(:'pulp_labels')
127
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
128
+ self.pulp_labels = value
129
+ end
130
+ end
131
+
132
+ if attributes.key?(:'repository')
133
+ self.repository = attributes[:'repository']
134
134
  end
135
135
 
136
136
  if attributes.key?(:'repository_version')
@@ -151,14 +151,6 @@ module PulpContainerClient
151
151
  def list_invalid_properties
152
152
  warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
153
153
  invalid_properties = Array.new
154
- if @name.nil?
155
- invalid_properties.push('invalid value for "name", name cannot be nil.')
156
- end
157
-
158
- if @name.to_s.length < 1
159
- invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
160
- end
161
-
162
154
  if @base_path.nil?
163
155
  invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
164
156
  end
@@ -167,6 +159,14 @@ module PulpContainerClient
167
159
  invalid_properties.push('invalid value for "base_path", the character length must be great than or equal to 1.')
168
160
  end
169
161
 
162
+ if @name.nil?
163
+ invalid_properties.push('invalid value for "name", name cannot be nil.')
164
+ end
165
+
166
+ if @name.to_s.length < 1
167
+ invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
168
+ end
169
+
170
170
  if !@description.nil? && @description.to_s.length < 1
171
171
  invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
172
172
  end
@@ -178,28 +178,14 @@ module PulpContainerClient
178
178
  # @return true if the model is valid
179
179
  def valid?
180
180
  warn '[DEPRECATED] the `valid?` method is obsolete'
181
- return false if @name.nil?
182
- return false if @name.to_s.length < 1
183
181
  return false if @base_path.nil?
184
182
  return false if @base_path.to_s.length < 1
183
+ return false if @name.nil?
184
+ return false if @name.to_s.length < 1
185
185
  return false if !@description.nil? && @description.to_s.length < 1
186
186
  true
187
187
  end
188
188
 
189
- # Custom attribute writer method with validation
190
- # @param [Object] name Value to be assigned
191
- def name=(name)
192
- if name.nil?
193
- fail ArgumentError, 'name cannot be nil'
194
- end
195
-
196
- if name.to_s.length < 1
197
- fail ArgumentError, 'invalid value for "name", the character length must be great than or equal to 1.'
198
- end
199
-
200
- @name = name
201
- end
202
-
203
189
  # Custom attribute writer method with validation
204
190
  # @param [Object] base_path Value to be assigned
205
191
  def base_path=(base_path)
@@ -214,6 +200,20 @@ module PulpContainerClient
214
200
  @base_path = base_path
215
201
  end
216
202
 
203
+ # Custom attribute writer method with validation
204
+ # @param [Object] name Value to be assigned
205
+ def name=(name)
206
+ if name.nil?
207
+ fail ArgumentError, 'name cannot be nil'
208
+ end
209
+
210
+ if name.to_s.length < 1
211
+ fail ArgumentError, 'invalid value for "name", the character length must be great than or equal to 1.'
212
+ end
213
+
214
+ @name = name
215
+ end
216
+
217
217
  # Custom attribute writer method with validation
218
218
  # @param [Object] description Value to be assigned
219
219
  def description=(description)
@@ -229,12 +229,12 @@ module PulpContainerClient
229
229
  def ==(o)
230
230
  return true if self.equal?(o)
231
231
  self.class == o.class &&
232
- pulp_labels == o.pulp_labels &&
233
- repository == o.repository &&
234
- content_guard == o.content_guard &&
235
232
  hidden == o.hidden &&
236
- name == o.name &&
237
233
  base_path == o.base_path &&
234
+ name == o.name &&
235
+ content_guard == o.content_guard &&
236
+ pulp_labels == o.pulp_labels &&
237
+ repository == o.repository &&
238
238
  repository_version == o.repository_version &&
239
239
  private == o.private &&
240
240
  description == o.description
@@ -249,7 +249,7 @@ module PulpContainerClient
249
249
  # Calculates hash code according to all attributes.
250
250
  # @return [Integer] Hash code
251
251
  def hash
252
- [pulp_labels, repository, content_guard, hidden, name, base_path, repository_version, private, description].hash
252
+ [hidden, base_path, name, content_guard, pulp_labels, repository, repository_version, private, description].hash
253
253
  end
254
254
 
255
255
  # Builds the object from hash