pulp_container_client 2.23.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 (55) 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 +4 -4
  5. data/docs/ContainerContainerDistributionResponse.md +10 -10
  6. data/docs/ContainerContainerPullThroughDistribution.md +4 -4
  7. data/docs/ContainerContainerPullThroughDistributionResponse.md +10 -10
  8. data/docs/ContainerContainerPushRepository.md +6 -6
  9. data/docs/ContainerContainerPushRepositoryResponse.md +13 -13
  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/PatchedcontainerContainerDistribution.md +4 -4
  18. data/docs/PatchedcontainerContainerPullThroughDistribution.md +4 -4
  19. data/docs/PatchedcontainerContainerPushRepository.md +6 -6
  20. data/lib/pulp_container_client/api/content_blobs_api.rb +6 -3
  21. data/lib/pulp_container_client/api/content_manifests_api.rb +6 -3
  22. data/lib/pulp_container_client/api/content_signatures_api.rb +6 -3
  23. data/lib/pulp_container_client/api/content_tags_api.rb +6 -3
  24. data/lib/pulp_container_client/models/container_blob_response.rb +13 -1
  25. data/lib/pulp_container_client/models/container_container_distribution.rb +24 -24
  26. data/lib/pulp_container_client/models/container_container_distribution_response.rb +47 -47
  27. data/lib/pulp_container_client/models/container_container_pull_through_distribution.rb +24 -24
  28. data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb +47 -47
  29. data/lib/pulp_container_client/models/container_container_push_repository.rb +44 -44
  30. data/lib/pulp_container_client/models/container_container_push_repository_response.rb +62 -62
  31. data/lib/pulp_container_client/models/container_manifest_response.rb +13 -1
  32. data/lib/pulp_container_client/models/container_manifest_signature_response.rb +13 -1
  33. data/lib/pulp_container_client/models/container_tag_response.rb +13 -1
  34. data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +24 -24
  35. data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb +24 -24
  36. data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +42 -42
  37. data/lib/pulp_container_client/version.rb +1 -1
  38. data/spec/api/content_blobs_api_spec.rb +2 -1
  39. data/spec/api/content_manifests_api_spec.rb +2 -1
  40. data/spec/api/content_signatures_api_spec.rb +2 -1
  41. data/spec/api/content_tags_api_spec.rb +2 -1
  42. data/spec/models/container_blob_response_spec.rb +6 -0
  43. data/spec/models/container_container_distribution_response_spec.rb +7 -7
  44. data/spec/models/container_container_distribution_spec.rb +4 -4
  45. data/spec/models/container_container_pull_through_distribution_response_spec.rb +7 -7
  46. data/spec/models/container_container_pull_through_distribution_spec.rb +4 -4
  47. data/spec/models/container_container_push_repository_response_spec.rb +11 -11
  48. data/spec/models/container_container_push_repository_spec.rb +4 -4
  49. data/spec/models/container_manifest_response_spec.rb +6 -0
  50. data/spec/models/container_manifest_signature_response_spec.rb +6 -0
  51. data/spec/models/container_tag_response_spec.rb +6 -0
  52. data/spec/models/patchedcontainer_container_distribution_spec.rb +4 -4
  53. data/spec/models/patchedcontainer_container_pull_through_distribution_spec.rb +4 -4
  54. data/spec/models/patchedcontainer_container_push_repository_spec.rb +4 -4
  55. metadata +63 -63
@@ -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,20 +16,20 @@ require 'time'
16
16
  module PulpContainerClient
17
17
  # A serializer for ContainerDistribution.
18
18
  class ContainerContainerDistribution
19
+ # Whether this distribution should be shown in the content app.
20
+ attr_accessor :hidden
21
+
19
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\")
20
23
  attr_accessor :base_path
21
24
 
22
- attr_accessor :pulp_labels
23
-
24
25
  # A unique name. Ex, `rawhide` and `stable`.
25
26
  attr_accessor :name
26
27
 
27
- # Whether this distribution should be shown in the content app.
28
- attr_accessor :hidden
29
-
30
28
  # An optional content-guard. If none is specified, a default one will be used.
31
29
  attr_accessor :content_guard
32
30
 
31
+ attr_accessor :pulp_labels
32
+
33
33
  # The latest RepositoryVersion for this Repository will be served.
34
34
  attr_accessor :repository
35
35
 
@@ -45,11 +45,11 @@ module PulpContainerClient
45
45
  # Attribute mapping from ruby-style variable name to JSON key.
46
46
  def self.attribute_map
