pulp_container_client 2.24.0 → 2.24.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +6 -5
- data/docs/ContainerBlobResponse.md +2 -0
- data/docs/ContainerContainerDistribution.md +8 -8
- data/docs/ContainerContainerDistributionResponse.md +14 -14
- data/docs/ContainerContainerPullThroughDistribution.md +8 -8
- data/docs/ContainerContainerPullThroughDistributionResponse.md +14 -14
- data/docs/ContainerContainerPushRepository.md +8 -8
- data/docs/ContainerContainerPushRepositoryResponse.md +14 -14
- 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/DistributionsContainerApi.md +2 -2
- data/docs/DistributionsPullThroughApi.md +2 -2
- data/docs/PatchedcontainerContainerDistribution.md +8 -8
- data/docs/PatchedcontainerContainerPullThroughDistribution.md +8 -8
- data/docs/PatchedcontainerContainerPushRepository.md +8 -8
- 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 +65 -65
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +73 -73
- data/lib/pulp_container_client/models/container_container_pull_through_distribution.rb +65 -65
- data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb +73 -73
- data/lib/pulp_container_client/models/container_container_push_repository.rb +48 -48
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +69 -69
- 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 +58 -58
- data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb +58 -58
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +48 -48
- 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 +11 -11
- data/spec/models/container_container_distribution_spec.rb +6 -6
- data/spec/models/container_container_pull_through_distribution_response_spec.rb +11 -11
- data/spec/models/container_container_pull_through_distribution_spec.rb +6 -6
- 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 +6 -6
- data/spec/models/patchedcontainer_container_pull_through_distribution_spec.rb +6 -6
- data/spec/models/patchedcontainer_container_push_repository_spec.rb +4 -4
- metadata +63 -63
@@ -4,12 +4,12 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
8
|
-
| **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional] |
|
9
|
-
| **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional] |
|
10
7
|
| **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional][default to false] |
|
11
|
-
| **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional] |
|
12
8
|
| **base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") | [optional] |
|
9
|
+
| **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional] |
|
10
|
+
| **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional] |
|
11
|
+
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
12
|
+
| **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional] |
|
13
13
|
| **remote** | **String** | Remote that can be used to fetch content when using pull-through caching. | [optional] |
|
14
14
|
| **distributions** | **Array<String>** | Distributions created after pulling content through cache | [optional] |
|
15
15
|
| **private** | **Boolean** | Restrict pull access to explicitly authorized users. Related distributions inherit this value. Defaults to unrestricted pull access. | [optional] |
|
@@ -21,12 +21,12 @@
|
|
21
21
|
require 'pulp_container_client'
|
22
22
|
|
23
23
|
instance = PulpContainerClient::PatchedcontainerContainerPullThroughDistribution.new(
|
24
|
-
pulp_labels: null,
|
25
|
-
repository: null,
|
26
|
-
content_guard: null,
|
27
24
|
hidden: null,
|
28
|
-
name: null,
|
29
25
|
base_path: null,
|
26
|
+
name: null,
|
27
|
+
content_guard: null,
|
28
|
+
pulp_labels: null,
|
29
|
+
repository: null,
|
30
30
|
remote: null,
|
31
31
|
distributions: null,
|
32
32
|
private: null,
|
@@ -4,11 +4,11 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
8
|
-
| **description** | **String** | An optional description. | [optional] |
|
9
|
-
| **name** | **String** | A unique name for this repository. | [optional] |
|
10
|
-
| **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional] |
|
11
7
|
| **manifest_signing_service** | **String** | A reference to an associated signing service. | [optional] |
|
8
|
+
| **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional] |
|
9
|
+
| **name** | **String** | A unique name for this repository. | [optional] |
|
10
|
+
| **description** | **String** | An optional description. | [optional] |
|
11
|
+
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
12
12
|
|
13
13
|
## Example
|
14
14
|
|
@@ -16,11 +16,11 @@
|
|
16
16
|
require 'pulp_container_client'
|
17
17
|
|
18
18
|
instance = PulpContainerClient::PatchedcontainerContainerPushRepository.new(
|
19
|
-
|
20
|
-
description: null,
|
21
|
-
name: null,
|
19
|
+
manifest_signing_service: null,
|
22
20
|
retain_repo_versions: null,
|
23
|
-
|
21
|
+
name: null,
|
22
|
+
description: null,
|
23
|
+
pulp_labels: null
|
24
24
|
)
|
25
25
|
```
|
26
26
|
|
@@ -26,11 +26,12 @@ module PulpContainerClient
|
|
26
26
|
# @option opts [Array<String>] :digest__in Filter results where digest is in a comma-separated list of values
|
27
27
|
# @option opts [Integer] :limit Number of results to return per page.
|
28
28
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
29
|
-
# @option opts [Array<String>] :ordering Ordering * `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,22 +16,22 @@ require 'time'
|
|
16
16
|
module PulpContainerClient
|
17
17
|
# A serializer for ContainerDistribution.
|
18
18
|
class ContainerContainerDistribution
|
19
|
-
attr_accessor :pulp_labels
|
20
|
-
|
21
|
-
# The latest RepositoryVersion for this Repository will be served.
|
22
|
-
attr_accessor :repository
|
23
|
-
|
24
|
-
# An optional content-guard. If none is specified, a default one will be used.
|
25
|
-
attr_accessor :content_guard
|
26
|
-
|
27
19
|
# Whether this distribution should be shown in the content app.
|
28
20
|
attr_accessor :hidden
|
29
21
|
|
22
|
+
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
23
|
+
attr_accessor :base_path
|
24
|
+
|
30
25
|
# A unique name. Ex, `rawhide` and `stable`.
|
31
26
|
attr_accessor :name
|
32
27
|
|
33
|
-
#
|
34
|
-
attr_accessor :
|
28
|
+
# An optional content-guard. If none is specified, a default one will be used.
|
29
|
+
attr_accessor :content_guard
|
30
|
+
|
31
|
+
attr_accessor :pulp_labels
|
32
|
+
|
33
|
+
# The latest RepositoryVersion for this Repository will be served.
|
34
|
+
attr_accessor :repository
|
35
35
|
|
36
36
|
# RepositoryVersion to be served
|
37
37
|
attr_accessor :repository_version
|
@@ -45,12 +45,12 @@ module PulpContainerClient
|
|
45
45
|
# Attribute mapping from ruby-style variable name to JSON key.
|
46
46
|
def self.attribute_map
|
47
47
|
{
|
48
|
-
:'pulp_labels' => :'pulp_labels',
|
49
|
-
:'repository' => :'repository',
|
50
|
-
:'content_guard' => :'content_guard',
|
51
48
|
:'hidden' => :'hidden',
|
52
|
-
:'name' => :'name',
|
53
49
|
:'base_path' => :'base_path',
|
50
|
+
:'name' => :'name',
|
51
|
+
:'content_guard' => :'content_guard',
|
52
|
+
:'pulp_labels' => :'pulp_labels',
|
53
|
+
:'repository' => :'repository',
|
54
54
|
:'repository_version' => :'repository_version',
|
55
55
|
:'private' => :'private',
|
56
56
|
:'description' => :'description'
|
@@ -65,12 +65,12 @@ module PulpContainerClient
|
|
65
65
|
# Attribute type mapping.
|
66
66
|
def self.openapi_types
|
67
67
|
{
|
68
|
-
:'pulp_labels' => :'Hash<String, String>',
|
69
|
-
:'repository' => :'String',
|
70
|
-
:'content_guard' => :'String',
|
71
68
|
:'hidden' => :'Boolean',
|
72
|
-
:'name' => :'String',
|
73
69
|
:'base_path' => :'String',
|
70
|
+
:'name' => :'String',
|
71
|
+
:'content_guard' => :'String',
|
72
|
+
:'pulp_labels' => :'Hash<String, String>',
|
73
|
+
:'repository' => :'String',
|
74
74
|
:'repository_version' => :'String',
|
75
75
|
:'private' => :'Boolean',
|
76
76
|
:'description' => :'String'
|
@@ -101,36 +101,36 @@ module PulpContainerClient
|
|
101
101
|
h[k.to_sym] = v
|
102
102
|
}
|
103
103
|
|
104
|
-
if attributes.key?(:'pulp_labels')
|
105
|
-
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
106
|
-
self.pulp_labels = value
|
107
|
-
end
|
108
|
-
end
|
109
|
-
|
110
|
-
if attributes.key?(:'repository')
|
111
|
-
self.repository = attributes[:'repository']
|
112
|
-
end
|
113
|
-
|
114
|
-
if attributes.key?(:'content_guard')
|
115
|
-
self.content_guard = attributes[:'content_guard']
|
116
|
-
end
|
117
|
-
|
118
104
|
if attributes.key?(:'hidden')
|
119
105
|
self.hidden = attributes[:'hidden']
|
120
106
|
else
|
121
107
|
self.hidden = false
|
122
108
|
end
|
123
109
|
|
110
|
+
if attributes.key?(:'base_path')
|
111
|
+
self.base_path = attributes[:'base_path']
|
112
|
+
else
|
113
|
+
self.base_path = nil
|
114
|
+
end
|
115
|
+
|
124
116
|
if attributes.key?(:'name')
|
125
117
|
self.name = attributes[:'name']
|
126
118
|
else
|
127
119
|
self.name = nil
|
128
120
|
end
|
129
121
|
|
130
|
-
if attributes.key?(:'
|
131
|
-
self.
|
132
|
-
|
133
|
-
|
122
|
+
if attributes.key?(:'content_guard')
|
123
|
+
self.content_guard = attributes[:'content_guard']
|
124
|
+
end
|
125
|
+
|
126
|
+
if attributes.key?(:'pulp_labels')
|
127
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
128
|
+
self.pulp_labels = value
|
129
|
+
end
|
130
|
+
end
|
131
|
+
|
132
|
+
if attributes.key?(:'repository')
|
133
|
+
self.repository = attributes[:'repository']
|
134
134
|
end
|
135
135
|
|
136
136
|
if attributes.key?(:'repository_version')
|
@@ -151,14 +151,6 @@ module PulpContainerClient
|
|
151
151
|
def list_invalid_properties
|
152
152
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
153
153
|
invalid_properties = Array.new
|
154
|
-
if @name.nil?
|
155
|
-
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
156
|
-
end
|
157
|
-
|
158
|
-
if @name.to_s.length < 1
|
159
|
-
invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
|
160
|
-
end
|
161
|
-
|
162
154
|
if @base_path.nil?
|
163
155
|
invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
|
164
156
|
end
|
@@ -167,6 +159,14 @@ module PulpContainerClient
|
|
167
159
|
invalid_properties.push('invalid value for "base_path", the character length must be great than or equal to 1.')
|
168
160
|
end
|
169
161
|
|
162
|
+
if @name.nil?
|
163
|
+
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
164
|
+
end
|
165
|
+
|
166
|
+
if @name.to_s.length < 1
|
167
|
+
invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
|
168
|
+
end
|
169
|
+
|
170
170
|
if !@description.nil? && @description.to_s.length < 1
|
171
171
|
invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
|
172
172
|
end
|
@@ -178,28 +178,14 @@ module PulpContainerClient
|
|
178
178
|
# @return true if the model is valid
|
179
179
|
def valid?
|
180
180
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
181
|
-
return false if @name.nil?
|
182
|
-
return false if @name.to_s.length < 1
|
183
181
|
return false if @base_path.nil?
|
184
182
|
return false if @base_path.to_s.length < 1
|
183
|
+
return false if @name.nil?
|
184
|
+
return false if @name.to_s.length < 1
|
185
185
|
return false if !@description.nil? && @description.to_s.length < 1
|
186
186
|
true
|
187
187
|
end
|
188
188
|
|
189
|
-
# Custom attribute writer method with validation
|
190
|
-
# @param [Object] name Value to be assigned
|
191
|
-
def name=(name)
|
192
|
-
if name.nil?
|
193
|
-
fail ArgumentError, 'name cannot be nil'
|
194
|
-
end
|
195
|
-
|
196
|
-
if name.to_s.length < 1
|
197
|
-
fail ArgumentError, 'invalid value for "name", the character length must be great than or equal to 1.'
|
198
|
-
end
|
199
|
-
|
200
|
-
@name = name
|
201
|
-
end
|
202
|
-
|
203
189
|
# Custom attribute writer method with validation
|
204
190
|
# @param [Object] base_path Value to be assigned
|
205
191
|
def base_path=(base_path)
|
@@ -214,6 +200,20 @@ module PulpContainerClient
|
|
214
200
|
@base_path = base_path
|
215
201
|
end
|
216
202
|
|
203
|
+
# Custom attribute writer method with validation
|
204
|
+
# @param [Object] name Value to be assigned
|
205
|
+
def name=(name)
|
206
|
+
if name.nil?
|
207
|
+
fail ArgumentError, 'name cannot be nil'
|
208
|
+
end
|
209
|
+
|
210
|
+
if name.to_s.length < 1
|
211
|
+
fail ArgumentError, 'invalid value for "name", the character length must be great than or equal to 1.'
|
212
|
+
end
|
213
|
+
|
214
|
+
@name = name
|
215
|
+
end
|
216
|
+
|
217
217
|
# Custom attribute writer method with validation
|
218
218
|
# @param [Object] description Value to be assigned
|
219
219
|
def description=(description)
|
@@ -229,12 +229,12 @@ module PulpContainerClient
|
|
229
229
|
def ==(o)
|
230
230
|
return true if self.equal?(o)
|
231
231
|
self.class == o.class &&
|
232
|
-
pulp_labels == o.pulp_labels &&
|
233
|
-
repository == o.repository &&
|
234
|
-
content_guard == o.content_guard &&
|
235
232
|
hidden == o.hidden &&
|
236
|
-
name == o.name &&
|
237
233
|
base_path == o.base_path &&
|
234
|
+
name == o.name &&
|
235
|
+
content_guard == o.content_guard &&
|
236
|
+
pulp_labels == o.pulp_labels &&
|
237
|
+
repository == o.repository &&
|
238
238
|
repository_version == o.repository_version &&
|
239
239
|
private == o.private &&
|
240
240
|
description == o.description
|
@@ -249,7 +249,7 @@ module PulpContainerClient
|
|
249
249
|
# Calculates hash code according to all attributes.
|
250
250
|
# @return [Integer] Hash code
|
251
251
|
def hash
|
252
|
-
[
|
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
|