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.
- checksums.yaml +4 -4
- data/README.md +6 -5
- data/docs/ContainerBlobResponse.md +2 -0
- data/docs/ContainerContainerDistribution.md +4 -4
- data/docs/ContainerContainerDistributionResponse.md +10 -10
- data/docs/ContainerContainerPullThroughDistribution.md +4 -4
- data/docs/ContainerContainerPullThroughDistributionResponse.md +10 -10
- data/docs/ContainerContainerPushRepository.md +6 -6
- data/docs/ContainerContainerPushRepositoryResponse.md +13 -13
- data/docs/ContainerManifestResponse.md +2 -0
- data/docs/ContainerManifestSignatureResponse.md +2 -0
- data/docs/ContainerTagResponse.md +2 -0
- data/docs/ContentBlobsApi.md +4 -2
- data/docs/ContentManifestsApi.md +4 -2
- data/docs/ContentSignaturesApi.md +4 -2
- data/docs/ContentTagsApi.md +4 -2
- data/docs/PatchedcontainerContainerDistribution.md +4 -4
- data/docs/PatchedcontainerContainerPullThroughDistribution.md +4 -4
- data/docs/PatchedcontainerContainerPushRepository.md +6 -6
- data/lib/pulp_container_client/api/content_blobs_api.rb +6 -3
- data/lib/pulp_container_client/api/content_manifests_api.rb +6 -3
- data/lib/pulp_container_client/api/content_signatures_api.rb +6 -3
- data/lib/pulp_container_client/api/content_tags_api.rb +6 -3
- data/lib/pulp_container_client/models/container_blob_response.rb +13 -1
- data/lib/pulp_container_client/models/container_container_distribution.rb +24 -24
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +47 -47
- data/lib/pulp_container_client/models/container_container_pull_through_distribution.rb +24 -24
- data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb +47 -47
- data/lib/pulp_container_client/models/container_container_push_repository.rb +44 -44
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +62 -62
- data/lib/pulp_container_client/models/container_manifest_response.rb +13 -1
- data/lib/pulp_container_client/models/container_manifest_signature_response.rb +13 -1
- data/lib/pulp_container_client/models/container_tag_response.rb +13 -1
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +24 -24
- data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb +24 -24
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +42 -42
- data/lib/pulp_container_client/version.rb +1 -1
- data/spec/api/content_blobs_api_spec.rb +2 -1
- data/spec/api/content_manifests_api_spec.rb +2 -1
- data/spec/api/content_signatures_api_spec.rb +2 -1
- data/spec/api/content_tags_api_spec.rb +2 -1
- data/spec/models/container_blob_response_spec.rb +6 -0
- data/spec/models/container_container_distribution_response_spec.rb +7 -7
- data/spec/models/container_container_distribution_spec.rb +4 -4
- data/spec/models/container_container_pull_through_distribution_response_spec.rb +7 -7
- data/spec/models/container_container_pull_through_distribution_spec.rb +4 -4
- data/spec/models/container_container_push_repository_response_spec.rb +11 -11
- data/spec/models/container_container_push_repository_spec.rb +4 -4
- data/spec/models/container_manifest_response_spec.rb +6 -0
- data/spec/models/container_manifest_signature_response_spec.rb +6 -0
- data/spec/models/container_tag_response_spec.rb +6 -0
- data/spec/models/patchedcontainer_container_distribution_spec.rb +4 -4
- data/spec/models/patchedcontainer_container_pull_through_distribution_spec.rb +4 -4
- data/spec/models/patchedcontainer_container_push_repository_spec.rb +4 -4
- 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 * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `digest` - Digest * `-digest` - Digest (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
29
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `digest` - Digest * `-digest` - Digest (descending) * `pk` - Pk * `-pk` - 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 * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `digest` - Digest * `-digest` - Digest (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
54
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `digest` - Digest * `-digest` - Digest (descending) * `pk` - Pk * `-pk` - 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 * `application/vnd.docker.distribution.manifest.v1+json` - application/vnd.docker.distribution.manifest.v1+json * `application/vnd.docker.distribution.manifest.v2+json` - application/vnd.docker.distribution.manifest.v2+json * `application/vnd.docker.distribution.manifest.list.v2+json` - application/vnd.docker.distribution.manifest.list.v2+json * `application/vnd.oci.image.manifest.v1+json` - application/vnd.oci.image.manifest.v1+json * `application/vnd.oci.image.index.v1+json` - 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 * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `digest` - Digest * `-digest` - Digest (descending) * `schema_version` - Schema version * `-schema_version` - Schema version (descending) * `media_type` - Media type * `-media_type` - Media type (descending) * `type` - Type * `-type` - Type (descending) * `data` - Data * `-data` - Data (descending) * `annotations` - Annotations * `-annotations` - Annotations (descending) * `labels` - Labels * `-labels` - Labels (descending) * `architecture` - Architecture * `-architecture` - Architecture (descending) * `os` - Os * `-os` - Os (descending) * `compressed_image_size` - Compressed image size * `-compressed_image_size` - Compressed image size (descending) * `is_bootable` - Is bootable * `-is_bootable` - Is bootable (descending) * `is_flatpak` - Is flatpak * `-is_flatpak` - Is flatpak (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
32
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `digest` - Digest * `-digest` - Digest (descending) * `schema_version` - Schema version * `-schema_version` - Schema version (descending) * `media_type` - Media type * `-media_type` - Media type (descending) * `type` - Type * `-type` - Type (descending) * `data` - Data * `-data` - Data (descending) * `annotations` - Annotations * `-annotations` - Annotations (descending) * `labels` - Labels * `-labels` - Labels (descending) * `architecture` - Architecture * `-architecture` - Architecture (descending) * `os` - Os * `-os` - Os (descending) * `compressed_image_size` - Compressed image size * `-compressed_image_size` - Compressed image size (descending) * `is_bootable` - Is bootable * `-is_bootable` - Is bootable (descending) * `is_flatpak` - Is flatpak * `-is_flatpak` - Is flatpak (descending) * `pk` - Pk * `-pk` - 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 * `application/vnd.docker.distribution.manifest.v1+json` - application/vnd.docker.distribution.manifest.v1+json * `application/vnd.docker.distribution.manifest.v2+json` - application/vnd.docker.distribution.manifest.v2+json * `application/vnd.docker.distribution.manifest.list.v2+json` - application/vnd.docker.distribution.manifest.list.v2+json * `application/vnd.oci.image.manifest.v1+json` - application/vnd.oci.image.manifest.v1+json * `application/vnd.oci.image.index.v1+json` - 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 * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `digest` - Digest * `-digest` - Digest (descending) * `schema_version` - Schema version * `-schema_version` - Schema version (descending) * `media_type` - Media type * `-media_type` - Media type (descending) * `type` - Type * `-type` - Type (descending) * `data` - Data * `-data` - Data (descending) * `annotations` - Annotations * `-annotations` - Annotations (descending) * `labels` - Labels * `-labels` - Labels (descending) * `architecture` - Architecture * `-architecture` - Architecture (descending) * `os` - Os * `-os` - Os (descending) * `compressed_image_size` - Compressed image size * `-compressed_image_size` - Compressed image size (descending) * `is_bootable` - Is bootable * `-is_bootable` - Is bootable (descending) * `is_flatpak` - Is flatpak * `-is_flatpak` - Is flatpak (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
60
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `digest` - Digest * `-digest` - Digest (descending) * `schema_version` - Schema version * `-schema_version` - Schema version (descending) * `media_type` - Media type * `-media_type` - Media type (descending) * `type` - Type * `-type` - Type (descending) * `data` - Data * `-data` - Data (descending) * `annotations` - Annotations * `-annotations` - Annotations (descending) * `labels` - Labels * `-labels` - Labels (descending) * `architecture` - Architecture * `-architecture` - Architecture (descending) * `os` - Os * `-os` - Os (descending) * `compressed_image_size` - Compressed image size * `-compressed_image_size` - Compressed image size (descending) * `is_bootable` - Is bootable * `-is_bootable` - Is bootable (descending) * `is_flatpak` - Is flatpak * `-is_flatpak` - Is flatpak (descending) * `pk` - Pk * `-pk` - 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 * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `name` - Name * `-name` - Name (descending) * `digest` - Digest * `-digest` - Digest (descending) * `type` - Type * `-type` - Type (descending) * `key_id` - Key id * `-key_id` - Key id (descending) * `timestamp` - Timestamp * `-timestamp` - Timestamp (descending) * `creator` - Creator * `-creator` - Creator (descending) * `data` - Data * `-data` - Data (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
41
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `name` - Name * `-name` - Name (descending) * `digest` - Digest * `-digest` - Digest (descending) * `type` - Type * `-type` - Type (descending) * `key_id` - Key id * `-key_id` - Key id (descending) * `timestamp` - Timestamp * `-timestamp` - Timestamp (descending) * `creator` - Creator * `-creator` - Creator (descending) * `data` - Data * `-data` - Data (descending) * `pk` - Pk * `-pk` - 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 * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `name` - Name * `-name` - Name (descending) * `digest` - Digest * `-digest` - Digest (descending) * `type` - Type * `-type` - Type (descending) * `key_id` - Key id * `-key_id` - Key id (descending) * `timestamp` - Timestamp * `-timestamp` - Timestamp (descending) * `creator` - Creator * `-creator` - Creator (descending) * `data` - Data * `-data` - Data (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
78
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `name` - Name * `-name` - Name (descending) * `digest` - Digest * `-digest` - Digest (descending) * `type` - Type * `-type` - Type (descending) * `key_id` - Key id * `-key_id` - Key id (descending) * `timestamp` - Timestamp * `-timestamp` - Timestamp (descending) * `creator` - Creator * `-creator` - Creator (descending) * `data` - Data * `-data` - Data (descending) * `pk` - Pk * `-pk` - 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 * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `name` - Name * `-name` - Name (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
31
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `name` - Name * `-name` - Name (descending) * `pk` - Pk * `-pk` - 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 * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `name` - Name * `-name` - Name (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
58
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `name` - Name * `-name` - Name (descending) * `pk` - Pk * `-pk` - 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
|
-
[
|
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
|
20
|
-
attr_accessor :
|
19
|
+
# The Pulp Resource Name (PRN).
|
20
|
+
attr_accessor :prn
|
21
21
|
|
22
|
-
attr_accessor :
|
22
|
+
attr_accessor :pulp_href
|
23
23
|
|
24
|
-
#
|
25
|
-
attr_accessor :
|
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
|
31
|
-
attr_accessor :
|
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
|
-
|
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?(:'
|
144
|
-
self.
|
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?(:'
|
150
|
-
|
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?(:'
|
156
|
-
self.
|
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?(:'
|
168
|
-
self.
|
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?(:'
|
172
|
-
self.
|
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?(:'
|
180
|
-
|
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?(:'
|
184
|
-
self.
|
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
|
-
[
|
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
|