47
47
  {
48
+ :'hidden' => :'hidden',
48
49
  :'base_path' => :'base_path',
49
- :'pulp_labels' => :'pulp_labels',
50
50
  :'name' => :'name',
51
- :'hidden' => :'hidden',
52
51
  :'content_guard' => :'content_guard',
52
+ :'pulp_labels' => :'pulp_labels',
53
53
  :'repository' => :'repository',
54
54
  :'repository_version' => :'repository_version',
55
55
  :'private' => :'private',
@@ -65,11 +65,11 @@ module PulpContainerClient
65
65
  # Attribute type mapping.
66
66
  def self.openapi_types
67
67
  {
68
+ :'hidden' => :'Boolean',
68
69
  :'base_path' => :'String',
69
- :'pulp_labels' => :'Hash<String, String>',
70
70
  :'name' => :'String',
71
- :'hidden' => :'Boolean',
72
71
  :'content_guard' => :'String',
72
+ :'pulp_labels' => :'Hash<String, String>',
73
73
  :'repository' => :'String',
74
74
  :'repository_version' => :'String',
75
75
  :'private' => :'Boolean',
@@ -101,34 +101,34 @@ module PulpContainerClient
101
101
  h[k.to_sym] = v
102
102
  }
103
103
 
104
+ if attributes.key?(:'hidden')
105
+ self.hidden = attributes[:'hidden']
106
+ else
107
+ self.hidden = false
108
+ end
109
+
104
110
  if attributes.key?(:'base_path')
105
111
  self.base_path = attributes[:'base_path']
106
112
  else
107
113
  self.base_path = nil
108
114
  end
109
115
 
110
- if attributes.key?(:'pulp_labels')
111
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
112
- self.pulp_labels = value
113
- end
114
- end
115
-
116
116
  if attributes.key?(:'name')
117
117
  self.name = attributes[:'name']
118
118
  else
119
119
  self.name = nil
120
120
  end
121
121
 
122
- if attributes.key?(:'hidden')
123
- self.hidden = attributes[:'hidden']
124
- else
125
- self.hidden = false
126
- end
127
-
128
122
  if attributes.key?(:'content_guard')
129
123
  self.content_guard = attributes[:'content_guard']
130
124
  end
131
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
132
  if attributes.key?(:'repository')
133
133
  self.repository = attributes[:'repository']
134
134
  end
@@ -229,11 +229,11 @@ module PulpContainerClient
229
229
  def ==(o)
230
230
  return true if self.equal?(o)
231
231
  self.class == o.class &&
232
+ hidden == o.hidden &&
232
233
  base_path == o.base_path &&
233
- pulp_labels == o.pulp_labels &&
234
234
  name == o.name &&
235
- hidden == o.hidden &&
236
235
  content_guard == o.content_guard &&
236
+ pulp_labels == o.pulp_labels &&
237
237
  repository == o.repository &&
238
238
  repository_version == o.repository_version &&
239
239
  private == o.private &&
@@ -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
- [base_path, pulp_labels, name, hidden, content_guard, repository, 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
@@ -16,31 +16,31 @@ require 'time'
16
16
  module PulpContainerClient
17
17
  # A serializer for ContainerDistribution.
18
18
  class ContainerContainerDistributionResponse
19
- # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
20
- attr_accessor :base_path
19
+ # The Pulp Resource Name (PRN).
20
+ attr_accessor :prn
21
21
 
22
- attr_accessor :pulp_labels
22
+ attr_accessor :pulp_href
23
23
 
24
- # A unique name. Ex, `rawhide` and `stable`.
25
- attr_accessor :name
24
+ # 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.
25
+ attr_accessor :pulp_last_updated
26
26
 
27
27
  # Whether this distribution should be shown in the content app.
28
28
  attr_accessor :hidden
29
29
 
30
- # The Pulp Resource Name (PRN).
31
- attr_accessor :prn
30
+ # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
31
+ attr_accessor :base_path
32
32
 
33
- attr_accessor :pulp_href
33
+ # A unique name. Ex, `rawhide` and `stable`.
34
+ attr_accessor :name
34
35
 
35
36
  # An optional content-guard. If none is specified, a default one will be used.
36
37
  attr_accessor :content_guard
37
38
 
39
+ attr_accessor :pulp_labels
40
+
38
41
  # Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.
39
42
  attr_accessor :no_content_change_since
40
43
 
41
- # 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.
42
- attr_accessor :pulp_last_updated
43
-
44
44
  # Timestamp of creation.
45
45
  attr_accessor :pulp_created
46
46
 
@@ -68,15 +68,15 @@ module PulpContainerClient
68
68
  # Attribute mapping from ruby-style variable name to JSON key.
69
69
  def self.attribute_map
70
70
  {
71
- :'base_path' => :'base_path',
72
- :'pulp_labels' => :'pulp_labels',
73
- :'name' => :'name',
74
- :'hidden' => :'hidden',
75
71
  :'prn' => :'prn',
76
72
  :'pulp_href' => :'pulp_href',
73
+ :'pulp_last_updated' => :'pulp_last_updated',
74
+ :'hidden' => :'hidden',
75
+ :'base_path' => :'base_path',
76
+ :'name' => :'name',
77
77
  :'content_guard' => :'content_guard',
78
+ :'pulp_labels' => :'pulp_labels',
78
79
  :'no_content_change_since' => :'no_content_change_since',
79
- :'pulp_last_updated' => :'pulp_last_updated',
80
80
  :'pulp_created' => :'pulp_created',
81
81
  :'repository' => :'repository',
82
82
  :'repository_version' => :'repository_version',
@@ -96,15 +96,15 @@ module PulpContainerClient
96
96
  # Attribute type mapping.
97
97
  def self.openapi_types
98
98
  {
99
- :'base_path' => :'String',
100
- :'pulp_labels' => :'Hash<String, String>',
101
- :'name' => :'String',
102
- :'hidden' => :'Boolean',
103
99
  :'prn' => :'String',
104
100
  :'pulp_href' => :'String',
101
+ :'pulp_last_updated' => :'Time',
102
+ :'hidden' => :'Boolean',
103
+ :'base_path' => :'String',
104
+ :'name' => :'String',
105
105
  :'content_guard' => :'String',
106
+ :'pulp_labels' => :'Hash<String, String>',
106
107
  :'no_content_change_since' => :'String',
107
- :'pulp_last_updated' => :'Time',
108
108
  :'pulp_created' => :'Time',
109
109
  :'repository' => :'String',
110
110
  :'repository_version' => :'String',
@@ -140,22 +140,16 @@ module PulpContainerClient
140
140
  h[k.to_sym] = v
141
141
  }
142
142
 
143
- if attributes.key?(:'base_path')
144
- self.base_path = attributes[:'base_path']
145
- else
146
- self.base_path = nil
143
+ if attributes.key?(:'prn')
144
+ self.prn = attributes[:'prn']
147
145
  end
148
146
 
149
- if attributes.key?(:'pulp_labels')
150
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
151
- self.pulp_labels = value
152
- end
147
+ if attributes.key?(:'pulp_href')
148
+ self.pulp_href = attributes[:'pulp_href']
153
149
  end
154
150
 
155
- if attributes.key?(:'name')
156
- self.name = attributes[:'name']
157
- else
158
- self.name = nil
151
+ if attributes.key?(:'pulp_last_updated')
152
+ self.pulp_last_updated = attributes[:'pulp_last_updated']
159
153
  end
160
154
 
161
155
  if attributes.key?(:'hidden')
@@ -164,24 +158,30 @@ module PulpContainerClient
164
158
  self.hidden = false
165
159
  end
166
160
 
167
- if attributes.key?(:'prn')
168
- self.prn = attributes[:'prn']
161
+ if attributes.key?(:'base_path')
162
+ self.base_path = attributes[:'base_path']
163
+ else
164
+ self.base_path = nil
169
165
  end
170
166
 
171
- if attributes.key?(:'pulp_href')
172
- self.pulp_href = attributes[:'pulp_href']
167
+ if attributes.key?(:'name')
168
+ self.name = attributes[:'name']
169
+ else
170
+ self.name = nil
173
171
  end
174
172
 
175
173
  if attributes.key?(:'content_guard')
176
174
  self.content_guard = attributes[:'content_guard']
177
175
  end
178
176
 
179
- if attributes.key?(:'no_content_change_since')
180
- self.no_content_change_since = attributes[:'no_content_change_since']
177
+ if attributes.key?(:'pulp_labels')
178
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
179
+ self.pulp_labels = value
180
+ end
181
181
  end
182
182
 
183
- if attributes.key?(:'pulp_last_updated')
184
- self.pulp_last_updated = attributes[:'pulp_last_updated']
183
+ if attributes.key?(:'no_content_change_since')
184
+ self.no_content_change_since = attributes[:'no_content_change_since']
185
185
  end
186
186
 
187
187
  if attributes.key?(:'pulp_created')
@@ -247,15 +247,15 @@ module PulpContainerClient
247
247
  def ==(o)
248
248
  return true if self.equal?(o)
249
249
  self.class == o.class &&
250
- base_path == o.base_path &&
251
- pulp_labels == o.pulp_labels &&
252
- name == o.name &&
253
- hidden == o.hidden &&
254
250
  prn == o.prn &&
255
251
  pulp_href == o.pulp_href &&
252
+ pulp_last_updated == o.pulp_last_updated &&
253
+ hidden == o.hidden &&
254
+ base_path == o.base_path &&
255
+ name == o.name &&
256
256
  content_guard == o.content_guard &&
257
+ pulp_labels == o.pulp_labels &&
257
258
  no_content_change_since == o.no_content_change_since &&
258
- pulp_last_updated == o.pulp_last_updated &&
259
259
  pulp_created == o.pulp_created &&
260
260
  repository == o.repository &&
261
261
  repository_version == o.repository_version &&
@@ -275,7 +275,7 @@ module PulpContainerClient
275
275
  # Calculates hash code according to all attributes.
276
276
  # @return [Integer] Hash code
277
277
  def hash
278
- [base_path, pulp_labels, name, hidden, prn, pulp_href, content_guard, no_content_change_since, pulp_last_updated, pulp_created, repository, repository_version, registry_path, remote, namespace, private, description].hash
278
+ [prn, pulp_href, pulp_last_updated, hidden, base_path, name, content_guard, pulp_labels, no_content_change_since, pulp_created, repository, repository_version, registry_path, remote, namespace, private, description].hash
279
279
  end
280
280
 
281
281
  # Builds the object from hash