pulp_container_client 2.15.0 → 2.15.2
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 +4 -4
- data/docs/ContainerContainerDistribution.md +4 -2
- data/docs/ContainerContainerDistributionResponse.md +9 -7
- data/docs/ContainerContainerPushRepository.md +6 -6
- data/docs/ContainerContainerPushRepositoryResponse.md +14 -14
- data/docs/ContentManifestsApi.md +2 -2
- data/docs/ContentTagsApi.md +2 -2
- data/docs/DistributionsContainerApi.md +2 -2
- data/docs/PatchedcontainerContainerDistribution.md +4 -2
- data/docs/PatchedcontainerContainerPushRepository.md +6 -6
- data/lib/pulp_container_client/api/content_manifests_api.rb +2 -2
- data/lib/pulp_container_client/api/content_tags_api.rb +2 -2
- data/lib/pulp_container_client/api/distributions_container_api.rb +3 -3
- data/lib/pulp_container_client/models/container_container_distribution.rb +20 -8
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +36 -24
- data/lib/pulp_container_client/models/container_container_push_repository.rb +42 -42
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +57 -57
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +20 -8
- 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_manifests_api_spec.rb +1 -1
- data/spec/api/content_tags_api_spec.rb +1 -1
- data/spec/api/distributions_container_api_spec.rb +1 -1
- data/spec/models/container_container_distribution_response_spec.rb +12 -6
- data/spec/models/container_container_distribution_spec.rb +7 -1
- data/spec/models/container_container_push_repository_response_spec.rb +9 -9
- data/spec/models/container_container_push_repository_spec.rb +4 -4
- data/spec/models/patchedcontainer_container_distribution_spec.rb +7 -1
- data/spec/models/patchedcontainer_container_push_repository_spec.rb +4 -4
- metadata +47 -47
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5eb1ad52620f56999122062b17117e8ebcc9a3fd03db67ed3530166a67160d1c
|
|
4
|
+
data.tar.gz: b3c23dd75d6800d0c6e1169768096fd802c85079ac02be12468b118e0608878e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 397ba2611bbba69ef725b85c6074d45f888797e1a6f1b1cde5a2bf8cda039700ded20d63e44f9e845f5abc43d3a716852c1dd78946434e46210294a5a9534340
|
|
7
|
+
data.tar.gz: 11d4693ff4f756768d27118dcee3282ecd3c671364325fc9615c630d7c1594178922796b1a72bf9d9436c66d141a3b3ff6556629e4dfc66cdcc783b9603c281d
|
data/README.md
CHANGED
|
@@ -7,7 +7,7 @@ Fetch, Upload, Organize, and Distribute Software Packages
|
|
|
7
7
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
8
8
|
|
|
9
9
|
- API version: v3
|
|
10
|
-
- Package version: 2.15.
|
|
10
|
+
- Package version: 2.15.2
|
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
|
12
12
|
For more information, please visit [https://pulpproject.org](https://pulpproject.org)
|
|
13
13
|
|
|
@@ -24,16 +24,16 @@ gem build pulp_container_client.gemspec
|
|
|
24
24
|
Then either install the gem locally:
|
|
25
25
|
|
|
26
26
|
```shell
|
|
27
|
-
gem install ./pulp_container_client-2.15.
|
|
27
|
+
gem install ./pulp_container_client-2.15.2.gem
|
|
28
28
|
```
|
|
29
29
|
|
|
30
|
-
(for development, run `gem install --dev ./pulp_container_client-2.15.
|
|
30
|
+
(for development, run `gem install --dev ./pulp_container_client-2.15.2.gem` to install the development dependencies)
|
|
31
31
|
|
|
32
32
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
|
33
33
|
|
|
34
34
|
Finally add this to the Gemfile:
|
|
35
35
|
|
|
36
|
-
gem 'pulp_container_client', '~> 2.15.
|
|
36
|
+
gem 'pulp_container_client', '~> 2.15.2'
|
|
37
37
|
|
|
38
38
|
### Install from Git
|
|
39
39
|
|
|
@@ -5,9 +5,10 @@
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
7
|
**pulp_labels** | **Hash<String, String>** | | [optional]
|
|
8
|
+
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
|
8
9
|
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
|
9
10
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
|
10
|
-
**
|
|
11
|
+
**hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
|
|
11
12
|
**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\") |
|
|
12
13
|
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
|
13
14
|
**private** | **Boolean** | Restrict pull access to explicitly authorized users. Defaults to unrestricted pull access. | [optional]
|
|
@@ -19,9 +20,10 @@ Name | Type | Description | Notes
|
|
|
19
20
|
require 'PulpContainerClient'
|
|
20
21
|
|
|
21
22
|
instance = PulpContainerClient::ContainerContainerDistribution.new(pulp_labels: null,
|
|
23
|
+
content_guard: null,
|
|
22
24
|
repository: null,
|
|
23
25
|
name: null,
|
|
24
|
-
|
|
26
|
+
hidden: null,
|
|
25
27
|
base_path: null,
|
|
26
28
|
repository_version: null,
|
|
27
29
|
private: null,
|
|
@@ -4,12 +4,13 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
|
8
7
|
**pulp_labels** | **Hash<String, String>** | | [optional]
|
|
9
|
-
**
|
|
8
|
+
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
|
10
9
|
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
|
11
10
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
|
12
|
-
**
|
|
11
|
+
**hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
|
|
12
|
+
**pulp_href** | **String** | | [optional] [readonly]
|
|
13
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
|
13
14
|
**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\") |
|
|
14
15
|
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
|
15
16
|
**registry_path** | **String** | The Registry hostname/name/ to use with docker pull command defined by this distribution. | [optional] [readonly]
|
|
@@ -22,12 +23,13 @@ Name | Type | Description | Notes
|
|
|
22
23
|
```ruby
|
|
23
24
|
require 'PulpContainerClient'
|
|
24
25
|
|
|
25
|
-
instance = PulpContainerClient::ContainerContainerDistributionResponse.new(
|
|
26
|
-
|
|
27
|
-
pulp_href: null,
|
|
26
|
+
instance = PulpContainerClient::ContainerContainerDistributionResponse.new(pulp_labels: null,
|
|
27
|
+
content_guard: null,
|
|
28
28
|
repository: null,
|
|
29
29
|
name: null,
|
|
30
|
-
|
|
30
|
+
hidden: null,
|
|
31
|
+
pulp_href: null,
|
|
32
|
+
pulp_created: null,
|
|
31
33
|
base_path: null,
|
|
32
34
|
repository_version: null,
|
|
33
35
|
registry_path: null,
|
|
@@ -5,10 +5,10 @@
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
7
|
**retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional]
|
|
8
|
-
**description** | **String** | An optional description. | [optional]
|
|
9
|
-
**name** | **String** | A unique name for this repository. |
|
|
10
|
-
**manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
|
|
11
8
|
**pulp_labels** | **Hash<String, String>** | | [optional]
|
|
9
|
+
**manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
|
|
10
|
+
**name** | **String** | A unique name for this repository. |
|
|
11
|
+
**description** | **String** | An optional description. | [optional]
|
|
12
12
|
|
|
13
13
|
## Code Sample
|
|
14
14
|
|
|
@@ -16,10 +16,10 @@ Name | Type | Description | Notes
|
|
|
16
16
|
require 'PulpContainerClient'
|
|
17
17
|
|
|
18
18
|
instance = PulpContainerClient::ContainerContainerPushRepository.new(retain_repo_versions: null,
|
|
19
|
-
|
|
20
|
-
name: null,
|
|
19
|
+
pulp_labels: null,
|
|
21
20
|
manifest_signing_service: null,
|
|
22
|
-
|
|
21
|
+
name: null,
|
|
22
|
+
description: null)
|
|
23
23
|
```
|
|
24
24
|
|
|
25
25
|
|
|
@@ -4,30 +4,30 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional]
|
|
8
|
+
**pulp_labels** | **Hash<String, String>** | | [optional]
|
|
9
|
+
**manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
|
|
10
|
+
**name** | **String** | A unique name for this repository. |
|
|
7
11
|
**versions_href** | **String** | | [optional] [readonly]
|
|
8
|
-
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
|
9
|
-
**pulp_href** | **String** | | [optional] [readonly]
|
|
10
12
|
**latest_version_href** | **String** | | [optional] [readonly]
|
|
11
|
-
**
|
|
13
|
+
**pulp_href** | **String** | | [optional] [readonly]
|
|
14
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
|
12
15
|
**description** | **String** | An optional description. | [optional]
|
|
13
|
-
**name** | **String** | A unique name for this repository. |
|
|
14
|
-
**manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
|
|
15
|
-
**pulp_labels** | **Hash<String, String>** | | [optional]
|
|
16
16
|
|
|
17
17
|
## Code Sample
|
|
18
18
|
|
|
19
19
|
```ruby
|
|
20
20
|
require 'PulpContainerClient'
|
|
21
21
|
|
|
22
|
-
instance = PulpContainerClient::ContainerContainerPushRepositoryResponse.new(
|
|
23
|
-
|
|
24
|
-
pulp_href: null,
|
|
25
|
-
latest_version_href: null,
|
|
26
|
-
retain_repo_versions: null,
|
|
27
|
-
description: null,
|
|
28
|
-
name: null,
|
|
22
|
+
instance = PulpContainerClient::ContainerContainerPushRepositoryResponse.new(retain_repo_versions: null,
|
|
23
|
+
pulp_labels: null,
|
|
29
24
|
manifest_signing_service: null,
|
|
30
|
-
|
|
25
|
+
name: null,
|
|
26
|
+
versions_href: null,
|
|
27
|
+
latest_version_href: null,
|
|
28
|
+
pulp_href: null,
|
|
29
|
+
pulp_created: null,
|
|
30
|
+
description: null)
|
|
31
31
|
```
|
|
32
32
|
|
|
33
33
|
|
data/docs/ContentManifestsApi.md
CHANGED
|
@@ -34,7 +34,7 @@ opts = {
|
|
|
34
34
|
digest: 'digest_example', # String | Filter results where digest matches value
|
|
35
35
|
digest__in: ['digest__in_example'], # Array<String> | Filter results where digest is in a comma-separated list of values
|
|
36
36
|
limit: 56, # Integer | Number of results to return per page.
|
|
37
|
-
media_type: ['media_type_example'], # Array<String> | * `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
|
|
37
|
+
media_type: ['media_type_example'], # Array<String> | * `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
|
|
38
38
|
offset: 56, # Integer | The initial index from which to return the results.
|
|
39
39
|
ordering: ['ordering_example'], # Array<String> | 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) * `pk` - Pk * `-pk` - Pk (descending)
|
|
40
40
|
pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
|
|
@@ -63,7 +63,7 @@ Name | Type | Description | Notes
|
|
|
63
63
|
**digest** | **String**| Filter results where digest matches value | [optional]
|
|
64
64
|
**digest__in** | [**Array<String>**](String.md)| Filter results where digest is in a comma-separated list of values | [optional]
|
|
65
65
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
|
66
|
-
**media_type** | [**Array<String>**](String.md)| * `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
|
|
66
|
+
**media_type** | [**Array<String>**](String.md)| * `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 | [optional]
|
|
67
67
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
|
68
68
|
**ordering** | [**Array<String>**](String.md)| 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) * `pk` - Pk * `-pk` - Pk (descending) | [optional]
|
|
69
69
|
**pulp_href__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
data/docs/ContentTagsApi.md
CHANGED
|
@@ -33,7 +33,7 @@ api_instance = PulpContainerClient::ContentTagsApi.new
|
|
|
33
33
|
opts = {
|
|
34
34
|
digest: ['digest_example'], # Array<String> | Multiple values may be separated by commas.
|
|
35
35
|
limit: 56, # Integer | Number of results to return per page.
|
|
36
|
-
media_type: ['media_type_example'], # Array<String> | * `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
|
|
36
|
+
media_type: ['media_type_example'], # Array<String> | * `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
|
|
37
37
|
name: 'name_example', # String | Filter results where name matches value
|
|
38
38
|
name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
|
|
39
39
|
offset: 56, # Integer | The initial index from which to return the results.
|
|
@@ -63,7 +63,7 @@ Name | Type | Description | Notes
|
|
|
63
63
|
------------- | ------------- | ------------- | -------------
|
|
64
64
|
**digest** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
|
65
65
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
|
66
|
-
**media_type** | [**Array<String>**](String.md)| * `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
|
|
66
|
+
**media_type** | [**Array<String>**](String.md)| * `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 | [optional]
|
|
67
67
|
**name** | **String**| Filter results where name matches value | [optional]
|
|
68
68
|
**name__in** | [**Array<String>**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
|
|
69
69
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
|
@@ -211,7 +211,7 @@ opts = {
|
|
|
211
211
|
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
|
212
212
|
namespace__name: 'namespace__name_example', # String |
|
|
213
213
|
offset: 56, # Integer | The initial index from which to return the results.
|
|
214
|
-
ordering: ['ordering_example'], # Array<String> | 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) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `private` - Private * `-private` - Private (descending) * `description` - Description * `-description` - Description (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
214
|
+
ordering: ['ordering_example'], # Array<String> | 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) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `private` - Private * `-private` - Private (descending) * `description` - Description * `-description` - Description (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
215
215
|
pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
|
|
216
216
|
pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
|
|
217
217
|
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
|
@@ -248,7 +248,7 @@ Name | Type | Description | Notes
|
|
|
248
248
|
**name__startswith** | **String**| Filter results where name starts with value | [optional]
|
|
249
249
|
**namespace__name** | **String**| | [optional]
|
|
250
250
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
|
251
|
-
**ordering** | [**Array<String>**](String.md)| 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) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `private` - Private * `-private` - Private (descending) * `description` - Description * `-description` - Description (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional]
|
|
251
|
+
**ordering** | [**Array<String>**](String.md)| 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) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `private` - Private * `-private` - Private (descending) * `description` - Description * `-description` - Description (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional]
|
|
252
252
|
**pulp_href__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
|
253
253
|
**pulp_id__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
|
254
254
|
**pulp_label_select** | **String**| Filter labels by search string | [optional]
|
|
@@ -5,9 +5,10 @@
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
7
|
**pulp_labels** | **Hash<String, String>** | | [optional]
|
|
8
|
+
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
|
8
9
|
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
|
9
10
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional]
|
|
10
|
-
**
|
|
11
|
+
**hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
|
|
11
12
|
**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]
|
|
12
13
|
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
|
13
14
|
**private** | **Boolean** | Restrict pull access to explicitly authorized users. Defaults to unrestricted pull access. | [optional]
|
|
@@ -19,9 +20,10 @@ Name | Type | Description | Notes
|
|
|
19
20
|
require 'PulpContainerClient'
|
|
20
21
|
|
|
21
22
|
instance = PulpContainerClient::PatchedcontainerContainerDistribution.new(pulp_labels: null,
|
|
23
|
+
content_guard: null,
|
|
22
24
|
repository: null,
|
|
23
25
|
name: null,
|
|
24
|
-
|
|
26
|
+
hidden: null,
|
|
25
27
|
base_path: null,
|
|
26
28
|
repository_version: null,
|
|
27
29
|
private: null,
|
|
@@ -5,10 +5,10 @@
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
7
|
**retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional]
|
|
8
|
-
**description** | **String** | An optional description. | [optional]
|
|
9
|
-
**name** | **String** | A unique name for this repository. | [optional]
|
|
10
|
-
**manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
|
|
11
8
|
**pulp_labels** | **Hash<String, String>** | | [optional]
|
|
9
|
+
**manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
|
|
10
|
+
**name** | **String** | A unique name for this repository. | [optional]
|
|
11
|
+
**description** | **String** | An optional description. | [optional]
|
|
12
12
|
|
|
13
13
|
## Code Sample
|
|
14
14
|
|
|
@@ -16,10 +16,10 @@ Name | Type | Description | Notes
|
|
|
16
16
|
require 'PulpContainerClient'
|
|
17
17
|
|
|
18
18
|
instance = PulpContainerClient::PatchedcontainerContainerPushRepository.new(retain_repo_versions: null,
|
|
19
|
-
|
|
20
|
-
name: null,
|
|
19
|
+
pulp_labels: null,
|
|
21
20
|
manifest_signing_service: null,
|
|
22
|
-
|
|
21
|
+
name: null,
|
|
22
|
+
description: null)
|
|
23
23
|
```
|
|
24
24
|
|
|
25
25
|
|
|
@@ -25,7 +25,7 @@ module PulpContainerClient
|
|
|
25
25
|
# @option opts [String] :digest Filter results where digest matches value
|
|
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
|
-
# @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
|
|
28
|
+
# @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
|
|
29
29
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
30
30
|
# @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) * `pk` - Pk * `-pk` - Pk (descending)
|
|
31
31
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
@@ -47,7 +47,7 @@ module PulpContainerClient
|
|
|
47
47
|
# @option opts [String] :digest Filter results where digest matches value
|
|
48
48
|
# @option opts [Array<String>] :digest__in Filter results where digest is in a comma-separated list of values
|
|
49
49
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
50
|
-
# @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
|
|
50
|
+
# @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
|
|
51
51
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
52
52
|
# @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) * `pk` - Pk * `-pk` - Pk (descending)
|
|
53
53
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
@@ -24,7 +24,7 @@ module PulpContainerClient
|
|
|
24
24
|
# @param [Hash] opts the optional parameters
|
|
25
25
|
# @option opts [Array<String>] :digest Multiple values may be separated by commas.
|
|
26
26
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
27
|
-
# @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
|
|
27
|
+
# @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
|
|
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.
|
|
@@ -47,7 +47,7 @@ module PulpContainerClient
|
|
|
47
47
|
# @param [Hash] opts the optional parameters
|
|
48
48
|
# @option opts [Array<String>] :digest Multiple values may be separated by commas.
|
|
49
49
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
50
|
-
# @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
|
|
50
|
+
# @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
|
|
51
51
|
# @option opts [String] :name Filter results where name matches value
|
|
52
52
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
|
53
53
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
@@ -228,7 +228,7 @@ module PulpContainerClient
|
|
|
228
228
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
|
229
229
|
# @option opts [String] :namespace__name
|
|
230
230
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
231
|
-
# @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) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `private` - Private * `-private` - Private (descending) * `description` - Description * `-description` - Description (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
231
|
+
# @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) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `private` - Private * `-private` - Private (descending) * `description` - Description * `-description` - Description (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
232
232
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
233
233
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
234
234
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
@@ -258,7 +258,7 @@ module PulpContainerClient
|
|
|
258
258
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
|
259
259
|
# @option opts [String] :namespace__name
|
|
260
260
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
261
|
-
# @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) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `private` - Private * `-private` - Private (descending) * `description` - Description * `-description` - Description (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
261
|
+
# @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) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `private` - Private * `-private` - Private (descending) * `description` - Description * `-description` - Description (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
262
262
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
263
263
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
264
264
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
@@ -272,7 +272,7 @@ module PulpContainerClient
|
|
|
272
272
|
if @api_client.config.debugging
|
|
273
273
|
@api_client.config.logger.debug 'Calling API: DistributionsContainerApi.list ...'
|
|
274
274
|
end
|
|
275
|
-
allowable_values = ["-base_path", "-description", "-name", "-pk", "-private", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "base_path", "description", "name", "pk", "private", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type"]
|
|
275
|
+
allowable_values = ["-base_path", "-description", "-hidden", "-name", "-pk", "-private", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "base_path", "description", "hidden", "name", "pk", "private", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type"]
|
|
276
276
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
|
277
277
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
|
278
278
|
end
|
|
@@ -17,14 +17,17 @@ module PulpContainerClient
|
|
|
17
17
|
class ContainerContainerDistribution
|
|
18
18
|
attr_accessor :pulp_labels
|
|
19
19
|
|
|
20
|
+
# An optional content-guard. If none is specified, a default one will be used.
|
|
21
|
+
attr_accessor :content_guard
|
|
22
|
+
|
|
20
23
|
# The latest RepositoryVersion for this Repository will be served.
|
|
21
24
|
attr_accessor :repository
|
|
22
25
|
|
|
23
26
|
# A unique name. Ex, `rawhide` and `stable`.
|
|
24
27
|
attr_accessor :name
|
|
25
28
|
|
|
26
|
-
#
|
|
27
|
-
attr_accessor :
|
|
29
|
+
# Whether this distribution should be shown in the content app.
|
|
30
|
+
attr_accessor :hidden
|
|
28
31
|
|
|
29
32
|
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
|
30
33
|
attr_accessor :base_path
|
|
@@ -42,9 +45,10 @@ module PulpContainerClient
|
|
|
42
45
|
def self.attribute_map
|
|
43
46
|
{
|
|
44
47
|
:'pulp_labels' => :'pulp_labels',
|
|
48
|
+
:'content_guard' => :'content_guard',
|
|
45
49
|
:'repository' => :'repository',
|
|
46
50
|
:'name' => :'name',
|
|
47
|
-
:'
|
|
51
|
+
:'hidden' => :'hidden',
|
|
48
52
|
:'base_path' => :'base_path',
|
|
49
53
|
:'repository_version' => :'repository_version',
|
|
50
54
|
:'private' => :'private',
|
|
@@ -56,9 +60,10 @@ module PulpContainerClient
|
|
|
56
60
|
def self.openapi_types
|
|
57
61
|
{
|
|
58
62
|
:'pulp_labels' => :'Hash<String, String>',
|
|
63
|
+
:'content_guard' => :'String',
|
|
59
64
|
:'repository' => :'String',
|
|
60
65
|
:'name' => :'String',
|
|
61
|
-
:'
|
|
66
|
+
:'hidden' => :'Boolean',
|
|
62
67
|
:'base_path' => :'String',
|
|
63
68
|
:'repository_version' => :'String',
|
|
64
69
|
:'private' => :'Boolean',
|
|
@@ -96,6 +101,10 @@ module PulpContainerClient
|
|
|
96
101
|
end
|
|
97
102
|
end
|
|
98
103
|
|
|
104
|
+
if attributes.key?(:'content_guard')
|
|
105
|
+
self.content_guard = attributes[:'content_guard']
|
|
106
|
+
end
|
|
107
|
+
|
|
99
108
|
if attributes.key?(:'repository')
|
|
100
109
|
self.repository = attributes[:'repository']
|
|
101
110
|
end
|
|
@@ -104,8 +113,10 @@ module PulpContainerClient
|
|
|
104
113
|
self.name = attributes[:'name']
|
|
105
114
|
end
|
|
106
115
|
|
|
107
|
-
if attributes.key?(:'
|
|
108
|
-
self.
|
|
116
|
+
if attributes.key?(:'hidden')
|
|
117
|
+
self.hidden = attributes[:'hidden']
|
|
118
|
+
else
|
|
119
|
+
self.hidden = false
|
|
109
120
|
end
|
|
110
121
|
|
|
111
122
|
if attributes.key?(:'base_path')
|
|
@@ -207,9 +218,10 @@ module PulpContainerClient
|
|
|
207
218
|
return true if self.equal?(o)
|
|
208
219
|
self.class == o.class &&
|
|
209
220
|
pulp_labels == o.pulp_labels &&
|
|
221
|
+
content_guard == o.content_guard &&
|
|
210
222
|
repository == o.repository &&
|
|
211
223
|
name == o.name &&
|
|
212
|
-
|
|
224
|
+
hidden == o.hidden &&
|
|
213
225
|
base_path == o.base_path &&
|
|
214
226
|
repository_version == o.repository_version &&
|
|
215
227
|
private == o.private &&
|
|
@@ -225,7 +237,7 @@ module PulpContainerClient
|
|
|
225
237
|
# Calculates hash code according to all attributes.
|
|
226
238
|
# @return [Integer] Hash code
|
|
227
239
|
def hash
|
|
228
|
-
[pulp_labels, repository, name,
|
|
240
|
+
[pulp_labels, content_guard, repository, name, hidden, base_path, repository_version, private, description].hash
|
|
229
241
|
end
|
|
230
242
|
|
|
231
243
|
# Builds the object from hash
|
|
@@ -15,12 +15,10 @@ require 'date'
|
|
|
15
15
|
module PulpContainerClient
|
|
16
16
|
# A serializer for ContainerDistribution.
|
|
17
17
|
class ContainerContainerDistributionResponse
|
|
18
|
-
# Timestamp of creation.
|
|
19
|
-
attr_accessor :pulp_created
|
|
20
|
-
|
|
21
18
|
attr_accessor :pulp_labels
|
|
22
19
|
|
|
23
|
-
|
|
20
|
+
# An optional content-guard. If none is specified, a default one will be used.
|
|
21
|
+
attr_accessor :content_guard
|
|
24
22
|
|
|
25
23
|
# The latest RepositoryVersion for this Repository will be served.
|
|
26
24
|
attr_accessor :repository
|
|
@@ -28,8 +26,13 @@ module PulpContainerClient
|
|
|
28
26
|
# A unique name. Ex, `rawhide` and `stable`.
|
|
29
27
|
attr_accessor :name
|
|
30
28
|
|
|
31
|
-
#
|
|
32
|
-
attr_accessor :
|
|
29
|
+
# Whether this distribution should be shown in the content app.
|
|
30
|
+
attr_accessor :hidden
|
|
31
|
+
|
|
32
|
+
attr_accessor :pulp_href
|
|
33
|
+
|
|
34
|
+
# Timestamp of creation.
|
|
35
|
+
attr_accessor :pulp_created
|
|
33
36
|
|
|
34
37
|
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
|
35
38
|
attr_accessor :base_path
|
|
@@ -52,12 +55,13 @@ module PulpContainerClient
|
|
|
52
55
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
53
56
|
def self.attribute_map
|
|
54
57
|
{
|
|
55
|
-
:'pulp_created' => :'pulp_created',
|
|
56
58
|
:'pulp_labels' => :'pulp_labels',
|
|
57
|
-
:'
|
|
59
|
+
:'content_guard' => :'content_guard',
|
|
58
60
|
:'repository' => :'repository',
|
|
59
61
|
:'name' => :'name',
|
|
60
|
-
:'
|
|
62
|
+
:'hidden' => :'hidden',
|
|
63
|
+
:'pulp_href' => :'pulp_href',
|
|
64
|
+
:'pulp_created' => :'pulp_created',
|
|
61
65
|
:'base_path' => :'base_path',
|
|
62
66
|
:'repository_version' => :'repository_version',
|
|
63
67
|
:'registry_path' => :'registry_path',
|
|
@@ -70,12 +74,13 @@ module PulpContainerClient
|
|
|
70
74
|
# Attribute type mapping.
|
|
71
75
|
def self.openapi_types
|
|
72
76
|
{
|
|
73
|
-
:'pulp_created' => :'DateTime',
|
|
74
77
|
:'pulp_labels' => :'Hash<String, String>',
|
|
75
|
-
:'
|
|
78
|
+
:'content_guard' => :'String',
|
|
76
79
|
:'repository' => :'String',
|
|
77
80
|
:'name' => :'String',
|
|
78
|
-
:'
|
|
81
|
+
:'hidden' => :'Boolean',
|
|
82
|
+
:'pulp_href' => :'String',
|
|
83
|
+
:'pulp_created' => :'DateTime',
|
|
79
84
|
:'base_path' => :'String',
|
|
80
85
|
:'repository_version' => :'String',
|
|
81
86
|
:'registry_path' => :'String',
|
|
@@ -109,18 +114,14 @@ module PulpContainerClient
|
|
|
109
114
|
h[k.to_sym] = v
|
|
110
115
|
}
|
|
111
116
|
|
|
112
|
-
if attributes.key?(:'pulp_created')
|
|
113
|
-
self.pulp_created = attributes[:'pulp_created']
|
|
114
|
-
end
|
|
115
|
-
|
|
116
117
|
if attributes.key?(:'pulp_labels')
|
|
117
118
|
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
118
119
|
self.pulp_labels = value
|
|
119
120
|
end
|
|
120
121
|
end
|
|
121
122
|
|
|
122
|
-
if attributes.key?(:'
|
|
123
|
-
self.
|
|
123
|
+
if attributes.key?(:'content_guard')
|
|
124
|
+
self.content_guard = attributes[:'content_guard']
|
|
124
125
|
end
|
|
125
126
|
|
|
126
127
|
if attributes.key?(:'repository')
|
|
@@ -131,8 +132,18 @@ module PulpContainerClient
|
|
|
131
132
|
self.name = attributes[:'name']
|
|
132
133
|
end
|
|
133
134
|
|
|
134
|
-
if attributes.key?(:'
|
|
135
|
-
self.
|
|
135
|
+
if attributes.key?(:'hidden')
|
|
136
|
+
self.hidden = attributes[:'hidden']
|
|
137
|
+
else
|
|
138
|
+
self.hidden = false
|
|
139
|
+
end
|
|
140
|
+
|
|
141
|
+
if attributes.key?(:'pulp_href')
|
|
142
|
+
self.pulp_href = attributes[:'pulp_href']
|
|
143
|
+
end
|
|
144
|
+
|
|
145
|
+
if attributes.key?(:'pulp_created')
|
|
146
|
+
self.pulp_created = attributes[:'pulp_created']
|
|
136
147
|
end
|
|
137
148
|
|
|
138
149
|
if attributes.key?(:'base_path')
|
|
@@ -188,12 +199,13 @@ module PulpContainerClient
|
|
|
188
199
|
def ==(o)
|
|
189
200
|
return true if self.equal?(o)
|
|
190
201
|
self.class == o.class &&
|
|
191
|
-
pulp_created == o.pulp_created &&
|
|
192
202
|
pulp_labels == o.pulp_labels &&
|
|
193
|
-
|
|
203
|
+
content_guard == o.content_guard &&
|
|
194
204
|
repository == o.repository &&
|
|
195
205
|
name == o.name &&
|
|
196
|
-
|
|
206
|
+
hidden == o.hidden &&
|
|
207
|
+
pulp_href == o.pulp_href &&
|
|
208
|
+
pulp_created == o.pulp_created &&
|
|
197
209
|
base_path == o.base_path &&
|
|
198
210
|
repository_version == o.repository_version &&
|
|
199
211
|
registry_path == o.registry_path &&
|
|
@@ -211,7 +223,7 @@ module PulpContainerClient
|
|
|
211
223
|
# Calculates hash code according to all attributes.
|
|
212
224
|
# @return [Integer] Hash code
|
|
213
225
|
def hash
|
|
214
|
-
[
|
|
226
|
+
[pulp_labels, content_guard, repository, name, hidden, pulp_href, pulp_created, base_path, repository_version, registry_path, namespace, private, description].hash
|
|
215
227
|
end
|
|
216
228
|
|
|
217
229
|
# Builds the object from hash
|