pulp_container_client 2.3.0.dev01611374760 → 2.3.0.dev01611890753
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of pulp_container_client might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/docs/ContainerContainerDistribution.md +7 -5
- data/docs/ContainerContainerDistributionResponse.md +10 -8
- data/docs/ContainerContainerPushRepositoryResponse.md +2 -0
- data/docs/ContainerContainerRemote.md +4 -0
- data/docs/ContainerContainerRemoteResponse.md +4 -0
- data/docs/ContainerContainerRepository.md +3 -1
- data/docs/ContainerContainerRepositoryResponse.md +2 -0
- data/docs/PatchedcontainerContainerDistribution.md +7 -5
- data/docs/PatchedcontainerContainerRemote.md +4 -0
- data/docs/PatchedcontainerContainerRepository.md +3 -1
- data/lib/pulp_container_client/models/container_container_distribution.rb +28 -19
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +41 -32
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +10 -1
- data/lib/pulp_container_client/models/container_container_remote.rb +21 -1
- data/lib/pulp_container_client/models/container_container_remote_response.rb +21 -1
- data/lib/pulp_container_client/models/container_container_repository.rb +10 -1
- data/lib/pulp_container_client/models/container_container_repository_response.rb +10 -1
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +28 -19
- data/lib/pulp_container_client/models/patchedcontainer_container_remote.rb +21 -1
- data/lib/pulp_container_client/models/patchedcontainer_container_repository.rb +10 -1
- data/lib/pulp_container_client/version.rb +1 -1
- data/spec/models/container_container_distribution_response_spec.rb +11 -5
- data/spec/models/container_container_distribution_spec.rb +9 -3
- data/spec/models/container_container_push_repository_response_spec.rb +6 -0
- data/spec/models/container_container_remote_response_spec.rb +12 -0
- data/spec/models/container_container_remote_spec.rb +12 -0
- data/spec/models/container_container_repository_response_spec.rb +6 -0
- data/spec/models/container_container_repository_spec.rb +6 -0
- data/spec/models/patchedcontainer_container_distribution_spec.rb +9 -3
- data/spec/models/patchedcontainer_container_remote_spec.rb +12 -0
- data/spec/models/patchedcontainer_container_repository_spec.rb +6 -0
- metadata +40 -40
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: db0d6429d5712ad785bcd8f4853a6f7dec4ac7054dd3743c2255cfe2459bded8
|
4
|
+
data.tar.gz: 3be89b9d93be57d335cb9eec4ecdf0268f83a6440aa3196ee81603798fbaadeb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 90e9cb4799256980ea3e4b7b11ec67b8d6c31ddad1f9cb88797bc2cc1138df24115b7def5cbaeb4eab37c63214b33203c9ec9b81530e77d471195c82966dadb4
|
7
|
+
data.tar.gz: d2c31feb53300d318c66fd8c03d1fd41471738e97890bc3e3571457b623ca25936492f0f41e1857e0df8f161c6d7a973780aac672725665f6a185be888913971
|
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.3.0.
|
10
|
+
- Package version: 2.3.0.dev01611890753
|
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.3.0.
|
27
|
+
gem install ./pulp_container_client-2.3.0.dev01611890753.gem
|
28
28
|
```
|
29
29
|
|
30
|
-
(for development, run `gem install --dev ./pulp_container_client-2.3.0.
|
30
|
+
(for development, run `gem install --dev ./pulp_container_client-2.3.0.dev01611890753.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.3.0.
|
36
|
+
gem 'pulp_container_client', '~> 2.3.0.dev01611890753'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -4,10 +4,11 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
8
|
-
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
9
7
|
**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\") |
|
8
|
+
**pulp_labels** | [**Object**](.md) | | [optional]
|
9
|
+
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
10
10
|
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
11
|
+
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
11
12
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
12
13
|
|
13
14
|
## Code Sample
|
@@ -15,10 +16,11 @@ Name | Type | Description | Notes
|
|
15
16
|
```ruby
|
16
17
|
require 'PulpContainerClient'
|
17
18
|
|
18
|
-
instance = PulpContainerClient::ContainerContainerDistribution.new(
|
19
|
-
|
20
|
-
|
19
|
+
instance = PulpContainerClient::ContainerContainerDistribution.new(base_path: null,
|
20
|
+
pulp_labels: null,
|
21
|
+
repository: null,
|
21
22
|
repository_version: null,
|
23
|
+
content_guard: null,
|
22
24
|
name: null)
|
23
25
|
```
|
24
26
|
|
@@ -4,12 +4,13 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**pulp_href** | **String** | | [optional] [readonly]
|
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
|
-
**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\") |
|
11
7
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
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\") |
|
9
|
+
**pulp_labels** | [**Object**](.md) | | [optional]
|
10
|
+
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
11
|
+
**pulp_href** | **String** | | [optional] [readonly]
|
12
12
|
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
13
|
+
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
13
14
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
14
15
|
**registry_path** | **String** | The Registry hostame/name/ to use with docker pull command defined by this distribution. | [optional] [readonly]
|
15
16
|
**namespace** | **String** | Namespace this distribution belongs to. | [optional] [readonly]
|
@@ -19,12 +20,13 @@ Name | Type | Description | Notes
|
|
19
20
|
```ruby
|
20
21
|
require 'PulpContainerClient'
|
21
22
|
|
22
|
-
instance = PulpContainerClient::ContainerContainerDistributionResponse.new(
|
23
|
-
repository: null,
|
24
|
-
content_guard: null,
|
23
|
+
instance = PulpContainerClient::ContainerContainerDistributionResponse.new(pulp_created: null,
|
25
24
|
base_path: null,
|
26
|
-
|
25
|
+
pulp_labels: null,
|
26
|
+
repository: null,
|
27
|
+
pulp_href: null,
|
27
28
|
repository_version: null,
|
29
|
+
content_guard: null,
|
28
30
|
name: null,
|
29
31
|
registry_path: null,
|
30
32
|
namespace: null)
|
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
|
|
7
7
|
**pulp_href** | **String** | | [optional] [readonly]
|
8
8
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
9
9
|
**versions_href** | **String** | | [optional] [readonly]
|
10
|
+
**pulp_labels** | [**Object**](.md) | | [optional]
|
10
11
|
**latest_version_href** | **String** | | [optional] [readonly]
|
11
12
|
**name** | **String** | A unique name for this repository. |
|
12
13
|
**description** | **String** | An optional description. | [optional]
|
@@ -20,6 +21,7 @@ require 'PulpContainerClient'
|
|
20
21
|
instance = PulpContainerClient::ContainerContainerPushRepositoryResponse.new(pulp_href: null,
|
21
22
|
pulp_created: null,
|
22
23
|
versions_href: null,
|
24
|
+
pulp_labels: null,
|
23
25
|
latest_version_href: null,
|
24
26
|
name: null,
|
25
27
|
description: null,
|
@@ -13,12 +13,14 @@ Name | Type | Description | Notes
|
|
13
13
|
**proxy_url** | **String** | The proxy URL. Format: scheme://user:password@host:port | [optional]
|
14
14
|
**username** | **String** | The username to be used for authentication when syncing. | [optional]
|
15
15
|
**password** | **String** | The password to be used for authentication when syncing. | [optional]
|
16
|
+
**pulp_labels** | [**Object**](.md) | | [optional]
|
16
17
|
**download_concurrency** | **Integer** | Total number of simultaneous connections. | [optional]
|
17
18
|
**policy** | [**PolicyEnum**](PolicyEnum.md) | immediate - All manifests and blobs are downloaded and saved during a sync. on_demand - Only tags and manifests are downloaded. Blobs are not downloaded until they are requested for the first time by a client. streamed - Blobs are streamed to the client with every request and never saved. | [optional]
|
18
19
|
**total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. | [optional]
|
19
20
|
**connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. | [optional]
|
20
21
|
**sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. | [optional]
|
21
22
|
**sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. | [optional]
|
23
|
+
**rate_limit** | **Integer** | Limits total download rate in requests per second | [optional]
|
22
24
|
**upstream_name** | **String** | Name of the upstream repository |
|
23
25
|
**include_tags** | **Array<String>** | A list of tags to include during sync. Wildcards *, ? are recognized. 'include_tags' is evaluated before 'exclude_tags'. | [optional]
|
24
26
|
**exclude_tags** | **Array<String>** | A list of tags to exclude during sync. Wildcards *, ? are recognized. 'exclude_tags' is evaluated after 'include_tags'. | [optional]
|
@@ -37,12 +39,14 @@ instance = PulpContainerClient::ContainerContainerRemote.new(name: null,
|
|
37
39
|
proxy_url: null,
|
38
40
|
username: null,
|
39
41
|
password: null,
|
42
|
+
pulp_labels: null,
|
40
43
|
download_concurrency: null,
|
41
44
|
policy: null,
|
42
45
|
total_timeout: null,
|
43
46
|
connect_timeout: null,
|
44
47
|
sock_connect_timeout: null,
|
45
48
|
sock_read_timeout: null,
|
49
|
+
rate_limit: null,
|
46
50
|
upstream_name: null,
|
47
51
|
include_tags: null,
|
48
52
|
exclude_tags: null)
|
@@ -15,6 +15,7 @@ Name | Type | Description | Notes
|
|
15
15
|
**proxy_url** | **String** | The proxy URL. Format: scheme://user:password@host:port | [optional]
|
16
16
|
**username** | **String** | The username to be used for authentication when syncing. | [optional]
|
17
17
|
**password** | **String** | The password to be used for authentication when syncing. | [optional]
|
18
|
+
**pulp_labels** | [**Object**](.md) | | [optional]
|
18
19
|
**pulp_last_updated** | **DateTime** | Timestamp of the most recent update of the remote. | [optional] [readonly]
|
19
20
|
**download_concurrency** | **Integer** | Total number of simultaneous connections. | [optional]
|
20
21
|
**policy** | [**PolicyEnum**](PolicyEnum.md) | immediate - All manifests and blobs are downloaded and saved during a sync. on_demand - Only tags and manifests are downloaded. Blobs are not downloaded until they are requested for the first time by a client. streamed - Blobs are streamed to the client with every request and never saved. | [optional]
|
@@ -22,6 +23,7 @@ Name | Type | Description | Notes
|
|
22
23
|
**connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. | [optional]
|
23
24
|
**sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. | [optional]
|
24
25
|
**sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. | [optional]
|
26
|
+
**rate_limit** | **Integer** | Limits total download rate in requests per second | [optional]
|
25
27
|
**upstream_name** | **String** | Name of the upstream repository |
|
26
28
|
**include_tags** | **Array<String>** | A list of tags to include during sync. Wildcards *, ? are recognized. 'include_tags' is evaluated before 'exclude_tags'. | [optional]
|
27
29
|
**exclude_tags** | **Array<String>** | A list of tags to exclude during sync. Wildcards *, ? are recognized. 'exclude_tags' is evaluated after 'include_tags'. | [optional]
|
@@ -42,6 +44,7 @@ instance = PulpContainerClient::ContainerContainerRemoteResponse.new(pulp_href:
|
|
42
44
|
proxy_url: null,
|
43
45
|
username: null,
|
44
46
|
password: null,
|
47
|
+
pulp_labels: null,
|
45
48
|
pulp_last_updated: null,
|
46
49
|
download_concurrency: null,
|
47
50
|
policy: null,
|
@@ -49,6 +52,7 @@ instance = PulpContainerClient::ContainerContainerRemoteResponse.new(pulp_href:
|
|
49
52
|
connect_timeout: null,
|
50
53
|
sock_connect_timeout: null,
|
51
54
|
sock_read_timeout: null,
|
55
|
+
rate_limit: null,
|
52
56
|
upstream_name: null,
|
53
57
|
include_tags: null,
|
54
58
|
exclude_tags: null)
|
@@ -4,6 +4,7 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
+
**pulp_labels** | [**Object**](.md) | | [optional]
|
7
8
|
**name** | **String** | A unique name for this repository. |
|
8
9
|
**description** | **String** | An optional description. | [optional]
|
9
10
|
**remote** | **String** | | [optional]
|
@@ -13,7 +14,8 @@ Name | Type | Description | Notes
|
|
13
14
|
```ruby
|
14
15
|
require 'PulpContainerClient'
|
15
16
|
|
16
|
-
instance = PulpContainerClient::ContainerContainerRepository.new(
|
17
|
+
instance = PulpContainerClient::ContainerContainerRepository.new(pulp_labels: null,
|
18
|
+
name: null,
|
17
19
|
description: null,
|
18
20
|
remote: null)
|
19
21
|
```
|
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
|
|
7
7
|
**pulp_href** | **String** | | [optional] [readonly]
|
8
8
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
9
9
|
**versions_href** | **String** | | [optional] [readonly]
|
10
|
+
**pulp_labels** | [**Object**](.md) | | [optional]
|
10
11
|
**latest_version_href** | **String** | | [optional] [readonly]
|
11
12
|
**name** | **String** | A unique name for this repository. |
|
12
13
|
**description** | **String** | An optional description. | [optional]
|
@@ -20,6 +21,7 @@ require 'PulpContainerClient'
|
|
20
21
|
instance = PulpContainerClient::ContainerContainerRepositoryResponse.new(pulp_href: null,
|
21
22
|
pulp_created: null,
|
22
23
|
versions_href: null,
|
24
|
+
pulp_labels: null,
|
23
25
|
latest_version_href: null,
|
24
26
|
name: null,
|
25
27
|
description: null,
|
@@ -4,10 +4,11 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
8
|
-
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
9
7
|
**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]
|
8
|
+
**pulp_labels** | [**Object**](.md) | | [optional]
|
9
|
+
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
10
10
|
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
11
|
+
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
11
12
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional]
|
12
13
|
|
13
14
|
## Code Sample
|
@@ -15,10 +16,11 @@ Name | Type | Description | Notes
|
|
15
16
|
```ruby
|
16
17
|
require 'PulpContainerClient'
|
17
18
|
|
18
|
-
instance = PulpContainerClient::PatchedcontainerContainerDistribution.new(
|
19
|
-
|
20
|
-
|
19
|
+
instance = PulpContainerClient::PatchedcontainerContainerDistribution.new(base_path: null,
|
20
|
+
pulp_labels: null,
|
21
|
+
repository: null,
|
21
22
|
repository_version: null,
|
23
|
+
content_guard: null,
|
22
24
|
name: null)
|
23
25
|
```
|
24
26
|
|
@@ -13,12 +13,14 @@ Name | Type | Description | Notes
|
|
13
13
|
**proxy_url** | **String** | The proxy URL. Format: scheme://user:password@host:port | [optional]
|
14
14
|
**username** | **String** | The username to be used for authentication when syncing. | [optional]
|
15
15
|
**password** | **String** | The password to be used for authentication when syncing. | [optional]
|
16
|
+
**pulp_labels** | [**Object**](.md) | | [optional]
|
16
17
|
**download_concurrency** | **Integer** | Total number of simultaneous connections. | [optional]
|
17
18
|
**policy** | [**PolicyEnum**](PolicyEnum.md) | immediate - All manifests and blobs are downloaded and saved during a sync. on_demand - Only tags and manifests are downloaded. Blobs are not downloaded until they are requested for the first time by a client. streamed - Blobs are streamed to the client with every request and never saved. | [optional]
|
18
19
|
**total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. | [optional]
|
19
20
|
**connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. | [optional]
|
20
21
|
**sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. | [optional]
|
21
22
|
**sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. | [optional]
|
23
|
+
**rate_limit** | **Integer** | Limits total download rate in requests per second | [optional]
|
22
24
|
**upstream_name** | **String** | Name of the upstream repository | [optional]
|
23
25
|
**include_tags** | **Array<String>** | A list of tags to include during sync. Wildcards *, ? are recognized. 'include_tags' is evaluated before 'exclude_tags'. | [optional]
|
24
26
|
**exclude_tags** | **Array<String>** | A list of tags to exclude during sync. Wildcards *, ? are recognized. 'exclude_tags' is evaluated after 'include_tags'. | [optional]
|
@@ -37,12 +39,14 @@ instance = PulpContainerClient::PatchedcontainerContainerRemote.new(name: null,
|
|
37
39
|
proxy_url: null,
|
38
40
|
username: null,
|
39
41
|
password: null,
|
42
|
+
pulp_labels: null,
|
40
43
|
download_concurrency: null,
|
41
44
|
policy: null,
|
42
45
|
total_timeout: null,
|
43
46
|
connect_timeout: null,
|
44
47
|
sock_connect_timeout: null,
|
45
48
|
sock_read_timeout: null,
|
49
|
+
rate_limit: null,
|
46
50
|
upstream_name: null,
|
47
51
|
include_tags: null,
|
48
52
|
exclude_tags: null)
|
@@ -4,6 +4,7 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
+
**pulp_labels** | [**Object**](.md) | | [optional]
|
7
8
|
**name** | **String** | A unique name for this repository. | [optional]
|
8
9
|
**description** | **String** | An optional description. | [optional]
|
9
10
|
**remote** | **String** | | [optional]
|
@@ -13,7 +14,8 @@ Name | Type | Description | Notes
|
|
13
14
|
```ruby
|
14
15
|
require 'PulpContainerClient'
|
15
16
|
|
16
|
-
instance = PulpContainerClient::PatchedcontainerContainerRepository.new(
|
17
|
+
instance = PulpContainerClient::PatchedcontainerContainerRepository.new(pulp_labels: null,
|
18
|
+
name: null,
|
17
19
|
description: null,
|
18
20
|
remote: null)
|
19
21
|
```
|
@@ -15,28 +15,31 @@ require 'date'
|
|
15
15
|
module PulpContainerClient
|
16
16
|
# A serializer for ContainerDistribution.
|
17
17
|
class ContainerContainerDistribution
|
18
|
-
# The latest RepositoryVersion for this Repository will be served.
|
19
|
-
attr_accessor :repository
|
20
|
-
|
21
|
-
# An optional content-guard. If none is specified, a default one will be used.
|
22
|
-
attr_accessor :content_guard
|
23
|
-
|
24
18
|
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
25
19
|
attr_accessor :base_path
|
26
20
|
|
21
|
+
attr_accessor :pulp_labels
|
22
|
+
|
23
|
+
# The latest RepositoryVersion for this Repository will be served.
|
24
|
+
attr_accessor :repository
|
25
|
+
|
27
26
|
# RepositoryVersion to be served
|
28
27
|
attr_accessor :repository_version
|
29
28
|
|
29
|
+
# An optional content-guard. If none is specified, a default one will be used.
|
30
|
+
attr_accessor :content_guard
|
31
|
+
|
30
32
|
# A unique name. Ex, `rawhide` and `stable`.
|
31
33
|
attr_accessor :name
|
32
34
|
|
33
35
|
# Attribute mapping from ruby-style variable name to JSON key.
|
34
36
|
def self.attribute_map
|
35
37
|
{
|
36
|
-
:'repository' => :'repository',
|
37
|
-
:'content_guard' => :'content_guard',
|
38
38
|
:'base_path' => :'base_path',
|
39
|
+
:'pulp_labels' => :'pulp_labels',
|
40
|
+
:'repository' => :'repository',
|
39
41
|
:'repository_version' => :'repository_version',
|
42
|
+
:'content_guard' => :'content_guard',
|
40
43
|
:'name' => :'name'
|
41
44
|
}
|
42
45
|
end
|
@@ -44,10 +47,11 @@ module PulpContainerClient
|
|
44
47
|
# Attribute type mapping.
|
45
48
|
def self.openapi_types
|
46
49
|
{
|
47
|
-
:'repository' => :'String',
|
48
|
-
:'content_guard' => :'String',
|
49
50
|
:'base_path' => :'String',
|
51
|
+
:'pulp_labels' => :'Object',
|
52
|
+
:'repository' => :'String',
|
50
53
|
:'repository_version' => :'String',
|
54
|
+
:'content_guard' => :'String',
|
51
55
|
:'name' => :'String'
|
52
56
|
}
|
53
57
|
end
|
@@ -75,22 +79,26 @@ module PulpContainerClient
|
|
75
79
|
h[k.to_sym] = v
|
76
80
|
}
|
77
81
|
|
78
|
-
if attributes.key?(:'
|
79
|
-
self.
|
82
|
+
if attributes.key?(:'base_path')
|
83
|
+
self.base_path = attributes[:'base_path']
|
80
84
|
end
|
81
85
|
|
82
|
-
if attributes.key?(:'
|
83
|
-
self.
|
86
|
+
if attributes.key?(:'pulp_labels')
|
87
|
+
self.pulp_labels = attributes[:'pulp_labels']
|
84
88
|
end
|
85
89
|
|
86
|
-
if attributes.key?(:'
|
87
|
-
self.
|
90
|
+
if attributes.key?(:'repository')
|
91
|
+
self.repository = attributes[:'repository']
|
88
92
|
end
|
89
93
|
|
90
94
|
if attributes.key?(:'repository_version')
|
91
95
|
self.repository_version = attributes[:'repository_version']
|
92
96
|
end
|
93
97
|
|
98
|
+
if attributes.key?(:'content_guard')
|
99
|
+
self.content_guard = attributes[:'content_guard']
|
100
|
+
end
|
101
|
+
|
94
102
|
if attributes.key?(:'name')
|
95
103
|
self.name = attributes[:'name']
|
96
104
|
end
|
@@ -124,10 +132,11 @@ module PulpContainerClient
|
|
124
132
|
def ==(o)
|
125
133
|
return true if self.equal?(o)
|
126
134
|
self.class == o.class &&
|
127
|
-
repository == o.repository &&
|
128
|
-
content_guard == o.content_guard &&
|
129
135
|
base_path == o.base_path &&
|
136
|
+
pulp_labels == o.pulp_labels &&
|
137
|
+
repository == o.repository &&
|
130
138
|
repository_version == o.repository_version &&
|
139
|
+
content_guard == o.content_guard &&
|
131
140
|
name == o.name
|
132
141
|
end
|
133
142
|
|
@@ -140,7 +149,7 @@ module PulpContainerClient
|
|
140
149
|
# Calculates hash code according to all attributes.
|
141
150
|
# @return [Integer] Hash code
|
142
151
|
def hash
|
143
|
-
[
|
152
|
+
[base_path, pulp_labels, repository, repository_version, content_guard, name].hash
|
144
153
|
end
|
145
154
|
|
146
155
|
# Builds the object from hash
|
@@ -15,23 +15,25 @@ require 'date'
|
|
15
15
|
module PulpContainerClient
|
16
16
|
# A serializer for ContainerDistribution.
|
17
17
|
class ContainerContainerDistributionResponse
|
18
|
-
|
19
|
-
|
20
|
-
# The latest RepositoryVersion for this Repository will be served.
|
21
|
-
attr_accessor :repository
|
22
|
-
|
23
|
-
# An optional content-guard. If none is specified, a default one will be used.
|
24
|
-
attr_accessor :content_guard
|
18
|
+
# Timestamp of creation.
|
19
|
+
attr_accessor :pulp_created
|
25
20
|
|
26
21
|
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
27
22
|
attr_accessor :base_path
|
28
23
|
|
29
|
-
|
30
|
-
|
24
|
+
attr_accessor :pulp_labels
|
25
|
+
|
26
|
+
# The latest RepositoryVersion for this Repository will be served.
|
27
|
+
attr_accessor :repository
|
28
|
+
|
29
|
+
attr_accessor :pulp_href
|
31
30
|
|
32
31
|
# RepositoryVersion to be served
|
33
32
|
attr_accessor :repository_version
|
34
33
|
|
34
|
+
# An optional content-guard. If none is specified, a default one will be used.
|
35
|
+
attr_accessor :content_guard
|
36
|
+
|
35
37
|
# A unique name. Ex, `rawhide` and `stable`.
|
36
38
|
attr_accessor :name
|
37
39
|
|
@@ -44,12 +46,13 @@ module PulpContainerClient
|
|
44
46
|
# Attribute mapping from ruby-style variable name to JSON key.
|
45
47
|
def self.attribute_map
|
46
48
|
{
|
47
|
-
:'pulp_href' => :'pulp_href',
|
48
|
-
:'repository' => :'repository',
|
49
|
-
:'content_guard' => :'content_guard',
|
50
|
-
:'base_path' => :'base_path',
|
51
49
|
:'pulp_created' => :'pulp_created',
|
50
|
+
:'base_path' => :'base_path',
|
51
|
+
:'pulp_labels' => :'pulp_labels',
|
52
|
+
:'repository' => :'repository',
|
53
|
+
:'pulp_href' => :'pulp_href',
|
52
54
|
:'repository_version' => :'repository_version',
|
55
|
+
:'content_guard' => :'content_guard',
|
53
56
|
:'name' => :'name',
|
54
57
|
:'registry_path' => :'registry_path',
|
55
58
|
:'namespace' => :'namespace'
|
@@ -59,12 +62,13 @@ module PulpContainerClient
|
|
59
62
|
# Attribute type mapping.
|
60
63
|
def self.openapi_types
|
61
64
|
{
|
62
|
-
:'pulp_href' => :'String',
|
63
|
-
:'repository' => :'String',
|
64
|
-
:'content_guard' => :'String',
|
65
|
-
:'base_path' => :'String',
|
66
65
|
:'pulp_created' => :'DateTime',
|
66
|
+
:'base_path' => :'String',
|
67
|
+
:'pulp_labels' => :'Object',
|
68
|
+
:'repository' => :'String',
|
69
|
+
:'pulp_href' => :'String',
|
67
70
|
:'repository_version' => :'String',
|
71
|
+
:'content_guard' => :'String',
|
68
72
|
:'name' => :'String',
|
69
73
|
:'registry_path' => :'String',
|
70
74
|
:'namespace' => :'String'
|
@@ -94,30 +98,34 @@ module PulpContainerClient
|
|
94
98
|
h[k.to_sym] = v
|
95
99
|
}
|
96
100
|
|
97
|
-
if attributes.key?(:'
|
98
|
-
self.
|
101
|
+
if attributes.key?(:'pulp_created')
|
102
|
+
self.pulp_created = attributes[:'pulp_created']
|
99
103
|
end
|
100
104
|
|
101
|
-
if attributes.key?(:'
|
102
|
-
self.
|
105
|
+
if attributes.key?(:'base_path')
|
106
|
+
self.base_path = attributes[:'base_path']
|
103
107
|
end
|
104
108
|
|
105
|
-
if attributes.key?(:'
|
106
|
-
self.
|
109
|
+
if attributes.key?(:'pulp_labels')
|
110
|
+
self.pulp_labels = attributes[:'pulp_labels']
|
107
111
|
end
|
108
112
|
|
109
|
-
if attributes.key?(:'
|
110
|
-
self.
|
113
|
+
if attributes.key?(:'repository')
|
114
|
+
self.repository = attributes[:'repository']
|
111
115
|
end
|
112
116
|
|
113
|
-
if attributes.key?(:'
|
114
|
-
self.
|
117
|
+
if attributes.key?(:'pulp_href')
|
118
|
+
self.pulp_href = attributes[:'pulp_href']
|
115
119
|
end
|
116
120
|
|
117
121
|
if attributes.key?(:'repository_version')
|
118
122
|
self.repository_version = attributes[:'repository_version']
|
119
123
|
end
|
120
124
|
|
125
|
+
if attributes.key?(:'content_guard')
|
126
|
+
self.content_guard = attributes[:'content_guard']
|
127
|
+
end
|
128
|
+
|
121
129
|
if attributes.key?(:'name')
|
122
130
|
self.name = attributes[:'name']
|
123
131
|
end
|
@@ -159,12 +167,13 @@ module PulpContainerClient
|
|
159
167
|
def ==(o)
|
160
168
|
return true if self.equal?(o)
|
161
169
|
self.class == o.class &&
|
162
|
-
pulp_href == o.pulp_href &&
|
163
|
-
repository == o.repository &&
|
164
|
-
content_guard == o.content_guard &&
|
165
|
-
base_path == o.base_path &&
|
166
170
|
pulp_created == o.pulp_created &&
|
171
|
+
base_path == o.base_path &&
|
172
|
+
pulp_labels == o.pulp_labels &&
|
173
|
+
repository == o.repository &&
|
174
|
+
pulp_href == o.pulp_href &&
|
167
175
|
repository_version == o.repository_version &&
|
176
|
+
content_guard == o.content_guard &&
|
168
177
|
name == o.name &&
|
169
178
|
registry_path == o.registry_path &&
|
170
179
|
namespace == o.namespace
|
@@ -179,7 +188,7 @@ module PulpContainerClient
|
|
179
188
|
# Calculates hash code according to all attributes.
|
180
189
|
# @return [Integer] Hash code
|
181
190
|
def hash
|
182
|
-
[
|
191
|
+
[pulp_created, base_path, pulp_labels, repository, pulp_href, repository_version, content_guard, name, registry_path, namespace].hash
|
183
192
|
end
|
184
193
|
|
185
194
|
# Builds the object from hash
|